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
2020-01-17 18:32:07 +05:30
committed by Anup Patel
parent 766850222a
commit 161b348e7e
4 changed files with 150 additions and 133 deletions

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