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 <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
This commit is contained in:
Anup Patel authored and Anup Patel committed 2020-01-22 12:13:42 +05:30
1 parent 766850222a
commit 161b348e7e
4 files changed
+150 -133

No files matched your search

+3
View File
@@ -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);