mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-21 00:23:16 +00:00
base-hw mbi: do not copy Mmap MMIO objects
This commit is contained in:
committed by
Christian Helmuth
parent
5366c8cf7e
commit
c5cb6cb410
@ -36,7 +36,7 @@ Platform::Board::Board()
|
||||
static constexpr size_t initial_map_max = 1024 * 1024 * 1024;
|
||||
|
||||
for (unsigned i = 0; true; i++) {
|
||||
Mmap v = Multiboot_info(__initial_bx).phys_ram(i);
|
||||
Mmap v(Multiboot_info(__initial_bx).phys_ram_mmap_base(i));
|
||||
if (!v.base) break;
|
||||
|
||||
Mmap::Addr::access_t base = v.read<Mmap::Addr>();
|
||||
|
Reference in New Issue
Block a user