Complain if we cannot find loader(8) metadata.

This commit is contained in:
peter 2000-09-03 04:13:03 +00:00
parent 4a87387b0f
commit 690989c690
3 changed files with 6 additions and 0 deletions

View File

@ -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)

View File

@ -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;

View File

@ -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;