summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_shutdown.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove the old cleanup code as it is no longer used..julian1996-08-261-28/+3
| | | | | also fix two cases of = instead of == (cut+paste bug duplication)
* Some cleanups to the callout lists recently added.julian1996-08-221-29/+66
| | | | | | | | note that at_shutdown has a new parameter to indicate When during a shutdown the callout should be made. also add a RB_POWEROFF flag to reboot "howto" parameter.. tells the reboot code in our at_shutdown module to turn off the UPS and kill the power. bound to be useful eventually on laptops
* Collect all the functioons concerned with rebooting into one placejulian1996-08-191-1/+2
| | | | | also add the at_shutdown callout list, and change the one user of the present (broken) method (the vn driver) to use the new scheme.
* move all functions related to shutting down to one filejulian1996-08-191-0/+429
called kern_shutdown.c note: I couldn't see anything machine dependant in the functions boot() and dumpsys() which were in machdep.c I have left a prototype for cpu_boot() which would go in machdep.c, but I have nothing to put in it. Iexpect others will let me know in no uncertain ways that this or that is machine dependant and should be there, but I'll way for that to happen.. :) I haven't actually taken the functions OUT of machdep or anywhere else yet.. I'm checking in this file so others can have a look at it and comment. SO PLEASE DO COMMENT! I am also (in another checkin) addinf a man(9) page for the new at_shotdown().. er freudian slip there.. at_shutdown() call so have a look at that (and at_exit and at_fork as well) and feed me comments.. I'll heck in the changes to make these (shutdown) changes active tomorrow if no-one objects too strongly..
OpenPOWER on IntegriCloud