summaryrefslogtreecommitdiff
path: root/include/sbi/sbi_ecall.h
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@wdc.com>2020-01-17 16:02:07 +0300
committerAnup Patel <anup@brainfault.org>2020-01-22 09:43:42 +0300
commit161b348e7e8ae3f78e8523e67796d277288e3f7c (patch)
tree7a911bb556fb164864e1929e645d2e7b488aab3d /include/sbi/sbi_ecall.h
parent766850222af4c39a52acf1fb12a97f2a42747d32 (diff)
downloadopensbi-161b348e7e8ae3f78e8523e67796d277288e3f7c.tar.xz
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.h3
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);