#include "threads/switch.h"
#include "threads/vaddr.h"
#include "devices/serial.h"
+#include "devices/shutdown.h"
/* Halts the OS, printing the source file name, line number, and
function name, plus a user-specific message. */
}
serial_flush ();
- if (power_off_when_done)
- power_off ();
+ shutdown ();
for (;;);
}