mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 22:18:12 +00:00
![]() 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. |
||
---|---|---|
.. | ||
ATA | ||
NVMe | ||
SD | ||
USB | ||
StorageController.cpp | ||
StorageController.h | ||
StorageDevice.cpp | ||
StorageDevice.h | ||
StorageDevicePartition.cpp | ||
StorageDevicePartition.h | ||
StorageManagement.cpp | ||
StorageManagement.h |