diff options
| author | Anup Patel <[email protected]> | 2024-03-11 18:00:50 +0530 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2024-03-19 11:31:35 +0530 |
| commit | 43d346c0c1d3817d863741c3c523ab6e0c87cc6f (patch) | |
| tree | 5b06f52ff08b78f2eb47cdf9e9dd2e8ef49b7ec4 /include | |
| parent | d84e7eb7f0848225e10131ca4b9e1571d78cdabd (diff) | |
lib: sbi: Remove regs parameter from trap irq handling functions
The trap irq handling functions no longer require regs parameter
so remove it.
Signed-off-by: Anup Patel <[email protected]>
Reviewed-by: Samuel Holland <[email protected]>
Tested-by: Samuel Holland <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/sbi/riscv_encoding.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sbi/riscv_encoding.h b/include/sbi/riscv_encoding.h index 46bbeed0..d914828e 100644 --- a/include/sbi/riscv_encoding.h +++ b/include/sbi/riscv_encoding.h @@ -80,6 +80,8 @@ #define HSTATUS_GVA _UL(0x00000040) #define HSTATUS_VSBE _UL(0x00000020) +#define MCAUSE_IRQ_MASK (_UL(1) << (__riscv_xlen - 1)) + #define IRQ_S_SOFT 1 #define IRQ_VS_SOFT 2 #define IRQ_M_SOFT 3 |
