1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:57:45 +00:00

Kernel: Ensure IO and memory accesses are allowed for IDE channels

This commit is contained in:
Liav A 2021-04-25 21:04:41 +03:00 committed by Andreas Kling
parent 05510e3994
commit 161a8ea062

View file

@ -53,6 +53,8 @@ UNMAP_AFTER_INIT IDEController::IDEController(PCI::Address address, bool force_p
: StorageController() : StorageController()
, PCI::DeviceController(address) , PCI::DeviceController(address)
{ {
PCI::enable_io_space(address);
PCI::enable_memory_space(address);
initialize(force_pio); initialize(force_pio);
} }