1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:37:35 +00:00

Kernel: Use the new BAR address API for the NVMe stack

This includes changing the cached `m_bar` value to a `PhysicalAddress`
This commit is contained in:
Hendiadyoin1 2024-01-11 23:59:40 +01:00 committed by Andrew Kaster
parent 2dc20f9e39
commit bd118f4eb0
2 changed files with 6 additions and 5 deletions

View file

@ -78,7 +78,7 @@ private:
bool m_admin_queue_ready { false };
size_t m_device_count { 0 };
AK::Duration m_ready_timeout;
u32 m_bar { 0 };
PhysicalAddress m_bar { 0 };
u8 m_dbl_stride { 0 };
PCI::InterruptType m_irq_type;
QueueType m_queue_type { QueueType::IRQ };