mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-28 04:08:08 +00:00
Kernel/Devices: Use try_create_device helper for ConsoleDevice
This commit is contained in:
@@ -186,8 +186,7 @@ extern "C" [[noreturn]] UNMAP_AFTER_INIT void init(BootInfo const& boot_info)
|
||||
DeviceManagement::initialize();
|
||||
SysFSComponentRegistry::initialize();
|
||||
DeviceManagement::the().attach_null_device(*NullDevice::must_initialize());
|
||||
|
||||
ConsoleDevice::initialize();
|
||||
DeviceManagement::the().attach_console_device(*ConsoleDevice::must_create());
|
||||
s_bsp_processor.initialize(0);
|
||||
|
||||
CommandLine::initialize();
|
||||
|
||||
Reference in New Issue
Block a user