attached_mmio: Support sub-page MMIO resources

This commit is contained in:
Norman Feske 2013-09-15 17:33:07 +02:00
parent 35118f0a32
commit c9194a2af4
1 changed files with 1 additions and 1 deletions

View File

@ -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)) { }
};
}