diff options
author | Atish Patra <atish.patra@wdc.com> | 2019-10-02 23:59:40 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2019-10-03 06:28:51 +0300 |
commit | 30f09fbfd1ec0269dafb1dbb3c9c07f1b5c0ec81 (patch) | |
tree | ea82ab5c139daa80073463607af16aff40442fe0 /include/sbi/sbi_ecall_interface.h | |
parent | 0790be0f2c932f66ab0717661f9adb919c1b01e8 (diff) | |
download | opensbi-30f09fbfd1ec0269dafb1dbb3c9c07f1b5c0ec81.tar.xz |
lib: Provide a platform hook to implement vendor specific SBI extensions.
SBI v0.2 specification allows vendor extensions and it should be
implemented in a independent of the core sbi library.
Introduce a single platform callback that will let platforms handle
all vendor extensions in platform specific code if they want.
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'include/sbi/sbi_ecall_interface.h')
-rw-r--r-- | include/sbi/sbi_ecall_interface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sbi/sbi_ecall_interface.h b/include/sbi/sbi_ecall_interface.h index cfdf9e1..98c5ce6 100644 --- a/include/sbi/sbi_ecall_interface.h +++ b/include/sbi/sbi_ecall_interface.h @@ -38,6 +38,8 @@ enum sbi_ext_base_fid { #define SBI_SPEC_VERSION_MAJOR_OFFSET 24 #define SBI_SPEC_VERSION_MAJOR_MASK 0x7f #define SBI_SPEC_VERSION_MINOR_MASK 0xffffff +#define SBI_EXT_VENDOR_START 0x09000000 +#define SBI_EXT_VENDOR_END 0x09FFFFFF /* clang-format on */ #endif |