attached_mmio: Support sub-page MMIO resources
This commit is contained in:
parent
35118f0a32
commit
c9194a2af4
|
@ -49,7 +49,7 @@ namespace Genode
|
|||
Attached_mmio(addr_t base, size_t size,
|
||||
bool write_combined = false)
|
||||
: Attached_io_mem_dataspace(base, size, write_combined),
|
||||
Mmio((addr_t)local_addr<void>()) { }
|
||||
Mmio((addr_t)local_addr<void>() | (base & 0xfff)) { }
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue