mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 16:16:43 +00:00
Kernel: Support loading the kernel at almost arbitrary virtual addresses
This enables further work on implementing KASLR by adding relocation support to the pre-kernel and updating the kernel to be less dependent on specific virtual memory layouts.
This commit is contained in:
parent
e3d2ca6bd2
commit
57417a3d6e
Notes:
sideshowbarker
2024-07-18 08:03:25 +09:00
Author: https://github.com/gunnarbeutner
Commit: 57417a3d6e
Pull-request: https://github.com/SerenityOS/serenity/pull/8962
20 changed files with 123 additions and 87 deletions
|
@ -31,8 +31,11 @@ boot_pd0_pts:
|
|||
.global boot_pd_kernel
|
||||
boot_pd_kernel:
|
||||
.skip 4096
|
||||
.global boot_pd_kernel_pts
|
||||
boot_pd_kernel_pts:
|
||||
.global boot_pd_kernel_pt0
|
||||
boot_pd_kernel_pt0:
|
||||
.skip 4096
|
||||
.global boot_pd_kernel_image_pts
|
||||
boot_pd_kernel_image_pts:
|
||||
.skip 4096 * (MAX_KERNEL_SIZE >> 21)
|
||||
.global boot_pd_kernel_pt1023
|
||||
boot_pd_kernel_pt1023:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue