/openbmc/qemu/hw/loongarch/ |
H A D | boot.c | 77 static void init_efi_boot_memmap(struct efi_system_table *systab, in init_efi_boot_memmap() argument 85 guidcpy(&systab->tables[0].guid, &tbl_guid); in init_efi_boot_memmap() 86 systab->tables[0].table = (struct efi_configuration_table *)(p - start); in init_efi_boot_memmap() 87 systab->nr_tables = 1; in init_efi_boot_memmap() 104 static void init_efi_initrd_table(struct efi_system_table *systab, in init_efi_initrd_table() argument 111 guidcpy(&systab->tables[1].guid, &tbl_guid); in init_efi_initrd_table() 112 systab->tables[1].table = (struct efi_configuration_table *)(p - start); in init_efi_initrd_table() 113 systab->nr_tables = 2; in init_efi_initrd_table() 119 static void init_efi_fdt_table(struct efi_system_table *systab) in init_efi_fdt_table() argument 124 guidcpy(&systab->tables[2].guid, &tbl_guid); in init_efi_fdt_table() [all …]
|
/openbmc/linux/drivers/firmware/efi/ |
H A D | efi-init.c | 84 efi_system_table_t *systab; in uefi_init() local 88 systab = early_memremap_ro(efi_system_table, sizeof(efi_system_table_t)); in uefi_init() 89 if (systab == NULL) { in uefi_init() 98 retval = efi_systab_check_header(&systab->hdr); in uefi_init() 102 efi.runtime = systab->runtime; in uefi_init() 103 efi.runtime_version = systab->hdr.revision; in uefi_init() 105 efi_systab_report_header(&systab->hdr, efi_to_phys(systab->fw_vendor)); in uefi_init() 107 table_size = sizeof(efi_config_table_t) * systab->nr_tables; in uefi_init() 108 config_tables = early_memremap_ro(efi_to_phys(systab->tables), in uefi_init() 115 retval = efi_config_parse_tables(config_tables, systab->nr_tables, in uefi_init() [all …]
|
H A D | fdtparams.c | 87 unsigned long systab; in efi_get_fdt_params() local 93 [SYSTAB] = { &systab, sizeof(systab) }, in efi_get_fdt_params() 128 return systab; in efi_get_fdt_params()
|
H A D | efi.c | 156 static struct kobj_attribute efi_attr_systab = __ATTR_RO_MODE(systab, 0400);
|
/openbmc/linux/arch/ia64/kernel/ |
H A D | sal.c | 98 check_versions (struct ia64_sal_systab *systab) in check_versions() argument 100 sal_revision = (systab->sal_rev_major << 8) | systab->sal_rev_minor; in check_versions() 101 sal_version = (systab->sal_b_rev_major << 8) | systab->sal_b_rev_minor; in check_versions() 302 ia64_sal_init (struct ia64_sal_systab *systab) in ia64_sal_init() argument 307 if (!systab) { in ia64_sal_init() 312 if (strncmp(systab->signature, "SST_", 4) != 0) in ia64_sal_init() 315 check_versions(systab); in ia64_sal_init() 323 systab->oem_id, systab->product_id, in ia64_sal_init() 324 systab->product_id[0] ? " " : "", in ia64_sal_init() 327 p = (char *) (systab + 1); in ia64_sal_init() [all …]
|
H A D | esi.c | 51 struct ia64_sal_systab *systab; in esi_init() local 58 systab = __va(esi_phys); in esi_init() 60 if (strncmp(systab->signature, "ESIT", 4) != 0) { in esi_init() 65 p = (char *) (systab + 1); in esi_init() 66 for (i = 0; i < systab->entry_count; i++) { in esi_init() 83 esi_systab = systab; in esi_init()
|
/openbmc/u-boot/lib/efi_driver/ |
H A D | efi_uclass.c | 36 r = EFI_CALL(systab.boottime->open_protocol( in check_node_type() 70 ret = EFI_CALL(systab.boottime->open_protocol( in efi_uc_supported() 87 r = EFI_CALL(systab.boottime->close_protocol( in efi_uc_supported() 119 ret = EFI_CALL(systab.boottime->open_protocol( in efi_uc_start() 135 r = EFI_CALL(systab.boottime->close_protocol( in efi_uc_start() 166 ret = EFI_CALL(systab.boottime->close_protocol( in disconnect_child() 173 ret = EFI_CALL(systab.boottime->uninstall_protocol_interface( in disconnect_child() 219 ret = EFI_CALL(systab.boottime->open_protocol_information( in efi_uc_stop() 234 ret = EFI_CALL(systab.boottime->free_pool(entry_buffer)); in efi_uc_stop() 239 ret = EFI_CALL(systab.boottime->close_protocol( in efi_uc_stop()
|
/openbmc/u-boot/lib/efi_loader/ |
H A D | efi_runtime.c | 294 .ptr = &systab.con_in, 298 .ptr = &systab.con_out, 302 .ptr = &systab.std_err, 306 .ptr = &systab.boottime, 498 if ((map_start <= (uintptr_t)systab.tables) && in efi_set_virtual_address_map() 499 (map_end >= (uintptr_t)systab.tables)) { in efi_set_virtual_address_map() 500 char *ptr = (char *)systab.tables; in efi_set_virtual_address_map() 503 systab.tables = (struct efi_configuration_table *)ptr; in efi_set_virtual_address_map()
|
H A D | efi_boottime.c | 1413 struct efi_configuration_table *this = &systab.tables[i]; in efi_remove_configuration_table() 1414 struct efi_configuration_table *next = &systab.tables[i + 1]; in efi_remove_configuration_table() 1415 struct efi_configuration_table *end = &systab.tables[systab.nr_tables]; in efi_remove_configuration_table() 1418 systab.nr_tables--; in efi_remove_configuration_table() 1442 for (i = 0; i < systab.nr_tables; i++) { in efi_install_configuration_table() 1443 if (!guidcmp(guid, &systab.tables[i].guid)) { in efi_install_configuration_table() 1445 systab.tables[i].table = table; in efi_install_configuration_table() 1460 memcpy(&systab.tables[i].guid, guid, sizeof(*guid)); in efi_install_configuration_table() 1461 systab.tables[i].table = table; in efi_install_configuration_table() 1462 systab.nr_tables = i + 1; in efi_install_configuration_table() [all …]
|
H A D | efi_bootmgr.c | 177 bs = systab.boottime; in efi_bootmgr_load() 178 rs = systab.runtime; in efi_bootmgr_load()
|
H A D | efi_console.c | 1077 systab.con_out_handle = console_output_handle; in efi_console_register() 1078 systab.stderr_handle = console_output_handle; in efi_console_register() 1088 systab.con_in_handle = console_input_handle; in efi_console_register()
|
/openbmc/linux/drivers/firmware/efi/libstub/ |
H A D | efi-stub-entry.c | 25 efi_system_table_t *systab) in efi_pe_entry() argument 37 WRITE_ONCE(efi_system_table, systab); in efi_pe_entry()
|
H A D | zboot.c | 65 efi_zboot_entry(efi_handle_t handle, efi_system_table_t *systab) in efi_zboot_entry() argument 74 WRITE_ONCE(efi_system_table, systab); in efi_zboot_entry()
|
H A D | loongarch.c | 14 unsigned long systab);
|
H A D | efistub.h | 1147 efi_zboot_entry(efi_handle_t handle, efi_system_table_t *systab);
|
/openbmc/linux/arch/x86/platform/efi/ |
H A D | efi_32.c | 99 const efi_system_table_t *systab = (efi_system_table_t *)systab_phys; in efi_set_virtual_address_map() local 116 status = efi_call_svam(&systab->runtime, in efi_set_virtual_address_map()
|
H A D | efi_64.c | 856 const efi_system_table_t *systab = (efi_system_table_t *)systab_phys; in efi_set_virtual_address_map() local 879 efi.runtime = READ_ONCE(systab->runtime); in efi_set_virtual_address_map()
|
/openbmc/u-boot/lib/efi_selftest/ |
H A D | efi_selftest.c | 228 struct efi_system_table *systab) in efi_selftest() argument 235 systable = systab; in efi_selftest()
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-firmware-efi | 22 What: /sys/firmware/efi/systab
|
/openbmc/u-boot/include/ |
H A D | efi_loader.h | 97 extern struct efi_system_table systab; 522 struct efi_system_table *systab);
|
/openbmc/u-boot/cmd/ |
H A D | efidebug.c | 18 #define BS systab.boottime 19 #define RT systab.runtime
|
H A D | bootefi.c | 448 r = EFI_CALL(efi_selftest(&image_obj->header, &systab)); in do_bootefi()
|