Complain if we cannot find loader(8) metadata.
This commit is contained in:
parent
4a87387b0f
commit
690989c690
@ -789,6 +789,8 @@ alpha_init(pfn, ptb, bim, bip, biv)
|
||||
/* But if the bootstrap tells us otherwise, believe it! */
|
||||
if (bootinfo.kernend)
|
||||
kernend = round_page(bootinfo.kernend);
|
||||
if (preload_metadata == NULL)
|
||||
printf("WARNING: loader(8) metadata is missing!\n");
|
||||
|
||||
p = getenv("kernelname");
|
||||
if (p)
|
||||
|
@ -1829,6 +1829,8 @@ init386(first)
|
||||
if (bootinfo.bi_modulep) {
|
||||
preload_metadata = (caddr_t)bootinfo.bi_modulep + KERNBASE;
|
||||
preload_bootstrap_relocate(KERNBASE);
|
||||
} else {
|
||||
printf("WARNING: loader(8) metadata is missing!\n");
|
||||
}
|
||||
if (bootinfo.bi_envp)
|
||||
kern_envp = (caddr_t)bootinfo.bi_envp + KERNBASE;
|
||||
|
@ -1829,6 +1829,8 @@ init386(first)
|
||||
if (bootinfo.bi_modulep) {
|
||||
preload_metadata = (caddr_t)bootinfo.bi_modulep + KERNBASE;
|
||||
preload_bootstrap_relocate(KERNBASE);
|
||||
} else {
|
||||
printf("WARNING: loader(8) metadata is missing!\n");
|
||||
}
|
||||
if (bootinfo.bi_envp)
|
||||
kern_envp = (caddr_t)bootinfo.bi_envp + KERNBASE;
|
||||
|
Loading…
Reference in New Issue
Block a user