1 #ifndef DEVICES_SHUTDOWN_H
2 #define DEVICES_SHUTDOWN_H
6 /* How to shut down when Pintos has nothing left to do. */
9 SHUTDOWN_NONE, /* Loop forever. */
10 SHUTDOWN_POWER_OFF, /* Power off the machine (if possible). */
11 SHUTDOWN_REBOOT, /* Reboot the machine (if possible). */
15 void shutdown_configure (enum shutdown_type);
16 void shutdown_reboot (void) NO_RETURN;
17 void shutdown_power_off (void) NO_RETURN;
19 #endif /* devices/shutdown.h */