aboutsummaryrefslogtreecommitdiff
path: root/machine/finisher.h
diff options
context:
space:
mode:
Diffstat (limited to 'machine/finisher.h')
-rw-r--r--machine/finisher.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/machine/finisher.h b/machine/finisher.h
new file mode 100644
index 0000000..60d10b4
--- /dev/null
+++ b/machine/finisher.h
@@ -0,0 +1,13 @@
+#ifndef _RISCV_FINISHER_H
+#define _RISCV_FINISHER_H
+
+#include <stdint.h>
+
+#define FINISHER_REG_FINISH 0
+#define FINISHER_FAIL 0x3333
+#define FINISHER_PASS 0x5555
+
+void finisher_exit(uint16_t code);
+void query_finisher(uintptr_t fdt);
+
+#endif