1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-30 12:04:07 +00:00

Jump to the mips reset vector. OR in the 0x80000000 for kseg0 and

cast it to a long so it will work on 64-bit targets.

reset now works on octeon, so I don't have to power cycle the board as
often.
This commit is contained in:
Warner Losh 2010-01-22 09:19:57 +00:00
parent a4ca6a4926
commit 24e4f4a84d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=202785

View File

@ -99,7 +99,7 @@ platform_cpu_init()
void
platform_reset(void)
{
((void(*)(void))0x1fc00000)(); /* Jump to this hex address */
((void(*)(void))(long)0x9fc00000)(); /* Jump to MIPS reset vector */
}