LF OS
Hobby operating system for amd64 with high ambitions
|
#include <log.h>
#include <string.h>
#include <stdbool.h>
#include <efi.h>
#include <acpi.h>
#include <vm.h>
Go to the source code of this file.
Functions | |
struct vm_table * | efi_setup_mapping (struct LoaderStruct *loaderStruct) |
void | init_efi (struct LoaderStruct *loaderStruct) |
void | efi_append_log (char *msg) |
Variables | |
static EFI_GUID | gVendorLFOSGuid |
static EFI_SYSTEM_TABLE * | gST = 0 |
void efi_append_log | ( | char * | msg | ) |
struct vm_table * efi_setup_mapping | ( | struct LoaderStruct * | loaderStruct | ) |
Definition at line 14 of file efi.c.
References addr, MemoryRegion::flags, logd, MEMORY_REGION_FIRMWARE, MEMORY_REGION_WB, MEMORY_REGION_WC, MEMORY_REGION_WP, MEMORY_REGION_WT, LoaderStruct::num_mem_desc, MemoryRegion::num_pages, LoaderStruct::size, MemoryRegion::start_address, vm_context_map(), and vm_context_new().
void init_efi | ( | struct LoaderStruct * | loaderStruct | ) |
Definition at line 53 of file efi.c.
References efi_setup_mapping(), LoaderStruct::firmware_info, gST, init_acpi_efi(), loge, logi, logw, vm_context_activate(), and vm_current_context().