1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 06:28:13 +00:00
serenity/Kernel/Devices/Storage
Liav A 763ef690c6 Kernel/Storage: Declare proper blocking support for StorageDevices
We remove can_read() and can_write(), as both of these methods should be
implemented for proper blocking support.
For our case, the previous code will simply block the user if they tries
to read beyond the max addressable offset, which is not a correct
behavior.

Instead, just do proper EOF guarding when calling read() and write() on
such objects.
2024-02-24 16:01:26 -07:00
..
ATA Kernel: Propagate errors with TRY() where possible 2024-02-14 17:46:06 -05:00
NVMe Kernel: Move NVMeQueue's m_cq_lock to NVMePollQueue 2024-02-10 08:42:53 +01:00
SD AK: Make IndexSequence use size_t 2024-02-11 18:53:00 +01:00
USB Kernel/USB: Add a crude USB MassStorage driver :^) 2023-09-29 16:14:47 -06:00
DiskPartition.cpp Kernel: Move the Storage directory to be a new directory under Devices 2023-06-02 11:04:37 +02:00
DiskPartition.h Kernel: Move the Storage directory to be a new directory under Devices 2023-06-02 11:04:37 +02:00
StorageController.cpp Kernel: Move the Storage directory to be a new directory under Devices 2023-06-02 11:04:37 +02:00
StorageController.h Kernel: Move {Virtual,Physical}Address classes to the Memory directory 2023-06-04 21:32:34 +02:00
StorageDevice.cpp Kernel/Storage: Declare proper blocking support for StorageDevices 2024-02-24 16:01:26 -07:00
StorageDevice.h Kernel/Storage: Declare proper blocking support for StorageDevices 2024-02-24 16:01:26 -07:00
StorageManagement.cpp Everywhere: Use to_number<T> instead of to_{int,uint,float,double} 2023-12-23 20:41:07 +01:00
StorageManagement.h Kernel: Try 5 times to find the root boot drive 2023-10-17 11:50:33 -06:00