mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:57:44 +00:00
Kernel: Make the kernel independent from specific physical addresses
Previously the kernel relied on a fixed offset between virtual and physical addresses based on the kernel's load address. This allows us to specify an independent offset.
This commit is contained in:
parent
c4887882cc
commit
3c616ae00f
5 changed files with 7 additions and 2 deletions
|
@ -20,6 +20,7 @@ namespace Kernel {
|
|||
struct [[gnu::packed]] BootInfo {
|
||||
u32 start_of_prekernel_image;
|
||||
u32 end_of_prekernel_image;
|
||||
u64 physical_to_virtual_offset;
|
||||
u64 kernel_base;
|
||||
u64 multiboot_info_ptr;
|
||||
# if ARCH(X86_64)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue