From 161b348e7e8ae3f78e8523e67796d277288e3f7c Mon Sep 17 00:00:00 2001 From: Anup Patel Date: Fri, 17 Jan 2020 18:32:07 +0530 Subject: lib: Factor-out SBI replacement extensions This patch factor-out SBI replacement extensions (such as RFENCE, IPI, and TIME) into its own source for better modularity of SBI implementation. Signed-off-by: Anup Patel Reviewed-by: Atish Patra --- include/sbi/sbi_ecall.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/sbi/sbi_ecall.h') diff --git a/include/sbi/sbi_ecall.h b/include/sbi/sbi_ecall.h index a7360b3..2357f79 100644 --- a/include/sbi/sbi_ecall.h +++ b/include/sbi/sbi_ecall.h @@ -30,6 +30,9 @@ struct sbi_ecall_extension { }; extern struct sbi_ecall_extension ecall_legacy; +extern struct sbi_ecall_extension ecall_time; +extern struct sbi_ecall_extension ecall_rfence; +extern struct sbi_ecall_extension ecall_ipi; u16 sbi_ecall_version_major(void); -- cgit v1.2.3