mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2026-10-24 04:32:05 +01:00
lib: sbi: Add support to mask/unmask SSE events
Add functions to globally mask/unmask supervisor software events on the calling hart. Signed-off-by: Himanshu Chauhan <hchauhan@ventanamicro.com> Reviewed-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
1 parent
ebbd276146
commit
b919daf495
4 files changed
+53
No files matched your search
@@ -342,6 +342,8 @@ enum sbi_cppc_reg_id {
|
||||
#define SBI_EXT_SSE_DISABLE 0x00000005
|
||||
#define SBI_EXT_SSE_COMPLETE 0x00000006
|
||||
#define SBI_EXT_SSE_INJECT 0x00000007
|
||||
#define SBI_EXT_SSE_HART_UNMASK 0x00000008
|
||||
#define SBI_EXT_SSE_HART_MASK 0x00000009
|
||||
|
||||
/* SBI SSE Event Attributes. */
|
||||
enum sbi_sse_attr_id {
|
||||
|
||||
Reference in new issue
Block a user