diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2016-07-01 00:05:33 +0200 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2016-07-04 15:55:56 +0200 |
commit | 19a9090164ef1e1b5e321d822a9213a2a6867f17 (patch) | |
tree | 2e7d4ddff804c412f7e3f8090e7d5d019beb1dc3 /cpukit/score/cpu | |
parent | bsp/atsam: Add RTC driver (diff) | |
download | rtems-19a9090164ef1e1b5e321d822a9213a2a6867f17.tar.bz2 |
arm/score and shared: define ARM hypervisor mode and alternate vector table base access.
The main reason for inclusion of minimum hypervisor related defines
is that current ARM boards firmware and loaders (U-boot for example)
start loaded operating system kernel in HYP mode to allow it take
control of virtualization (Linux/KVM for example).
Diffstat (limited to 'cpukit/score/cpu')
-rw-r--r-- | cpukit/score/cpu/arm/rtems/score/cpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/score/cpu/arm/rtems/score/cpu.h b/cpukit/score/cpu/arm/rtems/score/cpu.h index 815cd9572c..91e4ec6211 100644 --- a/cpukit/score/cpu/arm/rtems/score/cpu.h +++ b/cpukit/score/cpu/arm/rtems/score/cpu.h @@ -82,6 +82,7 @@ #define ARM_PSR_M_IRQ 0x12 #define ARM_PSR_M_SVC 0x13 #define ARM_PSR_M_ABT 0x17 +#define ARM_PSR_M_HYP 0x1a #define ARM_PSR_M_UND 0x1b #define ARM_PSR_M_SYS 0x1f |