summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorAtish Patra <atish.patra@wdc.com>2019-10-02 23:59:37 +0300
committerAnup Patel <anup@brainfault.org>2019-10-03 06:23:52 +0300
commit26aec6afed528518dbd633a6e0d951b7646d95c5 (patch)
treebdd1dda67cb6a61f4ebcaf1b3130987990f61e32 /firmware
parent3d335bc54b453dd69b269c8841657876fb48f15f (diff)
downloadopensbi-26aec6afed528518dbd633a6e0d951b7646d95c5.tar.xz
lib: Rename existing SBI implementation as 0.1.
Current SBI implementation is now considered as version 0.1 and will be removed/replaced with newer extension/functions in future. Rename the existing implementations accordingly to be in sync with the specification. Signed-off-by: Atish Patra <atish.patra@wdc.com> Reviewed-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Zong Li <zong.li@sifive.com>
Diffstat (limited to 'firmware')
-rw-r--r--firmware/payloads/test_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/payloads/test_main.c b/firmware/payloads/test_main.c
index eba5e4d..0d65930 100644
--- a/firmware/payloads/test_main.c
+++ b/firmware/payloads/test_main.c
@@ -26,7 +26,7 @@
#define SBI_ECALL_1(__num, __a0) SBI_ECALL(__num, __a0, 0, 0)
#define SBI_ECALL_2(__num, __a0, __a1) SBI_ECALL(__num, __a0, __a1, 0)
-#define sbi_ecall_console_putc(c) SBI_ECALL_1(SBI_ECALL_CONSOLE_PUTCHAR, (c))
+#define sbi_ecall_console_putc(c) SBI_ECALL_1(SBI_EXT_0_1_CONSOLE_PUTCHAR, (c))
static inline void sbi_ecall_console_puts(const char *str)
{