mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-07 19:34:56 +00:00
parent
a73dc1b581
commit
059bf1c576
@ -515,7 +515,7 @@ Platform::Platform() :
|
||||
aux_len = strlen(reinterpret_cast<char const *>(aux)) + 1;
|
||||
|
||||
/* if last page is unused, free it up */
|
||||
if (aux + aux_len <= rom_mem_end) {
|
||||
if (aux + aux_len <= round_page(core_local_addr) + rom_mem_size) {
|
||||
bool overlap = intersects(rom_mem_end,
|
||||
(Hip::Mem_desc *)mem_desc_base,
|
||||
num_mem_desc);
|
||||
|
Loading…
x
Reference in New Issue
Block a user