Lines Matching +full:supervisor +full:- +full:mode

1 /* SPDX-License-Identifier: GPL-2.0-only */
13 #define SR_SIE _AC(0x00000002, UL) /* Supervisor Interrupt Enable */
15 #define SR_SPIE _AC(0x00000020, UL) /* Previous Supervisor IE */
17 #define SR_SPP _AC(0x00000100, UL) /* Previously Supervisor */
19 #define SR_SUM _AC(0x00040000, UL) /* Supervisor User Memory Access */
21 #define SR_FS _AC(0x00006000, UL) /* Floating-point Status */
45 #define SR_FS_VS (SR_FS | SR_VS) /* Vector and Floating-Point Unit */
54 #define SR_UXL _AC(0x300000000, UL) /* XLEN mask for U-mode */
55 #define SR_UXL_32 _AC(0x100000000, UL) /* XLEN = 32 for U-mode */
56 #define SR_UXL_64 _AC(0x200000000, UL) /* XLEN = 64 for U-mode */
78 /* Exception cause high bit - is an interrupt if set */
79 #define CAUSE_IRQ_FLAG (_AC(1, UL) << (__riscv_xlen - 1))
94 #define IRQ_LOCAL_MASK GENMASK((IRQ_LOCAL_MAX - 1), 0)
178 #define VSIP_TO_HVIP_SHIFT (IRQ_VS_SOFT - IRQ_S_SOFT)
333 /* Supervisor-Level Window to Indirectly Accessed Registers (AIA) */
337 /* Supervisor-Level Interrupts (AIA) */
341 /* Supervisor-Level High-Half CSRs (AIA) */
374 /* Virtual Interrupts and Interrupt Priorities (H-extension with AIA) */
380 /* VS-Level Window to Indirectly Accessed Registers (H-extension with AIA) */
384 /* VS-Level Interrupts (H-extension with AIA) */
388 /* Hypervisor and VS-Level High-Half CSRs (H-extension with AIA) */
422 /* Machine-Level Window to Indirectly Accessed Registers (AIA) */
426 /* Machine-Level Interrupts (AIA) */
430 /* Virtual Interrupts for Supervisor Level (AIA) */
434 /* Machine-Level High-Half CSRs (AIA) */
447 /* Scalar Crypto Extension - Entropy */
511 /* IE/IP (Supervisor/Machine Interrupt Enable/Pending) flags */