1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

Complain if we cannot find loader(8) metadata.

This commit is contained in:
Peter Wemm 2000-09-03 04:13:03 +00:00
parent ca3ae8c2c0
commit da65de1dee
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65389
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;