Samsung S3C2501X User Manual page 86

32-bit risc microprocessor
Table of Contents

Advertisement

S3C2501X
2.16.1.7 Register 6: Protection region base and size registers
This register is used to define 16 programmable regions (eight instruction, eight data) in memory. These registers
define the base and size of each of the eight areas of memory. Individual control is provided for the instruction
and data memory regions. The values are ignored when the protection unit is disabled.
On reset, only the region enable bit for each region is reset to 0, all other bits are undefined. At least one
instruction and data memory region must be programmed before the protection unit is enabled.
The opcode_2 field defines whether the data or instruction protection regions are to be programmed. The CRm
field selects the region number.
ARM instruction
MCR/MRC p15, 0, Rd, c6, c7, 0
MCR/MRC p15, 0, Rd, c6, c6, 0
MCR/MRC p15, 0, Rd, c6, c5, 0
MCR/MRC p15, 0, Rd, c6, c4, 0
MCR/MRC p15, 0, Rd, c6, c3, 0
MCR/MRC p15, 0, Rd, c6, c2, 0
MCR/MRC p15, 0, Rd, c6, c1, 0
MCR/MRC p15, 0, Rd, c6, c0, 0
ARM instruction
MCR/MRC p15, 0, Rd, c6, c7, 1
MCR/MRC p15, 0, Rd, c6, c6, 1
MCR/MRC p15, 0, Rd, c6, c5, 1
MCR/MRC p15, 0, Rd, c6, c4, 1
MCR/MRC p15, 0, Rd, c6, c3, 1
MCR/MRC p15, 0, Rd, c6, c2, 1
MCR/MRC p15, 0, Rd, c6, c1, 1
MCR/MRC p15, 0, Rd, c6, c0, 1
Table 2-14. CP15 Data Protection Region Registers
Table 2-15. CP15 Instruction Protection Region Registers
Protection region register
Data memory region 7
Data memory region 6
Data memory region 5
Data memory region 4
Data memory region 3
Data memory region 2
Data memory region 1
Data memory region 0
Protection region register
Instruction memory region 7
Instruction memory region 6
Instruction memory region 5
Instruction memory region 4
Instruction memory region 3
Instruction memory region 2
Instruction memory region 1
Instruction memory region 0
PROGRAMMER' ' S MODEL
2-27

Advertisement

Table of Contents
loading

Table of Contents