Lines Matching +full:machine +full:- +full:level
1 /* SPDX-License-Identifier: GPL-2.0-only */
13 #define SR_MIE _AC(0x00000008, UL) /* Machine Interrupt Enable */
15 #define SR_MPIE _AC(0x00000080, UL) /* Previous Machine IE */
17 #define SR_MPP _AC(0x00001800, UL) /* Previously Machine */
20 #define SR_FS _AC(0x00006000, UL) /* Floating-point Status */
38 #define SR_FS_VS (SR_FS | SR_VS) /* Vector and Floating-Point Unit */
47 #define SR_UXL _AC(0x300000000, UL) /* XLEN mask for U-mode */
48 #define SR_UXL_32 _AC(0x100000000, UL) /* XLEN = 32 for U-mode */
49 #define SR_UXL_64 _AC(0x200000000, UL) /* XLEN = 64 for U-mode */
71 /* Exception cause high bit - is an interrupt if set */
72 #define CAUSE_IRQ_FLAG (_AC(1, UL) << (__riscv_xlen - 1))
87 #define IRQ_LOCAL_MASK GENMASK((IRQ_LOCAL_MAX - 1), 0)
167 #define VSIP_TO_HVIP_SHIFT (IRQ_VS_SOFT - IRQ_S_SOFT)
301 /* Supervisor-Level Window to Indirectly Accessed Registers (AIA) */
305 /* Supervisor-Level Interrupts (AIA) */
309 /* Supervisor-Level High-Half CSRs (AIA) */
342 /* Virtual Interrupts and Interrupt Priorities (H-extension with AIA) */
348 /* VS-Level Window to Indirectly Accessed Registers (H-extension with AIA) */
352 /* VS-Level Interrupts (H-extension with AIA) */
356 /* Hypervisor and VS-Level High-Half CSRs (H-extension with AIA) */
388 /* Machine-Level Window to Indirectly Accessed Registers (AIA) */
392 /* Machine-Level Interrupts (AIA) */
396 /* Virtual Interrupts for Supervisor Level (AIA) */
400 /* Machine-Level High-Half CSRs (AIA) */
466 /* IE/IP (Supervisor/Machine Interrupt Enable/Pending) flags */