void setBase(const Address base)
Set memory I/O base offset.
Address m_base
memory I/O base offset is added to each I/O address.
Result map(Address phys, Size size=4096, Memory::Access access=Memory::Readable|Memory::Writable|Memory::User)
Map I/O address space.
Address getBase() const
Get memory I/O base offset.
Result unmap()
Unmap I/O address space.
Memory::Range m_range
Memory range for performing I/O mappings.
unsigned long Address
A memory address.
unsigned int Size
Any sane size indicator cannot go negative.
Access
Memory access flags.