diff options
| author | Clément Léger <[email protected]> | 2024-11-25 11:52:59 +0100 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2024-12-15 11:52:57 +0530 |
| commit | 851e3010989254e67bf809aa5fc9e90dd7baa487 (patch) | |
| tree | 14669fe999e8b3447a1c6d8737c96f56f623adff | |
| parent | 5545602f778e3065674df3a630c67b820f5dc1da (diff) | |
lib: sbi: fix GLOBAL_PLAT_DEFINE
Fix GLOBAL_PLAT_0_START/END definitions. The specification states that
the beginning of the range is 0xc000 and the end is 0xffff.
Reported-by: Andrew Jones <[email protected]>
Signed-off-by: Clément Léger <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
| -rw-r--r-- | include/sbi/sbi_ecall_interface.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sbi/sbi_ecall_interface.h b/include/sbi/sbi_ecall_interface.h index 9cacd3ac..0b6b5714 100644 --- a/include/sbi/sbi_ecall_interface.h +++ b/include/sbi/sbi_ecall_interface.h @@ -398,8 +398,8 @@ enum sbi_sse_state { #define SBI_SSE_EVENT_LOCAL_PLAT_0_START 0x00004000 #define SBI_SSE_EVENT_LOCAL_PLAT_0_END 0x00007fff #define SBI_SSE_EVENT_GLOBAL_RAS 0x00008000 -#define SBI_SSE_EVENT_GLOBAL_PLAT_0_START 0x00004000 -#define SBI_SSE_EVENT_GLOBAL_PLAT_0_END 0x00007fff +#define SBI_SSE_EVENT_GLOBAL_PLAT_0_START 0x0000c000 +#define SBI_SSE_EVENT_GLOBAL_PLAT_0_END 0x0000ffff #define SBI_SSE_EVENT_LOCAL_PMU 0x00010000 #define SBI_SSE_EVENT_LOCAL_PLAT_1_START 0x00014000 |
