/openbmc/linux/arch/x86/platform/efi/ |
H A D | efi.c | 73 &efi.acpi, 74 &efi.acpi20, 75 &efi.smbios, 76 &efi.smbios3, 84 &efi.esrt, 90 &efi.tpm_log, 91 &efi.tpm_final_log, 94 &efi.mokvar_table, 97 &efi.coco_secret, 100 &efi.unaccepted, [all …]
|
/openbmc/linux/drivers/firmware/efi/ |
H A D | memmap.c | 58 set_bit(EFI_MEMMAP, &efi.flags); in __efi_memmap_init() 60 efi.memmap = map; in __efi_memmap_init() 75 WARN_ON(efi.memmap.flags & EFI_MEMMAP_LATE); in efi_memmap_init_early() 86 if (!(efi.memmap.flags & EFI_MEMMAP_LATE)) { in efi_memmap_unmap() 89 size = efi.memmap.desc_size * efi.memmap.nr_map; in efi_memmap_unmap() 90 early_memunmap(efi.memmap.map, size); in efi_memmap_unmap() 92 memunmap(efi.memmap.map); in efi_memmap_unmap() 95 efi.memmap.map = NULL; in efi_memmap_unmap() 96 clear_bit(EFI_MEMMAP, &efi.flags); in efi_memmap_unmap() 131 WARN_ON(efi.memmap.map); in efi_memmap_init_late() [all …]
|
H A D | tpm.c | 47 if (efi.tpm_log == EFI_INVALID_TABLE_ADDR) { in efi_tpm_eventlog_init() 55 log_tbl = early_memremap(efi.tpm_log, sizeof(*log_tbl)); in efi_tpm_eventlog_init() 58 efi.tpm_log); in efi_tpm_eventlog_init() 59 efi.tpm_log = EFI_INVALID_TABLE_ADDR; in efi_tpm_eventlog_init() 64 memblock_reserve(efi.tpm_log, tbl_size); in efi_tpm_eventlog_init() 66 if (efi.tpm_final_log == EFI_INVALID_TABLE_ADDR) { in efi_tpm_eventlog_init() 74 final_tbl = early_memremap(efi.tpm_final_log, sizeof(*final_tbl)); in efi_tpm_eventlog_init() 78 efi.tpm_final_log); in efi_tpm_eventlog_init() 79 efi.tpm_final_log = EFI_INVALID_TABLE_ADDR; in efi_tpm_eventlog_init() 86 void *events = (void *)efi.tpm_final_log in efi_tpm_eventlog_init() [all …]
|
H A D | efi.c | 38 struct efi __read_mostly efi = { variable 57 EXPORT_SYMBOL(efi); 105 set_bit(EFI_DBG, &efi.flags); in parse_efi_cmdline() 114 set_bit(EFI_MEM_NO_SOFT_RESERVE, &efi.flags); in parse_efi_cmdline() 136 if (efi.acpi20 != EFI_INVALID_TABLE_ADDR) in systab_show() 137 str += sprintf(str, "ACPI20=0x%lx\n", efi.acpi20); in systab_show() 138 if (efi.acpi != EFI_INVALID_TABLE_ADDR) in systab_show() 139 str += sprintf(str, "ACPI=0x%lx\n", efi.acpi); in systab_show() 145 if (efi.smbios3 != EFI_INVALID_TABLE_ADDR) in systab_show() 146 str += sprintf(str, "SMBIOS3=0x%lx\n", efi.smbios3); in systab_show() [all …]
|
H A D | runtime-wrappers.c | 43 arch_efi_call_virt(efi.runtime, f, args) 447 status = efi_call_virt_pointer(efi.runtime, set_variable, name, vendor, in virt_efi_set_variable_nb() 461 if (efi.runtime_version < EFI_2_00_SYSTEM_TABLE_REVISION) in virt_efi_query_variable_info() 478 if (efi.runtime_version < EFI_2_00_SYSTEM_TABLE_REVISION) in virt_efi_query_variable_info_nb() 484 status = efi_call_virt_pointer(efi.runtime, query_variable_info, attr, in virt_efi_query_variable_info_nb() 515 arch_efi_call_virt(efi.runtime, reset_system, reset_type, status, in virt_efi_reset_system() 528 if (efi.runtime_version < EFI_2_00_SYSTEM_TABLE_REVISION) in virt_efi_update_capsule() 545 if (efi.runtime_version < EFI_2_00_SYSTEM_TABLE_REVISION) in virt_efi_query_capsule_caps() 558 efi.get_time = virt_efi_get_time; in efi_native_runtime_setup() 559 efi.set_time = virt_efi_set_time; in efi_native_runtime_setup() [all …]
|
/openbmc/qemu/tests/uefi-test-tools/ |
H A D | uefi-test-build.config | 12 cpy1 = ARM/BiosTablesTest.efi bios-tables-test.arm.efi 22 cpy1 = AARCH64/BiosTablesTest.efi bios-tables-test.aarch64.efi 32 cpy1 = RISCV64/BiosTablesTest.efi bios-tables-test.riscv64.efi 42 cpy1 = IA32/BiosTablesTest.efi bios-tables-test.i386.efi 52 cpy1 = X64/BiosTablesTest.efi bios-tables-test.x86_64.efi
|
/openbmc/openbmc/meta-security/meta-tpm/recipes-tpm2/tpm2-tcti-uefi/files/ |
H A D | configure_oe_fixup.patch | 8 @@ -84,9 +84,6 @@ AC_ARG_WITH([efi-lds], 9 AS_HELP_STRING([--with-efi-lds=LDS_PATH],[Path to gnu-efi lds file.]), 17 # path to object file from gnu-efi 18 @@ -94,9 +91,6 @@ AC_ARG_WITH([efi-crt0], 19 AS_HELP_STRING([--with-efi-crt0=OBJ_PATH],[Path to gnu-efi crt0 object file.]), 21 [with_efi_crt0="/usr/lib/crt0-efi-${ARCH}.o"]) 27 # check for efi and gnuefi libraries
|
/openbmc/openbmc/meta-security/meta-tpm/recipes-tpm2/tpm2-tcti-uefi/ |
H A D | tpm2-tcti-uefi_0.9.9.bb | 5 DEPENDS = "libtss2-dev libtss2-mu-dev gnu-efi-native gnu-efi pkgconfig autoconf-archive-native" 26 CFLAGS:append = " -I${STAGING_INCDIR}/efi -I${STAGING_INCDIR}/efi/${EFI_ARCH}" 29 --with-efi-includedir=${STAGING_INCDIR} \ 30 --with-efi-crt0=${STAGING_LIBDIR}/crt0-efi-${EFI_ARCH}.o \ 31 --with-efi-lds=${STAGING_LIBDIR}/elf_${EFI_ARCH}_efi.lds \ 40 install -m 0755 "${B}"/example/*.efi "${D}${EFIDIR}" 47 RDEPENDS:${PN} = "gnu-efi libtss2-mu"
|
/openbmc/qemu/roms/ |
H A D | Makefile | 7 pxe-rom-e1000 efi-rom-e1000 : VID := 8086 8 pxe-rom-e1000 efi-rom-e1000 : DID := 100e 9 pxe-rom-e1000e efi-rom-e1000e : VID := 8086 10 pxe-rom-e1000e efi-rom-e1000e : DID := 10d3 11 pxe-rom-eepro100 efi-rom-eepro100 : VID := 8086 12 pxe-rom-eepro100 efi-rom-eepro100 : DID := 1209 13 pxe-rom-ne2k_pci efi-rom-ne2k_pci : VID := 1050 14 pxe-rom-ne2k_pci efi-rom-ne2k_pci : DID := 0940 15 pxe-rom-pcnet efi-rom-pcnet : VID := 1022 16 pxe-rom-pcnet efi-rom-pcnet : DID := 2000 [all …]
|
/openbmc/linux/drivers/firmware/efi/libstub/ |
H A D | Makefile.zboot | 50 $(obj)/zboot-header.o: $(srctree)/drivers/firmware/efi/libstub/zboot-header.S FORCE 53 ZBOOT_DEPS := $(obj)/zboot-header.o $(objtree)/drivers/firmware/efi/libstub/lib.a 55 LDFLAGS_vmlinuz.efi.elf := -T $(srctree)/drivers/firmware/efi/libstub/zboot.lds 56 $(obj)/vmlinuz.efi.elf: $(obj)/vmlinuz.o $(ZBOOT_DEPS) FORCE 59 OBJCOPYFLAGS_vmlinuz.efi := -O binary 60 $(obj)/vmlinuz.efi: $(obj)/vmlinuz.efi.elf FORCE 63 targets += zboot-header.o vmlinux.bin vmlinuz vmlinuz.o vmlinuz.efi.elf vmlinuz.efi
|
/openbmc/openbmc/meta-security/meta-tpm/recipes-tpm2/tpm2-tcti-uefi/tpm2-tcti-uefi/ |
H A D | 0001-configure.ac-stop-inserting-host-directories-into-co.patch | 23 -AC_CHECK_HEADERS([efi.h efilib.h], 25 - [AC_MSG_ERROR([Missing gnu-efi headers.])], 26 - [#include <efi.h>]) 29 # path to linker script from gnu-efi 30 @@ -81,7 +77,7 @@ AC_ARG_WITH([efi-lds], 31 AS_HELP_STRING([--with-efi-lds=LDS_PATH],[Path to gnu-efi lds file.]), 37 # path to object file from gnu-efi 38 AC_ARG_WITH([efi-crt0],
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-firmware-efi-runtime-map | 1 What: /sys/firmware/efi/runtime-map/ 4 Description: Switching efi runtime services to virtual mode requires 5 that all efi memory ranges which have the runtime attribute 8 The efi runtime services can only be switched to virtual 14 /sys/firmware/efi/runtime-map/ is the directory the kernel 19 /sys/firmware/efi/runtime-map/0 20 /sys/firmware/efi/runtime-map/1 21 /sys/firmware/efi/runtime-map/2 22 /sys/firmware/efi/runtime-map/3
|
H A D | sysfs-firmware-efi-esrt | 1 What: /sys/firmware/efi/esrt/ 10 What: /sys/firmware/efi/esrt/fw_resource_count 15 What: /sys/firmware/efi/esrt/fw_resource_count_max 22 What: /sys/firmware/efi/esrt/fw_resource_version 27 What: /sys/firmware/efi/esrt/entries/entry<N>/ 32 example: /sys/firmware/efi/esrt/entries/entry0/ 34 What: /sys/firmware/efi/esrt/entries/entry<N>/fw_type 46 What: /sys/firmware/efi/esrt/entries/entry<N>/fw_class 51 What: /sys/firmware/efi/esrt/entries/entry<N>/fw_version 57 What: /sys/firmware/efi/esrt/entries/entry<N>/lowest_supported_fw_version [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/syslinux/syslinux/ |
H A D | 0013-remove-clean-script.patch | 13 efi/Makefile | 1 - 16 diff --git a/efi/Makefile b/efi/Makefile 18 --- a/efi/Makefile 19 +++ b/efi/Makefile 24 - $(topdir)/efi/clean-gnu-efi.sh $(EFI_SUBARCH) $(objdir)
|
/openbmc/linux/drivers/xen/ |
H A D | efi.c | 192 if (efi.runtime_version < EFI_2_00_SYSTEM_TABLE_REVISION) in xen_efi_query_variable_info() 224 if (efi.runtime_version < EFI_2_00_SYSTEM_TABLE_REVISION) in xen_efi_update_capsule() 243 if (efi.runtime_version < EFI_2_00_SYSTEM_TABLE_REVISION) in xen_efi_query_capsule_caps() 281 efi.get_time = xen_efi_get_time; in xen_efi_runtime_setup() 282 efi.set_time = xen_efi_set_time; in xen_efi_runtime_setup() 283 efi.get_wakeup_time = xen_efi_get_wakeup_time; in xen_efi_runtime_setup() 284 efi.set_wakeup_time = xen_efi_set_wakeup_time; in xen_efi_runtime_setup() 285 efi.get_variable = xen_efi_get_variable; in xen_efi_runtime_setup() 286 efi.get_next_variable = xen_efi_get_next_variable; in xen_efi_runtime_setup() 287 efi.set_variable = xen_efi_set_variable; in xen_efi_runtime_setup() [all …]
|
/openbmc/u-boot/board/efi/efi-x86_payload/ |
H A D | MAINTAINERS | 4 F: board/efi/efi-x86_payload/ 5 F: include/configs/efi-x86_payload.h 6 F: configs/efi-x86_payload32_defconfig 7 F: configs/efi-x86_payload64_defconfig
|
/openbmc/linux/drivers/nvdimm/ |
H A D | nd.h | 44 return nd_label->efi.name; in nsl_ref_name() 52 return memcpy(name, nd_label->efi.name, NSLABEL_NAME_LEN); in nsl_get_name() 62 return memcpy(nd_label->efi.name, name, NSLABEL_NAME_LEN); in nsl_set_name() 70 return __le32_to_cpu(nd_label->efi.slot); in nsl_get_slot() 79 nd_label->efi.slot = __cpu_to_le32(slot); in nsl_set_slot() 87 return __le64_to_cpu(nd_label->efi.checksum); in nsl_get_checksum() 97 nd_label->efi.checksum = __cpu_to_le64(checksum); in nsl_set_checksum() 105 return __le32_to_cpu(nd_label->efi.flags); in nsl_get_flags() 114 nd_label->efi.flags = __cpu_to_le32(flags); in nsl_set_flags() 122 return __le64_to_cpu(nd_label->efi.dpa); in nsl_get_dpa() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-bsp/fwupd/fwupd-efi/ |
H A D | 0001-efi-generate_binary.py-Use-env-to-detect-python3.patch | 4 Subject: [PATCH] efi/generate_binary.py: Use env to detect python3 11 efi/generate_binary.py | 2 +- 14 diff --git a/efi/generate_binary.py b/efi/generate_binary.py 16 --- a/efi/generate_binary.py 17 +++ b/efi/generate_binary.py
|
/openbmc/linux/Documentation/admin-guide/ |
H A D | efi-stub.rst | 10 arch/x86/boot/header.S and drivers/firmware/efi/libstub/x86-stub.c, 12 arch/arm/boot/compressed/efi-header.S and 13 drivers/firmware/efi/libstub/arm32-stub.c. EFI stub code that is shared 14 between architectures is in drivers/firmware/efi/libstub. 18 kernel. The arm64 EFI stub lives in arch/arm64/kernel/efi-entry.S 19 and drivers/firmware/efi/libstub/arm64-stub.c. 29 How to install bzImage.efi 33 System Partition (ESP) and renamed with the extension ".efi". Without 35 not possible to execute bzImage.efi from the usual Linux file systems 45 Arguments to the kernel can be passed after bzImage.efi, e.g.:: [all …]
|
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/ |
H A D | test_dsp_r1_extpdpv.c | 6 int rt, rs, ach, acl, dsp, pos, efi; in main() local 25 efi = (dsp >> 14) & 0x01; in main() 27 assert(efi == 0); in main() 43 efi = (dsp >> 14) & 0x01; in main() 44 assert(efi == 1); in main()
|
H A D | test_dsp_r1_extpdp.c | 6 int rt, ach, acl, dsp, pos, efi; in main() local 24 efi = (dsp >> 14) & 0x01; in main() 26 assert(efi == 0); in main() 42 efi = (dsp >> 14) & 0x01; in main() 43 assert(efi == 1); in main()
|
/openbmc/u-boot/doc/ |
H A D | README.u-boot_on_efi | 68 and CONFIG_EFI_APP. The efi-x86_app config (efi-x86_app_defconfig) is set up 71 make efi-x86_app_defconfig 76 CONFIG_EFI_STUB_64BIT. The efi-x86_payload configs (efi-x86_payload32_defconfig 77 and efi-x86_payload32_defconfig) are set up for this. Then build U-Boot as 80 make efi-x86_payload32_defconfig (or efi-x86_payload64_defconfig) 85 u-boot-app.efi - U-Boot EFI application 86 u-boot-payload.efi - U-Boot EFI payload application 95 mkdir /tmp/efi 96 cp /path/to/u-boot*.efi /tmp/efi 97 qemu-system-x86_64 -bios bios.bin -hda fat:/tmp/efi/ [all …]
|
/openbmc/u-boot/board/efi/ |
H A D | Kconfig | 8 bool "efi application" 16 bool "efi payload" 25 source "board/efi/efi-x86_app/Kconfig" 26 source "board/efi/efi-x86_payload/Kconfig"
|
/openbmc/linux/arch/loongarch/boot/ |
H A D | Makefile | 9 OBJCOPYFLAGS_vmlinux.efi := -O binary $(strip-flags) 18 targets += vmlinux.efi 19 $(obj)/vmlinux.efi: vmlinux FORCE 22 EFI_ZBOOT_PAYLOAD := vmlinux.efi 26 include $(srctree)/drivers/firmware/efi/libstub/Makefile.zboot
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/ssiapi/ssiapi/ |
H A D | 0001-Don-t-use-__GNUC_PREREQ.patch | 15 lib/efi/efi.h | 4 ++-- 23 diff --git a/lib/efi/efi.h b/lib/efi/efi.h 25 --- a/lib/efi/efi.h 26 +++ b/lib/efi/efi.h
|