add option HALTLOOP to loop in boot() instead of halting/rebooting

This commit is contained in:
cgd 1995-04-22 12:42:01 +00:00
parent 71fa065268
commit 12dae0a656
1 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.3 1995/03/24 15:04:14 cgd Exp $ */
/* $NetBSD: machdep.c,v 1.4 1995/04/22 12:42:01 cgd Exp $ */
/*
* Copyright (c) 1994, 1995 Carnegie-Mellon University.
@ -708,6 +708,11 @@ boot(howto)
if (curproc)
savectx(curproc->p_addr, 0);
#ifdef HALTLOOP
while (1)
;
#endif
/* If system is cold, just halt. */
if (cold) {
howto |= RB_HALT;