mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-28 12:18:25 +00:00
Kernel: Move all code into the Kernel namespace
This commit is contained in:
@@ -71,14 +71,6 @@
|
||||
#include <Kernel/TTY/VirtualConsole.h>
|
||||
#include <Kernel/VM/MemoryManager.h>
|
||||
|
||||
[[noreturn]] static void init_stage2();
|
||||
static void setup_serial_debug();
|
||||
static void setup_acpi();
|
||||
static void setup_vmmouse();
|
||||
static void setup_pci();
|
||||
|
||||
VirtualConsole* tty0;
|
||||
|
||||
// Defined in the linker script
|
||||
typedef void (*ctor_func_t)();
|
||||
extern ctor_func_t start_ctors;
|
||||
@@ -87,6 +79,16 @@ extern ctor_func_t end_ctors;
|
||||
extern u32 __stack_chk_guard;
|
||||
u32 __stack_chk_guard;
|
||||
|
||||
namespace Kernel {
|
||||
|
||||
[[noreturn]] static void init_stage2();
|
||||
static void setup_serial_debug();
|
||||
static void setup_acpi();
|
||||
static void setup_vmmouse();
|
||||
static void setup_pci();
|
||||
|
||||
VirtualConsole* tty0;
|
||||
|
||||
extern "C" [[noreturn]] void init()
|
||||
{
|
||||
setup_serial_debug();
|
||||
@@ -455,3 +457,5 @@ void setup_pci()
|
||||
}
|
||||
PCI::Initializer::the().dismiss();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user