mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +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
Notes:
sideshowbarker
2024-07-17 03:39:26 +09:00
Author: https://github.com/filiphsps Commit: https://github.com/SerenityOS/serenity/commit/83380ebebc Pull-request: https://github.com/SerenityOS/serenity/pull/16372
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…
Reference in a new issue