Lines Matching +full:preserved +full:- +full:memory +full:- +full:map
1 // SPDX-License-Identifier: GPL-2.0
8 * Copyright (C) 2020-2022 Loongson Technology Corporation Limited
13 #include <linux/efi-bgrt.h>
54 if (!efi_enabled(EFI_BOOT) || !efi_systab->runtime) in efi_runtime_init()
62 efi.runtime = (efi_runtime_services_t *)efi_systab->runtime; in efi_runtime_init()
63 efi.runtime_version = (unsigned int)efi.runtime->hdr.revision; in efi_runtime_init()
91 pr_err("Could not map screen_info config table\n"); in init_screen_info()
116 efi_systab_report_header(&efi_systab->hdr, efi_systab->fw_vendor); in efi_init()
119 efi_nr_tables = efi_systab->nr_tables; in efi_init()
120 efi_config_table = (unsigned long)efi_systab->tables; in efi_init()
124 efi_config_parse_tables(config_tables, efi_systab->nr_tables, arch_tables); in efi_init()
140 data.size = tbl->map_size; in efi_init()
141 data.desc_size = tbl->desc_size; in efi_init()
142 data.desc_version = tbl->desc_ver; in efi_init()
145 panic("Unable to map EFI memory map.\n"); in efi_init()
148 * Reserve the physical memory region occupied by the EFI in efi_init()
149 * memory map table (header + descriptors). This is crucial in efi_init()
154 * critical boot services code/data regions like this are preserved. in efi_init()