1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 22:18:12 +00:00
serenity/Kernel/Devices/Storage
Sönke Holz f85099ea47 Kernel/Storage: Make AHCI::HBA::port_regs a flexible array member
Some real hardware apparently uses smaller BAR sizes than sizeof(HBA)
with a completely filled port_regs member.
Change the port_regs array to a flexible array member, so we don't panic
while verifying that the BAR size is large enough to map this struct.
Accesses to this array are already bounds checked against
AHCI::Limits::MaxPorts.
2024-02-24 16:36:47 -07:00
..
ATA Kernel/Storage: Make AHCI::HBA::port_regs a flexible array member 2024-02-24 16:36:47 -07: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
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: Fix StorageDevice STORAGE_DEVICE_GET_SIZE ioctl option 2024-02-24 16:01:26 -07:00
StorageDevice.h Kernel/Storage: Rename DiskPartition => StorageDevicePartition 2024-02-24 16:01:26 -07:00
StorageDevicePartition.cpp Kernel: Require StorageDevice reference for StorageDevicePartition 2024-02-24 16:01:26 -07:00
StorageDevicePartition.h Kernel: Require StorageDevice reference for StorageDevicePartition 2024-02-24 16:01:26 -07:00
StorageManagement.cpp Kernel/Storage: Rename DiskPartition => StorageDevicePartition 2024-02-24 16:01:26 -07:00
StorageManagement.h Kernel/Storage: Rename DiskPartition => StorageDevicePartition 2024-02-24 16:01:26 -07:00