ladybird/Kernel/Devices
Liav A 25bb293629 Kernel: Make Device::after_inserting to return ErrorOr<void>
Instead of just returning nothing, let's return Error or nothing.
This would help later on with error propagation in case of failure
during this method.

This also makes us more paranoid about failure in this method, so when
initializing a DisplayConnector we safely tear down the internal members
of the object. This applies the same for a StorageDevice object, but its
after_inserting method is much smaller compared to the DisplayConnector
overriden method.
2023-01-07 11:45:08 -07:00
..
Audio Kernel: Convert 2 instances of dbgln to dmesgln_pci in AC'97 2023-01-05 01:50:35 +01:00
HID Kernel: Make i8042 controller initialization sequence more robust 2023-01-06 11:09:56 +01:00
AsyncDeviceRequest.cpp Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
AsyncDeviceRequest.h Kernel: Turn lock ranks into template parameters 2023-01-02 18:15:27 -05:00
BlockDevice.cpp Kernel/Devices: Abstract SysFS Device add/remove methods more properly 2022-07-19 11:02:37 +01:00
BlockDevice.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
CharacterDevice.cpp Kernel/Devices: Abstract SysFS Device add/remove methods more properly 2022-07-19 11:02:37 +01:00
CharacterDevice.h Kernel/Devices: Abstract SysFS Device add/remove methods more properly 2022-07-19 11:02:37 +01:00
ConsoleDevice.cpp Kernel: Turn lock ranks into template parameters 2023-01-02 18:15:27 -05:00
ConsoleDevice.h Kernel: Turn lock ranks into template parameters 2023-01-02 18:15:27 -05:00
Device.cpp Kernel: Make Device::after_inserting to return ErrorOr<void> 2023-01-07 11:45:08 -07:00
Device.h Kernel: Make Device::after_inserting to return ErrorOr<void> 2023-01-07 11:45:08 -07:00
DeviceControlDevice.cpp Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
DeviceControlDevice.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
DeviceManagement.cpp Kernel: Add DeviceManagement::try_for_each() for fallible iteration 2022-02-27 20:37:57 +01:00
DeviceManagement.h Kernel: Make Device::after_inserting to return ErrorOr<void> 2023-01-07 11:45:08 -07:00
FullDevice.cpp Everywhere: Remove unused includes of AK/Memory.h 2023-01-02 20:27:20 -05:00
FullDevice.h Kernel: Allow opening some device nodes sparingly for jailed processes 2022-12-09 23:09:00 -07:00
KCOVDevice.cpp Kernel: Allow opening some device nodes sparingly for jailed processes 2022-12-09 23:09:00 -07:00
KCOVDevice.h Kernel: Simplify the File memory-mapping API 2022-08-24 14:57:51 +02:00
KCOVInstance.cpp Kernel: Propagate overflow errors from Memory::page_round_up 2021-12-28 23:08:50 +01:00
KCOVInstance.h Kernel: Turn lock ranks into template parameters 2023-01-02 18:15:27 -05:00
MemoryDevice.cpp Everywhere: Remove unused includes of AK/Memory.h 2023-01-02 20:27:20 -05:00
MemoryDevice.h Kernel: Simplify the File memory-mapping API 2022-08-24 14:57:51 +02:00
NullDevice.cpp Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
NullDevice.h Kernel: Allow opening some device nodes sparingly for jailed processes 2022-12-09 23:09:00 -07:00
PCISerialDevice.cpp Kernel: Introduce the IOWindow class 2022-09-23 17:22:15 +01:00
PCISerialDevice.h Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
RandomDevice.cpp Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
RandomDevice.h Kernel: Allow opening some device nodes sparingly for jailed processes 2022-12-09 23:09:00 -07:00
SelfTTYDevice.cpp Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
SelfTTYDevice.h Kernel: Allow opening some device nodes sparingly for jailed processes 2022-12-09 23:09:00 -07:00
SerialDevice.cpp Kernel: Introduce the IOWindow class 2022-09-23 17:22:15 +01:00
SerialDevice.h Kernel: Turn lock ranks into template parameters 2023-01-02 18:15:27 -05:00
ZeroDevice.cpp Everywhere: Remove unused includes of AK/Memory.h 2023-01-02 20:27:20 -05:00
ZeroDevice.h Kernel: Allow opening some device nodes sparingly for jailed processes 2022-12-09 23:09:00 -07:00