Reported by Nathaniel Hardison <hardison@stanford.edu>.
1) or a user program (in later projects).
Finally, if @option{-q} was specified on the kernel command line, we
-call @func{power_off} to terminate the machine simulator. Otherwise,
+call @func{shutdown_power_off} to terminate the machine simulator. Otherwise,
@func{main} calls @func{thread_exit}, which allows any other running
threads to continue running.
@file{lib/syscall-nr.h}:
@deftypefn {System Call} void halt (void)
-Terminates Pintos by calling @func{power_off} (declared in
-@file{threads/init.h}). This should be seldom used, because you lose
+Terminates Pintos by calling @func{shutdown_power_off} (declared in
+@file{devices/shutdown.h}). This should be seldom used, because you lose
some information about possible deadlock situations, etc.
@end deftypefn