All hell breaks loose if the loader image is released before
jumping to the kernel. Another bug exposed by removing the 1:1 BAT mapping. Sparc64 doesn't do this either. Compile tested on: panther (sparc64). Code built, but not used, on sparc64.
This commit is contained in:
parent
ff6e6584fc
commit
c727d17006
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=131783
@ -898,7 +898,7 @@ OF_exit()
|
||||
}
|
||||
|
||||
/* Free <size> bytes starting at <virt>, then call <entry> with <arg>. */
|
||||
#ifdef __notyet__
|
||||
#if 0
|
||||
void
|
||||
OF_chain(void *virt, u_int size, void (*entry)(), void *arg, u_int len)
|
||||
{
|
||||
@ -936,8 +936,10 @@ OF_chain(void *virt, u_int size, void (*entry)(), void *arg, u_int len)
|
||||
/*
|
||||
* This is a REALLY dirty hack till the firmware gets this going
|
||||
*/
|
||||
#if 0
|
||||
if (size > 0)
|
||||
OF_release(virt, size);
|
||||
#endif
|
||||
|
||||
entry(0, 0, openfirmware, arg, len);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user