diff options
author | Anup Patel <anup.patel@wdc.com> | 2020-01-17 18:09:49 +0530 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-01-22 12:13:40 +0530 |
commit | 766850222af4c39a52acf1fb12a97f2a42747d32 (patch) | |
tree | b8f2058907a2f3f74a047826f89d09835f037dfe /include/sbi/sbi_ecall.h | |
parent | 37923c4a66180b2f7881d959cd631038e81dbfec (diff) |
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/sbi_ecall.h')
-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); |