diff options
author | Anup Patel <anup.patel@wdc.com> | 2020-01-17 18:32:07 +0530 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-01-22 12:13:42 +0530 |
commit | 161b348e7e8ae3f78e8523e67796d277288e3f7c (patch) | |
tree | 7a911bb556fb164864e1929e645d2e7b488aab3d /include/sbi/sbi_ecall.h | |
parent | 766850222af4c39a52acf1fb12a97f2a42747d32 (diff) |
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>
Diffstat (limited to 'include/sbi/sbi_ecall.h')
-rw-r--r-- | include/sbi/sbi_ecall.h | 3 |
1 files changed, 3 insertions, 0 deletions
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); |