1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:07:36 +00:00

IDEDiskDevice: Add sysctl variable for turning DMA on/off.

This commit is contained in:
Andreas Kling 2019-05-19 15:54:33 +02:00
parent 29863d3815
commit 5f26f83451
2 changed files with 6 additions and 2 deletions

View file

@ -53,5 +53,6 @@ private:
PhysicalRegionDescriptor m_prdt;
RetainPtr<PhysicalPage> m_dma_buffer_page;
word m_bus_master_base { 0 };
Lockable<bool> m_dma_enabled;
};