mmio: make base address member private

Ref #2196
This commit is contained in:
Martin Stein
2017-03-06 13:56:33 +01:00
committed by Christian Helmuth
parent c5cb6cb410
commit e744c76bf2
7 changed files with 18 additions and 24 deletions

View File

@ -37,7 +37,7 @@ Platform::Board::Board()
for (unsigned i = 0; true; i++) {
Mmap v(Multiboot_info(__initial_bx).phys_ram_mmap_base(i));
if (!v.base) break;
if (!v.base()) break;
Mmap::Addr::access_t base = v.read<Mmap::Addr>();
Mmap::Length::access_t size = v.read<Mmap::Length>();