struct PhysHandoff

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

This holds (or points to) everything that is handed off from physboot to the

kernel proper at boot time for active initialization use. This is best used

for things that are only used temporarily to initialize other subsystems in

the kernel proper. For things where the kernel proper would be just copying

from a PhysHandoff member directly into a global variable that never changes

after boot, it's better to use BootConstants (see

<phys

/boot-constants.h>).

Public Members

const uint64_t magic
PhysBootTimes times
PhysHandoffSpan init_array
PhysHandoffSpan vmars
PhysHandoffPtr temporary_vmar
uintptr_t physmap_base
size_t physmap_size
PhysVmo zbi
PhysElfImage vdso
PhysElfImage userboot
PhysHandoffSpan extra_vmos
optional entropy_pool
ArchPhysHandoff arch_handoff
PhysHandoffSpan memory
PhysHandoffSpan cpu_topology
PhysHandoffString crashlog
PhysHandoffSpan nvram
optional platform_id
optional acpi_rsdp
optional smbios_phys
PhysHandoffSpan efi_memory_attributes
optional efi_system_table
variant uart
MappedMmioRange uart_mmio
PhysHandoffSpan mmio_deny
PhysHandoffSpan periph_ranges
optional heap_vmar

Public Methods

bool IsPhysVmoType (memalloc::Type type)

Whether the given type represents physical memory that should be turned

into a VMO.

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

bool Valid ()

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

void LogVm (const char * prefix)

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