class E820Map

Defined at line 20 of file ../../src/virtualization/bin/vmm/arch/x64/e820.h

Used to construct an E820 memory map

It is not the responsibility of this class to detect or prevent region

overlap of either same or differently typed regions.

Public Methods

void AddReservedRegion (zx_gpaddr_t addr, size_t size)

Defined at line 32 of file ../../src/virtualization/bin/vmm/arch/x64/e820.h

size_t size ()

Defined at line 36 of file ../../src/virtualization/bin/vmm/arch/x64/e820.h

void copy (cpp20::span<E820Entry> dest)

Defined at line 38 of file ../../src/virtualization/bin/vmm/arch/x64/e820.h

void E820Map (const DevMem & dev_mem, const std::vector<GuestMemoryRegion> & guest_mem)

Create a new E820 map

Parameters

dev_mem Reserved device memory. Guest memory has already been selected to not overlap with these regions.
guest_mem Guest memory regions.

Defined at line 73 of file ../../src/virtualization/bin/vmm/arch/x64/memory.cc