struct PhysMapping

Defined at line 127 of file ../../zircon/kernel/phys/include/phys/handoff.h

Describes a virtual mapping present at the time of hand-off, the virtual

address range of which should be reserved during VM initialization.

Public Members

Type type
uintptr_t vaddr
size_t size
uintptr_t paddr
Permissions perms
bool kasan_shadow

Public Methods

void PhysMapping ()

Defined at line 194 of file ../../zircon/kernel/phys/include/phys/handoff.h

void PhysMapping (std::string_view name, Type type, uintptr_t vaddr, size_t size, uintptr_t paddr, Permissions perms, bool kasan_shadow)

Defined at line 196 of file ../../zircon/kernel/phys/include/phys/handoff.h

void PhysMapping (std::string_view name, Type type, uintptr_t vaddr, size_t size, uintptr_t paddr, Permissions perms, bool kasan_shadow)

Defined at line 196 of file ../../zircon/kernel/phys/include/phys/handoff.h

std::strong_ordering operator<=> (const PhysMapping & other)

It's useful to normalize mapping order on virtual base addr for more

readable kernel start-up logging.

Defined at line 209 of file ../../zircon/kernel/phys/include/phys/handoff.h

uintptr_t vaddr_end ()

Defined at line 211 of file ../../zircon/kernel/phys/include/phys/handoff.h

uintptr_t paddr_end ()

Defined at line 212 of file ../../zircon/kernel/phys/include/phys/handoff.h

void Log (const char * prefix)

Lines up with PhysVmar::Log, which calls it.

Defined at line 215 of file ../../zircon/kernel/phys/include/phys/handoff.h

Enumerations

enum Type
Name Value
kNormal 0
kMmio 1

The type of memory being mapped.

Defined at line 129 of file ../../zircon/kernel/phys/include/phys/handoff.h

Records