mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-23 23:42:32 +00:00
parent
cec3ca6a70
commit
c0a2388978
@ -105,6 +105,9 @@ void Platform::Device_pd_component::attach_dma_mem(Genode::Dataspace_capability
|
|||||||
page = rm_session()->attach_at(ds_cap, phys);
|
page = rm_session()->attach_at(ds_cap, phys);
|
||||||
} catch (Rm_session::Out_of_metadata) {
|
} catch (Rm_session::Out_of_metadata) {
|
||||||
throw;
|
throw;
|
||||||
|
} catch (Rm_session::Region_conflict) {
|
||||||
|
/* memory already attached before - done */
|
||||||
|
return;
|
||||||
} catch (...) { }
|
} catch (...) { }
|
||||||
|
|
||||||
/* sanity check */
|
/* sanity check */
|
||||||
|
Loading…
Reference in New Issue
Block a user