aboutsummaryrefslogtreecommitdiff
path: root/include/sbi_utils/sys
diff options
context:
space:
mode:
Diffstat (limited to 'include/sbi_utils/sys')
-rw-r--r--include/sbi_utils/sys/htif.h4
-rw-r--r--include/sbi_utils/sys/sifive_test.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/include/sbi_utils/sys/htif.h b/include/sbi_utils/sys/htif.h
index 7384b48..a431723 100644
--- a/include/sbi_utils/sys/htif.h
+++ b/include/sbi_utils/sys/htif.h
@@ -14,6 +14,8 @@ void htif_putc(char ch);
int htif_getc(void);
-int htif_system_reset(u32 type);
+int htif_system_reset_check(u32 type, u32 reason);
+
+void htif_system_reset(u32 type, u32 reason);
#endif
diff --git a/include/sbi_utils/sys/sifive_test.h b/include/sbi_utils/sys/sifive_test.h
index 7e153d5..958622e 100644
--- a/include/sbi_utils/sys/sifive_test.h
+++ b/include/sbi_utils/sys/sifive_test.h
@@ -12,7 +12,9 @@
#include <sbi/sbi_types.h>
-int sifive_test_system_reset(u32 type);
+int sifive_test_system_reset_check(u32 type, u32 reason);
+
+void sifive_test_system_reset(u32 type, u32 reason);
int sifive_test_init(unsigned long base);