mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-08 20:05:54 +00:00
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…
x
Reference in New Issue
Block a user