stivale(2): Adapt elf64_load() call to ELF API change
This commit is contained in:
parent
0eafcadd99
commit
2df54d4065
@ -143,7 +143,7 @@ bool stivale_load(char *config, char *cmdline) {
|
||||
|
||||
if (!loaded_by_anchor) {
|
||||
if (elf64_load(kernel, &entry_point, NULL, &slide,
|
||||
STIVALE_MMAP_KERNEL_AND_MODULES, kaslr, false,
|
||||
STIVALE_MMAP_KERNEL_AND_MODULES, kaslr,
|
||||
NULL, NULL, false, NULL, NULL, NULL, NULL))
|
||||
panic(true, "stivale: ELF64 load failure");
|
||||
|
||||
|
@ -187,7 +187,7 @@ bool stivale2_load(char *config, char *cmdline) {
|
||||
}
|
||||
|
||||
if (elf64_load(kernel, &entry_point, NULL, &slide,
|
||||
STIVALE2_MMAP_KERNEL_AND_MODULES, kaslr, false,
|
||||
STIVALE2_MMAP_KERNEL_AND_MODULES, kaslr,
|
||||
want_pmrs ? &ranges : NULL,
|
||||
want_pmrs ? &ranges_count : NULL,
|
||||
want_fully_virtual, &physical_base, &virtual_base,
|
||||
|
Loading…
Reference in New Issue
Block a user