mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-23 08:00:20 +00:00
dd42093b93
Instead of manually redeclaring those variables in various files this now adds a header file for them.
23 lines
610 B
C
23 lines
610 B
C
/*
|
|
* Copyright (c) 2021, Gunnar Beutner <gbeutner@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <Kernel/VirtualAddress.h>
|
|
|
|
extern "C" u8 const* start_of_prekernel_image;
|
|
extern "C" u8 const* end_of_prekernel_image;
|
|
extern "C" __attribute__((section(".boot_bss"))) FlatPtr kernel_base;
|
|
#if ARCH(X86_64)
|
|
extern "C" u32 gdt64ptr;
|
|
extern "C" u16 code64_sel;
|
|
extern "C" FlatPtr boot_pml4t;
|
|
#endif
|
|
extern "C" FlatPtr boot_pdpt;
|
|
extern "C" FlatPtr boot_pd0;
|
|
extern "C" FlatPtr boot_pd_kernel;
|
|
extern "C" FlatPtr boot_pd_kernel_pt1023;
|
|
extern "C" const char* kernel_cmdline;
|