summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAkshay Behl <[email protected]>2025-03-23 16:48:51 +0530
committerAnup Patel <[email protected]>2025-03-23 16:56:54 +0530
commit0b78665a6c51a7b8b6da31e05590e6fd810d07e2 (patch)
treea620ac8e71c0bf32afe748a22054b20596c1246a /include
parent1ad199124479b9944d5dddc2119e6da9f088f7a7 (diff)
lib: add tests for sbi_ecall functionality
This patch adds unit tests for verifying the sbi_ecall version, impid handling, and extension registration functions. The tests ensure that the extension registration and unregistration work as expected. Signed-off-by: Akshay Behl <[email protected]> Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/sbi/sbi_ecall_interface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sbi/sbi_ecall_interface.h b/include/sbi/sbi_ecall_interface.h
index a7dab8c3..e68d9188 100644
--- a/include/sbi/sbi_ecall_interface.h
+++ b/include/sbi/sbi_ecall_interface.h
@@ -436,6 +436,8 @@ enum sbi_sse_state {
#define SBI_SPEC_VERSION_MAJOR_OFFSET 24
#define SBI_SPEC_VERSION_MAJOR_MASK 0x7f
#define SBI_SPEC_VERSION_MINOR_MASK 0xffffff
+#define SBI_EXT_EXPERIMENTAL_START 0x08000000
+#define SBI_EXT_EXPERIMENTAL_END 0x08FFFFFF
#define SBI_EXT_VENDOR_START 0x09000000
#define SBI_EXT_VENDOR_END 0x09FFFFFF
#define SBI_EXT_FIRMWARE_START 0x0A000000