mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
parent
7c1a4522d6
commit
2f55ffdf20
@ -422,6 +422,7 @@ __SYS_(void *, mmap, (void *addr, ::size_t length,
|
||||
errno = ENOMEM;
|
||||
return MAP_FAILED;
|
||||
}
|
||||
::memset(start, 0, align_addr(length, PAGE_SHIFT));
|
||||
mmap_registry()->insert(start, length, 0);
|
||||
return start;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user