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:
parent
ca3ae8c2c0
commit
da65de1dee
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65389
@ -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