x86: avoid warning if memory is attached twice

Issue #1848
This commit is contained in:
Alexander Boettcher 2016-01-11 09:02:38 +01:00 committed by Christian Helmuth
parent cec3ca6a70
commit c0a2388978

View File

@ -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 */