diff options
Diffstat (limited to 'include/sbi/sbi_ecall.h')
-rw-r--r-- | include/sbi/sbi_ecall.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sbi/sbi_ecall.h b/include/sbi/sbi_ecall.h index 80c99be..2a3500f 100644 --- a/include/sbi/sbi_ecall.h +++ b/include/sbi/sbi_ecall.h @@ -13,6 +13,10 @@ #include <sbi/sbi_types.h> #include <sbi/sbi_list.h> +#define SBI_ECALL_VERSION_MAJOR 0 +#define SBI_ECALL_VERSION_MINOR 2 +#define SBI_OPENSBI_IMPID 1 + struct sbi_trap_regs; struct sbi_trap_info; struct sbi_scratch; @@ -29,6 +33,7 @@ struct sbi_ecall_extension { struct sbi_trap_info *out_trap); }; +extern struct sbi_ecall_extension ecall_base; extern struct sbi_ecall_extension ecall_legacy; extern struct sbi_ecall_extension ecall_time; extern struct sbi_ecall_extension ecall_rfence; |