mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 17:45:09 +00:00
Kernel: Move all code into the Kernel namespace
This commit is contained in:
parent
d42f0f4661
commit
a356e48150
201 changed files with 907 additions and 111 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue