class EfiBootShimLoader

Defined at line 59 of file ../../zircon/kernel/phys/lib/boot-shim/include/lib/boot-shim/efi-boot-shim.h

This is common implementation code for the template class EfiBootShim

<

...>

below. It defines a few types used in the public API below.

Public Methods

std::optional<acpi_lite::AcpiParser> GetAcpi (efi_system_table * systab, const char * shim_name, FILE * log)

This is called by EfiBootShim

<

...>::Init().

Errors from ACPI are logged but don't prevent Init() from succeeding.

Defined at line 135 of file ../../zircon/kernel/phys/lib/boot-shim/efi-boot-shim.cc

std::optional<acpi_lite::AcpiParser> GetAcpi (efi_system_table * systab, const char * shim_name, FILE * log)

This is called by EfiBootShim

<

...>::Init().

Errors from ACPI are logged but don't prevent Init() from succeeding.

Defined at line 135 of file ../../zircon/kernel/phys/lib/boot-shim/efi-boot-shim.cc

Error LoadAndBoot (efi_boot_services * boot_services, efi_handle image_handle, LoadFunction load, LastChanceFunction last_chance, BootFunction boot, size_t items_size, AppendItemsFunction append_items, const char * name, FILE * log)

Defined at line 158 of file ../../zircon/kernel/phys/lib/boot-shim/efi-boot-shim.cc

Error LoadAndBoot (efi_boot_services * boot_services, efi_handle image_handle, LoadFunction load, LastChanceFunction last_chance, BootFunction boot, size_t items_size, AppendItemsFunction append_items, const char * name, FILE * log)

Defined at line 158 of file ../../zircon/kernel/phys/lib/boot-shim/efi-boot-shim.cc

Error LoadAndBoot (efi_boot_services * boot_services, efi_handle image_handle, LoadFunction load, LastChanceFunction last_chance, BootFunction boot, size_t items_size, AppendItemsFunction append_items, const char * name, FILE * log)

Defined at line 158 of file ../../zircon/kernel/phys/lib/boot-shim/efi-boot-shim.cc

Error LoadAndBoot (efi_boot_services * boot_services, efi_handle image_handle, LoadFunction load, LastChanceFunction last_chance, BootFunction boot, size_t items_size, AppendItemsFunction append_items, const char * name, FILE * log)

Defined at line 158 of file ../../zircon/kernel/phys/lib/boot-shim/efi-boot-shim.cc

GetMemoryMapResult GetMemoryMap (efi_boot_services * boot_services, std::span<std::byte> buffer)

Call the UEFI GetMemoryMap function.

Defined at line 61 of file ../../zircon/kernel/phys/lib/boot-shim/efi-boot-shim.cc

GetMemoryMapResult GetMemoryMap (efi_boot_services * boot_services, std::span<std::byte> buffer)

Call the UEFI GetMemoryMap function.

Defined at line 61 of file ../../zircon/kernel/phys/lib/boot-shim/efi-boot-shim.cc

GetMemoryMapResult GetMemoryMap (efi_boot_services * boot_services, std::span<std::byte> buffer)

Call the UEFI GetMemoryMap function.

Defined at line 61 of file ../../zircon/kernel/phys/lib/boot-shim/efi-boot-shim.cc

GetMemoryMapResult GetMemoryMap (efi_boot_services * boot_services, std::span<std::byte> buffer)

Call the UEFI GetMemoryMap function.

Defined at line 61 of file ../../zircon/kernel/phys/lib/boot-shim/efi-boot-shim.cc

std::span<zbi_mem_range_t> ConvertMemoryMap (std::span<std::byte> buffer, size_t entry_size)

Take a buffer filled by UEFI GetMemoryMap and convert in place into

ZBI_TYPE_MEM_CONFIG format. The returned mem_config will reuse a leading

subspan of the buffer.

Defined at line 83 of file ../../zircon/kernel/phys/lib/boot-shim/efi-boot-shim.cc

std::span<zbi_mem_range_t> ConvertMemoryMap (std::span<std::byte> buffer, size_t entry_size)

Take a buffer filled by UEFI GetMemoryMap and convert in place into

ZBI_TYPE_MEM_CONFIG format. The returned mem_config will reuse a leading

subspan of the buffer.

Defined at line 83 of file ../../zircon/kernel/phys/lib/boot-shim/efi-boot-shim.cc

std::span<zbi_mem_range_t> ConvertMemoryMap (std::span<std::byte> buffer, size_t entry_size)

Take a buffer filled by UEFI GetMemoryMap and convert in place into

ZBI_TYPE_MEM_CONFIG format. The returned mem_config will reuse a leading

subspan of the buffer.

Defined at line 83 of file ../../zircon/kernel/phys/lib/boot-shim/efi-boot-shim.cc

std::span<zbi_mem_range_t> ConvertMemoryMap (std::span<std::byte> buffer, size_t entry_size)

Take a buffer filled by UEFI GetMemoryMap and convert in place into

ZBI_TYPE_MEM_CONFIG format. The returned mem_config will reuse a leading

subspan of the buffer.

Defined at line 83 of file ../../zircon/kernel/phys/lib/boot-shim/efi-boot-shim.cc

Records