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.
This commit is contained in:
Warner Losh 2009-01-15 07:51:17 +00:00
parent b1b26fc820
commit 85c209c24d

View File

@ -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);
}
/*