Move reboot() and power_off() to new file, and rename to fit convention.
[pintos-anon] / src / devices / shutdown.h
diff --git a/src/devices/shutdown.h b/src/devices/shutdown.h
new file mode 100644 (file)
index 0000000..0bc5657
--- /dev/null
@@ -0,0 +1,7 @@
+#ifndef DEVICES_SHUTDOWN_H
+#define DEVICES_SHUTDOWN_H
+
+void shutdown_reboot (void);
+void shutdown_power_off (void);
+
+#endif /* devices/shutdown.h */