add el1 transfer at the boot stage in case higher EL is implemented
[lunaix-os.git] / lunaix-os / arch / aarch64 / includes / asm / aa64_spsr.h
index 8b5b46fae92cb6cbb2785470211932204fbbbfa5..04482b2c3d16ff0b8da39aa29dd6eb69b90a02c1 100644 (file)
@@ -5,7 +5,12 @@
 #include <lunaix/bits.h>
 
 #define SPSR_EL          BITFIELD(3, 2)
-#define SPSR_SP          BIT(0)
+
+#define SPSR_SP          BITFLAG(0)
+#define SPSR_I           BITFLAG(7)
+#define SPSR_F           BITFLAG(6)
+#define SPSR_I           BITFLAG(7)
+#define SPSR_AllInt      BITFLAG(13)
 
 static inline bool
 spsr_from_el0(reg_t spsr)