1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:28:12 +00:00

Kernel: Rename bootloader to prekernel

There are a few occurrences of the old name that slipped through.
This commit is contained in:
Gunnar Beutner 2021-07-18 19:39:33 +02:00 committed by Andreas Kling
parent 439bed301e
commit 5ff1416076
3 changed files with 9 additions and 9 deletions

View file

@ -106,8 +106,8 @@ static Processor s_bsp_processor; // global but let's keep it "private"
// init_stage2() function. Initialization continues there.
extern "C" {
u8 const* start_of_bootloader_image;
u8 const* end_of_bootloader_image;
u8 const* start_of_prekernel_image;
u8 const* end_of_prekernel_image;
__attribute__((section(".boot_bss"))) FlatPtr kernel_base;
#if ARCH(X86_64)
extern "C" u32 gdt64ptr;
@ -127,8 +127,8 @@ extern "C" [[noreturn]] UNMAP_AFTER_INIT void init(BootInfo const& boot_info)
setup_serial_debug();
multiboot_info_ptr = boot_info.multiboot_info_ptr;
start_of_bootloader_image = boot_info.start_of_prekernel_image;
end_of_bootloader_image = boot_info.end_of_prekernel_image;
start_of_prekernel_image = boot_info.start_of_prekernel_image;
end_of_prekernel_image = boot_info.end_of_prekernel_image;
kernel_base = boot_info.kernel_base;
#if ARCH(X86_64)
gdt64ptr = boot_info.gdt64ptr;