summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_shutdown.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1996-08-19 20:07:07 +0000
committerjulian <julian@FreeBSD.org>1996-08-19 20:07:07 +0000
commit65b6e7181bc8bde1918c94186c38543764663453 (patch)
treed4294827ff886d20438cfade654560e1d181c7e2 /sys/kern/kern_shutdown.c
parentc663bae3b71b62dea313426b5c2729c15e305f38 (diff)
downloadFreeBSD-src-65b6e7181bc8bde1918c94186c38543764663453.zip
FreeBSD-src-65b6e7181bc8bde1918c94186c38543764663453.tar.gz
Collect all the functioons concerned with rebooting into one place
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.
Diffstat (limited to 'sys/kern/kern_shutdown.c')
-rw-r--r--sys/kern/kern_shutdown.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/kern_shutdown.c b/sys/kern/kern_shutdown.c
index 1c217be..1ded33f 100644
--- a/sys/kern/kern_shutdown.c
+++ b/sys/kern/kern_shutdown.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_shutdown.c 8.3 (Berkeley) 1/21/94
- * $Id: subr_prf.c,v 1.37 1996/05/09 18:58:06 gpalmer Exp $
+ * $Id: kern_shutdown.c,v 1.1 1996/08/19 02:19:21 julian Exp $
*/
#include "opt_ddb.h"
@@ -276,6 +276,7 @@ boot(howto)
die:
printf("Rebooting...\n");
DELAY(1000000); /* wait 1 sec for printf's to complete and be read */
+ /* cpu_boot(howto); */ /* doesn't do anything at the moment */
cpu_reset();
for(;;) ;
/* NOTREACHED */
OpenPOWER on IntegriCloud