Hi, ARM(v7) has gained two new processor modes: Hyp and Monitor.
The Hyp mode is especially interesting as it is part of the Virtualization Extensions. On boards that support it, the kernel is usually booted in HYP mode. Currently HYP mode is not handled, which means that virtualization-enabled machines do not boot. This diff at least adds defines for Hyp and Monitor mode. Patrick diff --git sys/arch/arm/include/armreg.h sys/arch/arm/include/armreg.h index 1748950..affacf6 100644 --- sys/arch/arm/include/armreg.h +++ sys/arch/arm/include/armreg.h @@ -85,7 +85,9 @@ #define PSR_FIQ32_MODE 0x00000011 #define PSR_IRQ32_MODE 0x00000012 #define PSR_SVC32_MODE 0x00000013 +#define PSR_MON32_MODE 0x00000016 #define PSR_ABT32_MODE 0x00000017 +#define PSR_HYP32_MODE 0x0000001a #define PSR_UND32_MODE 0x0000001b #define PSR_SYS32_MODE 0x0000001f #define PSR_32_MODE 0x00000010