1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-18 00:52:24 +00:00
serenity/Kernel/Arch/x86_64/PCI
Pankaj Raghav b204da94b0 Kernel/Storage: Use NonnullRefPtr for storage controllers
Storage controllers are initialized during init and are never modified.
NonnullRefPtr can be safely used instead of the NonnullLockRefPtr. This
also fixes one of the UB issue that was there when using an NVMe device
because of NonnullLockRefPtr.

We can add proper locking when we need to modify the storage controllers
after init.
2023-03-15 11:25:59 +01:00
..
Controller Kernel: Reorganize Arch/x86 directory to Arch/x86_64 after i686 removal 2022-12-28 11:53:41 +01:00
IDELegacyModeController.cpp Kernel/Storage: Use NonnullRefPtr for storage controllers 2023-03-15 11:25:59 +01:00
IDELegacyModeController.h Kernel/Storage: Use NonnullRefPtr for storage controllers 2023-03-15 11:25:59 +01:00
Initializer.cpp Kernel: Reorganize Arch/x86 directory to Arch/x86_64 after i686 removal 2022-12-28 11:53:41 +01:00