mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:17:44 +00:00
Kernel: Mark a few more things as READONLY_AFTER_INIT
This commit is contained in:
parent
18f8d08b98
commit
8642c831cf
1 changed files with 6 additions and 6 deletions
|
@ -111,13 +111,13 @@ READONLY_AFTER_INIT PhysicalAddress start_of_prekernel_image;
|
||||||
READONLY_AFTER_INIT PhysicalAddress end_of_prekernel_image;
|
READONLY_AFTER_INIT PhysicalAddress end_of_prekernel_image;
|
||||||
READONLY_AFTER_INIT FlatPtr kernel_base;
|
READONLY_AFTER_INIT FlatPtr kernel_base;
|
||||||
#if ARCH(X86_64)
|
#if ARCH(X86_64)
|
||||||
PhysicalAddress boot_pml4t;
|
READONLY_AFTER_INIT PhysicalAddress boot_pml4t;
|
||||||
#endif
|
#endif
|
||||||
PhysicalAddress boot_pdpt;
|
READONLY_AFTER_INIT PhysicalAddress boot_pdpt;
|
||||||
PhysicalAddress boot_pd0;
|
READONLY_AFTER_INIT PhysicalAddress boot_pd0;
|
||||||
PhysicalAddress boot_pd_kernel;
|
READONLY_AFTER_INIT PhysicalAddress boot_pd_kernel;
|
||||||
PageTableEntry* boot_pd_kernel_pt1023;
|
READONLY_AFTER_INIT PageTableEntry* boot_pd_kernel_pt1023;
|
||||||
const char* kernel_cmdline;
|
READONLY_AFTER_INIT const char* kernel_cmdline;
|
||||||
}
|
}
|
||||||
|
|
||||||
extern "C" [[noreturn]] UNMAP_AFTER_INIT void init(BootInfo const& boot_info)
|
extern "C" [[noreturn]] UNMAP_AFTER_INIT void init(BootInfo const& boot_info)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue