Subject: Re: delay before cpu_reset()
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-kern
Date: 10/09/1998 11:06:00
On Fri, 9 Oct 1998 18:17:04 +0200 
 Manuel Bouyer <bouyer@antioche.lip6.fr> wrote:

 > Hi,
 > does some object to this change ?

that's fine with me.... some ports do this already.

 > Index: machdep.c
 > ===================================================================
 > RCS file: /cvsroot/src/sys/arch/i386/i386/machdep.c,v
 > retrieving revision 1.325
 > diff -u -r1.325 machdep.c
 > --- machdep.c	1998/10/03 21:38:49	1.325
 > +++ machdep.c	1998/10/09 16:10:17
 > @@ -1356,6 +1356,8 @@
 >  	}
 >  
 >  	printf("rebooting...\n");
 > +	/* Give the user some time to read messages */
 > +	delay(2000000);
 >  	cpu_reset();
 >  	for(;;) ;
 >  	/*NOTREACHED*/

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                            Home: +1 408 866 1912
NAS: M/S 258-5                                       Work: +1 650 604 0935
Moffett Field, CA 94035                             Pager: +1 650 940 5942