Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sbmips/sbmips For some reason I'm not sure of yet, ...



details:   https://anonhg.NetBSD.org/src/rev/ae5074c6621d
branches:  trunk
changeset: 532421:ae5074c6621d
user:      simonb <simonb%NetBSD.org@localhost>
date:      Fri Jun 07 01:34:03 2002 +0000

description:
For some reason I'm not sure of yet, cfe_exit(warmstart, ...) isn't
working any more.  Just do a cold restart so at least we get back to
CFE for now...

diffstat:

 sys/arch/sbmips/sbmips/machdep.c |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 6e7024c52f55 -r ae5074c6621d sys/arch/sbmips/sbmips/machdep.c
--- a/sys/arch/sbmips/sbmips/machdep.c  Fri Jun 07 01:30:19 2002 +0000
+++ b/sys/arch/sbmips/sbmips/machdep.c  Fri Jun 07 01:34:03 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.6 2002/06/01 16:14:23 simonb Exp $ */
+/* $NetBSD: machdep.c,v 1.7 2002/06/07 01:34:03 simonb Exp $ */
 
 /*
  * Copyright 2000, 2001
@@ -526,7 +526,12 @@
        printf("rebooting...\n\n");
 
        if (cfe_present) {
-               cfe_exit(1, (howto & RB_DUMP) ? 1 : 0);
+               /*
+                * XXX
+                * For some reason we can't return to CFE with
+                * and do a warm start.  Need to look into this...
+                */
+               cfe_exit(0, (howto & RB_DUMP) ? 1 : 0);
                printf("cfe_exit didn't!\n");
        }
 



Home | Main Index | Thread Index | Old Index