summaryrefslogtreecommitdiffstats
path: root/sys/mips
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2009-01-15 07:51:17 +0000
committerimp <imp@FreeBSD.org>2009-01-15 07:51:17 +0000
commit5f0bc936194ce3d3349115523a6da58bfb144739 (patch)
tree09532044686dfea3fcdc50374c986a2df46d566d /sys/mips
parent41a4baf4c0a88b86745324a5e3fb4bc2b403fb3a (diff)
downloadFreeBSD-src-5f0bc936194ce3d3349115523a6da58bfb144739.zip
FreeBSD-src-5f0bc936194ce3d3349115523a6da58bfb144739.tar.gz
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.
Diffstat (limited to 'sys/mips')
-rw-r--r--sys/mips/mips/machdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/mips/mips/machdep.c b/sys/mips/mips/machdep.c
index 9735158..2b4676d 100644
--- a/sys/mips/mips/machdep.c
+++ b/sys/mips/mips/machdep.c
@@ -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);
}
/*
OpenPOWER on IntegriCloud