mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-04-25 22:13:13 +00:00
Kernel: Move end_of_kernel_image after the .ksyms section
Without this we won't be able to detect whether .ksyms overlaps the end of the page table we set up for the kernel image.
This commit is contained in:
committed by
Andreas Kling
parent
acf8f2a2a3
commit
cbdb488578
@@ -273,7 +273,10 @@ void init_stage2(void*)
|
||||
MM.protect_readonly_after_init_memory();
|
||||
|
||||
// NOTE: Everything marked UNMAP_AFTER_INIT becomes inaccessible after this point.
|
||||
MM.unmap_memory_after_init();
|
||||
MM.unmap_text_after_init();
|
||||
|
||||
// NOTE: Everything in the .ksyms section becomes inaccessible after this point.
|
||||
MM.unmap_ksyms_after_init();
|
||||
|
||||
int error;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user