khypervisor  v1
include/a15_cp15_sysregs.h
Go to the documentation of this file.
00001 #ifndef __A15_CP15_SYSREGS_H_
00002 #define __A15_CP15_SYSREGS_H_
00003 
00004 #include "arch_types.h"
00005 
00006 /* 
00007  * Cortex-A15 Implementation Defined Registers
00008  * ACTLR
00009  * L2CTLR
00010  * L3ECTLR
00011  * IL1DATA0
00012  * IL1DATA1
00013  * IL1DATA2
00014  * DL1DATA0
00015  * DL1DATA1
00016  * DL1DATA2
00017  * DL1DATA3
00018  * RAMINDEX
00019  * L2ACTLR
00020  * L2PFR
00021  * CBAR - read_cbar() - Configuration Base Address Register
00022  * CPUMERRSR
00023  * L2MERRSR
00024  */
00025 
00026 #define read_cbar()              ({ uint32_t rval; asm volatile(\
00027                                 " mrc     p15, 4, %0, c15, c0, 0\n\t" \
00028                                 : "=r" (rval) : : "memory", "cc"); rval;})
00029 #endif
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines