summaryrefslogtreecommitdiff
path: root/sys/src/9/port/rebootcmd.c
AgeCommit message (Collapse)Author
2015-11-30kernel: cleanup exit()/shutdown()/reboot() codecinap_lenrek
introduce cpushutdown() function that does the common operation of initiating shutdown, returning once all cpu's got the message and are about to shutdown. this avoids duplicated code which isnt really machine specific. automatic reboot on panic only when *debug= is not set and the machine is a cpu server or has no display, otherwise just hang.
2015-07-10kernel: use HDR_MAGIC constant to handle Exec header extension, make ↵cinap_lenrek
rebootcmd() handle AOUT_MAGIC macro
2014-03-16pc64: amd64 kernel reboot supportcinap_lenrek
2011-12-12kernel: fix more malloc/smalloc errorscinap_lenrek
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen