os: pass Env on in Attached_mmio constructor

Issue #1987.
This commit is contained in:
Josef Söntgen 2017-01-02 14:51:01 +01:00 committed by Norman Feske
parent b9d02cd96a
commit d10a69c7bc

View File

@ -47,6 +47,18 @@ class Genode::Attached_mmio : public Attached_io_mem_dataspace,
* \throw Parent::Unavailable
* \throw Rm_session::Attach_failed
*/
Attached_mmio(Env &env, addr_t base, size_t size,
bool write_combined = false)
: Attached_io_mem_dataspace(env, base, size, write_combined),
Mmio((addr_t)local_addr<void>()) { }
/**
* Constructor
*
* \noapi
* \deprecated Use the constructor with 'Env &' as first
* argument instead
*/
Attached_mmio(addr_t base, size_t size,
bool write_combined = false)
: Attached_io_mem_dataspace(base, size, write_combined),