mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-30 08:03:59 +00:00
parent
a41d46e193
commit
5a2e7a8d66
@ -386,7 +386,7 @@ void Platform::_init_rom_modules()
|
||||
addr_t const boot_info_extra = boot_info_page + 4096;
|
||||
|
||||
seL4_BootInfoHeader const * element = reinterpret_cast<seL4_BootInfoHeader *>(boot_info_extra);
|
||||
seL4_BootInfoHeader const * const last = reinterpret_cast<seL4_BootInfoHeader const * const>(boot_info_extra + bi.extraLen);
|
||||
seL4_BootInfoHeader const * const last = reinterpret_cast<seL4_BootInfoHeader const *>(boot_info_extra + bi.extraLen);
|
||||
|
||||
for (seL4_BootInfoHeader const *next = nullptr;
|
||||
(next = reinterpret_cast<seL4_BootInfoHeader const *>(reinterpret_cast<addr_t>(element) + element->len)) &&
|
||||
|
@ -49,7 +49,7 @@ void Ram_dataspace_factory::_clear_ds (Dataspace_component &ds)
|
||||
if (!virt_addr_ptr)
|
||||
ASSERT_NEVER_CALLED;
|
||||
|
||||
addr_t const virt_addr = reinterpret_cast<addr_t const>(virt_addr_ptr);
|
||||
addr_t const virt_addr = reinterpret_cast<addr_t>(virt_addr_ptr);
|
||||
|
||||
/* map each page of dataspace one at a time and clear it */
|
||||
for (addr_t offset = 0; offset < page_rounded_size; offset += get_page_size())
|
||||
|
Loading…
x
Reference in New Issue
Block a user