mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:57:35 +00:00
Kernel/aarch64: Initialize components that are already working
`SysFSComponentRegistry`, `ProcFSComponentRegistry` and `attach_null_device` "just work" already; let's include them to match x86_64 as closely as possible.
This commit is contained in:
parent
d6a3be1615
commit
83380ebebc
1 changed files with 5 additions and 1 deletions
|
@ -130,7 +130,8 @@ extern "C" [[noreturn]] void init()
|
|||
dmesgln("Initialize MMU");
|
||||
Memory::MemoryManager::initialize(0);
|
||||
DeviceManagement::initialize();
|
||||
JailManagement::the();
|
||||
SysFSComponentRegistry::initialize();
|
||||
DeviceManagement::the().attach_null_device(*NullDevice::must_initialize());
|
||||
|
||||
// Invoke all static global constructors in the kernel.
|
||||
// Note that we want to do this as early as possible.
|
||||
|
@ -149,6 +150,9 @@ extern "C" [[noreturn]] void init()
|
|||
|
||||
TimeManagement::initialize(0);
|
||||
|
||||
ProcFSComponentRegistry::initialize();
|
||||
JailManagement::the();
|
||||
|
||||
auto firmware_version = query_firmware_version();
|
||||
dmesgln("Firmware version: {}", firmware_version);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue