Home
last modified time | relevance | path

Searched refs:systab (Results 1 – 22 of 22) sorted by relevance

/openbmc/qemu/hw/loongarch/
H A Dboot.c77 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 Defi-init.c84 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 Dfdtparams.c87 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 Defi.c156 static struct kobj_attribute efi_attr_systab = __ATTR_RO_MODE(systab, 0400);
/openbmc/linux/arch/ia64/kernel/
H A Dsal.c98 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 Desi.c51 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 Defi_uclass.c36 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 Defi_runtime.c294 .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 Defi_boottime.c1413 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 Defi_bootmgr.c177 bs = systab.boottime; in efi_bootmgr_load()
178 rs = systab.runtime; in efi_bootmgr_load()
H A Defi_console.c1077 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 Defi-stub-entry.c25 efi_system_table_t *systab) in efi_pe_entry() argument
37 WRITE_ONCE(efi_system_table, systab); in efi_pe_entry()
H A Dzboot.c65 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 Dloongarch.c14 unsigned long systab);
H A Defistub.h1147 efi_zboot_entry(efi_handle_t handle, efi_system_table_t *systab);
/openbmc/linux/arch/x86/platform/efi/
H A Defi_32.c99 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 Defi_64.c856 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 Defi_selftest.c228 struct efi_system_table *systab) in efi_selftest() argument
235 systable = systab; in efi_selftest()
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-firmware-efi22 What: /sys/firmware/efi/systab
/openbmc/u-boot/include/
H A Defi_loader.h97 extern struct efi_system_table systab;
522 struct efi_system_table *systab);
/openbmc/u-boot/cmd/
H A Defidebug.c18 #define BS systab.boottime
19 #define RT systab.runtime
H A Dbootefi.c448 r = EFI_CALL(efi_selftest(&image_obj->header, &systab)); in do_bootefi()