;Register definition for Cortex-A15 ;================================== ; ; name: user defined name of the register ; type: the type of the register ; GPR general purpose register ; CPx CPx register ; MM memory mapped register ; DMMx direct memory mapped register with offset ; x = 1..4 ; the base is defined in the configuration file ; e.g. DMM1 0x02200000 ; addr: the number, adddress or offset of the register ; size the size of the register (8,16 or 32) ; ; ; CPx 32-bit Register Numbers: ; ; +-----+-+-------+-----+-+-------+ ; |opc_2|0| CRm |opc_1|0| nbr | ; +-----+-+-------+-----+-+-------+ ; ; CPx 64-bit Register Numbers: ; ; +-------+-------+-------+-------+ ; | - | - | opc1 | CRm | ; +-------+-------+-------+-------+ ; ; The 16bit register number is used to build the appropriate MCR/MRC, MCRR/MRRC instruction. ; ; ;name type addr size ;------------------------------------------- ; ; 64-bit wide CP15 registers ; -------------------------- ttbr0_64 CP15 0x0002 64 ;Translation Table Base 0 ttbr1_64 CP15 0x0012 64 ;Translation Table Base 1 par_64 CP15 0x0007 64 ;Physical Address ; ; 32-bit wide CP15 registers ; -------------------------- ; CP15 c0 Registers midr CP15 0x0000 32 ;Main ID ctr CP15 0x2000 32 ;Cache type tcmtr CP15 0x4000 32 ;TCM type tlbtr CP15 0x6000 32 ;TLB type mpidr CP15 0xa000 32 ;Multiprocessor Affinity revidr CP15 0xc000 32 ;Revision ID ; id_pfr0 CP15 0x0100 32 ;Processor Feature 0 id_pfr1 CP15 0x2100 32 ;Processor Feature 1 id_dfr0 CP15 0x4100 32 ;Debug Feature 0 id_afr0 CP15 0x6100 32 ;Auxiliary Feature 0 id_mmfr0 CP15 0x8100 32 ;Memory Model Feature 0 id_mmfr1 CP15 0xa100 32 ;Memory Model Feature 1 id_mmfr2 CP15 0xc100 32 ;Memory Model Feature 2 id_mmfr3 CP15 0xe100 32 ;Memory Model Feature 3 ; id_isar0 CP15 0x0200 32 ;Instruction Set Attribute 0 id_isar1 CP15 0x2200 32 ;Instruction Set Attribute 1 id_isar2 CP15 0x4200 32 ;Instruction Set Attribute 2 id_isar3 CP15 0x6200 32 ;Instruction Set Attribute 3 id_isar4 CP15 0x8200 32 ;Instruction Set Attribute 4 id_isar5 CP15 0xa200 32 ;Instruction Set Attribute 5 ; ccsidr CP15 0x0010 32 ;Cache Size ID clidr CP15 0x2010 32 ;Cache Level ID aidr CP15 0xe010 32 ;Auxiliary ID csselr CP15 0x0040 32 ;Cache Size Selection ;vpidr CP15 0x0080 32 ;Virtualization Processor ID ;vmpidr CP15 0xa080 32 ;Virtualization Multiprocessor ID ; ; CP15 c1 Registers sctlr CP15 0x0001 32 ;System Control actlr CP15 0x2001 32 ;Auxiliary Control cpacr CP15 0x4001 32 ;Coprocessor Access Control ; ;scr CP15 0x0101 32 ;Secure Configuration ;sder CP15 0x2101 32 ;Secure Debug Enable nsacr CP15 0x4101 32 ;Nonsecure Access Control ; ;hsctlr CP15 0x0081 32 ;Hyp System Control ;hactlr CP15 0x2081 32 ;Hyp Auxiliary Control ; ;hcr CP15 0x0181 32 ;Hyp Configuration ;hdcr CP15 0x2181 32 ;Hyp Debug Configuration ;hcptr CP15 0x4181 32 ;Hyp Coprocessor Trap ;hstr CP15 0x6181 32 ;Hyp System Trap ;hacr CP15 0xe181 32 ;Hyp Auxiliary Configuration ; ; CP15 c2 Registers ttbr0 CP15 0x0002 32 ;Translation Table Base 0 ttbr1 CP15 0x2002 32 ;Translation Table Base 1 ttbcr CP15 0x4002 32 ;Translation Table Base Control ; ;htcr CP15 0x4082 32 ;Hyp Translation Control ;vtcr CP15 0x4182 32 ;Virtualization Translation Control ; ; CP15 c3 Registers dac CP15 0x0003 32 ;Domain Access Control ; ; CP15 c5 Registers dfsr CP15 0x0005 32 ;Data Fault Status ifsr CP15 0x2005 32 ;Inst Fault Status adfsr CP15 0x0105 32 ;Data Auxiliary Fault Status aifsr CP15 0x2105 32 ;Inst Auxiliary Fault Status ; ;hadfsr CP15 0x0185 32 ;Hyp Auxiliary Data Fault Syndrome ;haifsr CP15 0x2185 32 ;Hyp Auxiliary Instruction Fault Syndrome ;hadfsr CP15 0x0285 32 ;Hyp Syndrome ; ; CP15 c6 Registers dfar CP15 0x0006 32 ;Data Fault Address ifar CP15 0x4006 32 ;Inst Fault Address ; ;hdfar CP15 0x0086 32 ;Hyp Data Fault Address ;hifar CP15 0x4086 32 ;Hyp Instruction Fault Address ;hpfar CP15 0x8086 32 ;Hyp IPA Fault Address ; ; CP15 c12 Registers vbar CP15 0x000c 32 ;Vector Base Address ;mvbar CP15 0x200c 32 ;Monitor Vector Base Address isr CP15 0x010c 32 ;Interrupt Status ;hvbar CP15 0x008c 32 ;Hyp Vector Base Address ; ; CP15 c13 Registers fcseidr CP15 0x000d 32 ;FCSE Process ID contextidr CP15 0x200d 32 ;Context ID tpidrurw CP15 0x400d 32 ;User Read/Write Thread ID tpidruro CP15 0x600d 32 ;User Read-Only Thread ID tpidrprw CP15 0x800d 32 ;PL1 only Thread ID ;htpidr CP15 0x408d 32 ;Hyp Software Thread ID ;