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>
This commit is contained in:
Anup Patel
2020-01-17 18:09:49 +05:30
committed by Anup Patel
parent 37923c4a66
commit 766850222a
4 changed files with 123 additions and 102 deletions

View File

@@ -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);