mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +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:
committed by
Sam Atkins
parent
d6a3be1615
commit
83380ebebc
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user