Find the module metadata before the console init rather than after.
This should repair consoles on the Alpha when using dynamic hints.
This commit is contained in:
parent
c222dee510
commit
4a87387b0f
@ -687,6 +687,10 @@ alpha_init(pfn, ptb, bim, bip, biv)
|
||||
*/
|
||||
cycles_per_sec = hwrpb->rpb_cc_freq;
|
||||
|
||||
/* Get the loader(8) metadata */
|
||||
preload_metadata = (caddr_t)bootinfo.modptr;
|
||||
kern_envp = bootinfo.envp;
|
||||
|
||||
/*
|
||||
* Initalize the (temporary) bootstrap console interface, so
|
||||
* we can use printf until the VM system starts being setup.
|
||||
@ -785,8 +789,6 @@ alpha_init(pfn, ptb, bim, bip, biv)
|
||||
/* But if the bootstrap tells us otherwise, believe it! */
|
||||
if (bootinfo.kernend)
|
||||
kernend = round_page(bootinfo.kernend);
|
||||
preload_metadata = (caddr_t)bootinfo.modptr;
|
||||
kern_envp = bootinfo.envp;
|
||||
|
||||
p = getenv("kernelname");
|
||||
if (p)
|
||||
|
Loading…
Reference in New Issue
Block a user