aboutsummaryrefslogtreecommitdiff
path: root/src/power.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/power.h')
-rw-r--r--src/power.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/power.h b/src/power.h
new file mode 100644
index 0000000..4d418a0
--- /dev/null
+++ b/src/power.h
@@ -0,0 +1,11 @@
+#ifndef __RESET_H__
+#define __RESET_H__
+
+static inline void reset_jump()
+{
+ asm volatile("j 0x00");
+}
+
+void poweroff();
+
+#endif /* __RESET_H__ */