From 766850222af4c39a52acf1fb12a97f2a42747d32 Mon Sep 17 00:00:00 2001 From: Anup Patel Date: Fri, 17 Jan 2020 18:09:49 +0530 Subject: 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 Reviewed-by: Atish Patra --- include/sbi/sbi_ecall.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/sbi/sbi_ecall.h') 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); -- cgit v1.2.3