mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-07 20:00:23 +00:00
nova: for clearing a ds it must be ever writable
This commit is contained in:
parent
f69b206593
commit
737a3290d9
@ -90,7 +90,7 @@ void Ram_session_component::_clear_ds(Dataspace_component *ds)
|
|||||||
if (!virt_ptr) return;
|
if (!virt_ptr) return;
|
||||||
|
|
||||||
Nova::Utcb * const utcb = reinterpret_cast<Nova::Utcb *>(Thread_base::myself()->utcb());
|
Nova::Utcb * const utcb = reinterpret_cast<Nova::Utcb *>(Thread_base::myself()->utcb());
|
||||||
const Nova::Rights rights(true, ds->writable(), true);
|
const Nova::Rights rights(true, true, true);
|
||||||
|
|
||||||
addr_t const virt_addr = reinterpret_cast<addr_t>(virt_ptr);
|
addr_t const virt_addr = reinterpret_cast<addr_t>(virt_ptr);
|
||||||
addr_t phys = ds->phys_addr();
|
addr_t phys = ds->phys_addr();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user