svn commit: r187294 - head/sys/mips/mips
Warner Losh
imp at FreeBSD.org
Wed Jan 14 23:51:18 PST 2009
Author: imp
Date: Thu Jan 15 07:51:17 2009
New Revision: 187294
URL: http://svn.freebsd.org/changeset/base/187294
Log:
Call platform_reset() instead of looping forever on reboot.
# We likely need to have a default one of these that jumps to the rom boot
# address that's defined in the MIPS ISA.
Modified:
head/sys/mips/mips/machdep.c
Modified: head/sys/mips/mips/machdep.c
==============================================================================
--- head/sys/mips/mips/machdep.c Thu Jan 15 07:48:37 2009 (r187293)
+++ head/sys/mips/mips/machdep.c Thu Jan 15 07:51:17 2009 (r187294)
@@ -198,8 +198,8 @@ cpu_startup(void *dummy)
void
cpu_reset(void)
{
- for (;;)
- ;
+
+ platform_reset();
}
/* Get current clock frequency for the given cpu id. */
@@ -207,7 +207,7 @@ int
cpu_est_clockrate(int cpu_id, uint64_t *rate)
{
- return (ENXIO);
+ return (ENXIO);
}
/*
More information about the svn-src-all
mailing list