diff options
author | Anup Patel <anup.patel@wdc.com> | 2020-01-17 15:39:49 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-01-22 09:43:40 +0300 |
commit | 766850222af4c39a52acf1fb12a97f2a42747d32 (patch) | |
tree | b8f2058907a2f3f74a047826f89d09835f037dfe /include/sbi | |
parent | 37923c4a66180b2f7881d959cd631038e81dbfec (diff) | |
download | opensbi-766850222af4c39a52acf1fb12a97f2a42747d32.tar.xz |
lib: Factor-out SBI legacy extension
This patch factor-out SBI legacy extension into its own source
for better modularity of SBI implementation.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'include/sbi')
-rw-r--r-- | include/sbi/sbi_ecall.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sbi/sbi_ecall.h b/include/sbi/sbi_ecall.h index e9a9ef6..a7360b3 100644 --- a/include/sbi/sbi_ecall.h +++ b/include/sbi/sbi_ecall.h @@ -29,6 +29,8 @@ struct sbi_ecall_extension { struct sbi_trap_info *out_trap); }; +extern struct sbi_ecall_extension ecall_legacy; + u16 sbi_ecall_version_major(void); u16 sbi_ecall_version_minor(void); |