Kernel: PCI MMIO no longer uses map_for_kernel()

PCI MMIO access is done by modifying the related PhysicalPage directly,
then we request to remap the region to create the mapping.
This commit is contained in:
Liav A 2020-01-21 04:33:43 +02:00 committed by Andreas Kling
commit aca317d889
Notes: sideshowbarker 2024-07-19 09:55:39 +09:00
4 changed files with 19 additions and 45 deletions

View file

@ -94,6 +94,14 @@ public:
{
}
Address(const Address& address)
: m_seg(address.seg())
, m_bus(address.bus())
, m_slot(address.slot())
, m_function(address.function())
{
}
bool is_null() const { return !m_bus && !m_slot && !m_function; }
operator bool() const { return !is_null(); }