Home
last modified time | relevance | path

Searched refs:efi (Results 1 – 25 of 284) sorted by relevance

12345678910>>...12

/openbmc/linux/arch/x86/platform/efi/
H A Defi.c73 &efi.acpi,
74 &efi.acpi20,
75 &efi.smbios,
76 &efi.smbios3,
84 &efi.esrt,
90 &efi.tpm_log,
94 &efi.mokvar_table,
97 &efi.coco_secret,
100 &efi.unaccepted,
594 return efi.memmap.map_end - efi.memmap.desc_size; in efi_map_next_entry_reverse()
[all …]
/openbmc/linux/drivers/firmware/efi/
H A Dmemmap.c58 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 Dtpm.c46 if (efi.tpm_log == EFI_INVALID_TABLE_ADDR) { in efi_tpm_eventlog_init()
54 log_tbl = early_memremap(efi.tpm_log, sizeof(*log_tbl)); in efi_tpm_eventlog_init()
57 efi.tpm_log); in efi_tpm_eventlog_init()
58 efi.tpm_log = EFI_INVALID_TABLE_ADDR; in efi_tpm_eventlog_init()
63 memblock_reserve(efi.tpm_log, tbl_size); in efi_tpm_eventlog_init()
65 if (efi.tpm_final_log == EFI_INVALID_TABLE_ADDR) { in efi_tpm_eventlog_init()
73 final_tbl = early_memremap(efi.tpm_final_log, sizeof(*final_tbl)); in efi_tpm_eventlog_init()
77 efi.tpm_final_log); in efi_tpm_eventlog_init()
78 efi.tpm_final_log = EFI_INVALID_TABLE_ADDR; in efi_tpm_eventlog_init()
85 void *events = (void *)efi.tpm_final_log in efi_tpm_eventlog_init()
[all …]
H A Defi.c38 struct efi __read_mostly efi = { variable
57 EXPORT_SYMBOL(efi);
105 set_bit(EFI_DBG, &efi.flags); in parse_efi_cmdline()
136 if (efi.acpi20 != EFI_INVALID_TABLE_ADDR) in systab_show()
138 if (efi.acpi != EFI_INVALID_TABLE_ADDR) in systab_show()
147 if (efi.smbios != EFI_INVALID_TABLE_ADDR) in systab_show()
202 if (!efi.get_next_variable) in generic_ops_supported()
384 efi.runtime_supported_mask = 0; in efisubsys_init()
389 if (efi.runtime_supported_mask) { in efisubsys_init()
399 efi.runtime_supported_mask = 0; in efisubsys_init()
[all …]
H A Druntime-wrappers.c43 arch_efi_call_virt(efi.runtime, f, args)
461 if (efi.runtime_version < EFI_2_00_SYSTEM_TABLE_REVISION) in virt_efi_query_variable_info()
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()
560 efi.get_wakeup_time = virt_efi_get_wakeup_time; in efi_native_runtime_setup()
561 efi.set_wakeup_time = virt_efi_set_wakeup_time; in efi_native_runtime_setup()
562 efi.get_variable = virt_efi_get_variable; in efi_native_runtime_setup()
563 efi.get_next_variable = virt_efi_get_next_variable; in efi_native_runtime_setup()
564 efi.set_variable = virt_efi_set_variable; in efi_native_runtime_setup()
567 efi.reset_system = virt_efi_reset_system; in efi_native_runtime_setup()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-bsp/fwupd/fwupd-efi/
H A Dcc.patch1 Change the efi-cc argument to take an array, so that we can pass compiler flags
4 In the long term changing the fwupd-efi build to use the standard Meson
10 diff --git a/efi/generate_sbat.py b/efi/generate_sbat.py
12 --- a/efi/generate_sbat.py
13 +++ b/efi/generate_sbat.py
23 FWUPD_URL = "https://github.com/fwupd/fwupd-efi"
31 diff --git a/efi/meson.build b/efi/meson.build
33 --- a/efi/meson.build
34 +++ b/efi/meson.build
52 option('efi-libdir', type : 'string', description : 'path to the EFI lib directory')
[all …]
/openbmc/qemu/tests/uefi-test-tools/
H A Duefi-test-build.config12 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 Dconfigure_oe_fixup.patch8 @@ -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 Dtpm2-tcti-uefi_0.9.9.bb5 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/linux/drivers/firmware/efi/libstub/
H A DMakefile.zboot50 $(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 D0001-configure.ac-stop-inserting-host-directories-into-co.patch23 -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/qemu/roms/
H A DMakefile7 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
116 efi-rom-%: build-pxe-roms build-efi-roms edk2-basetools
120 -o ../pc-bios/efi-$*.rom
127 build-efi-roms: build-pxe-roms
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-firmware-efi-runtime-map1 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 Dsysfs-firmware-efi-esrt1 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
62 What: /sys/firmware/efi/esrt/entries/entry<N>/capsule_flags
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/syslinux/syslinux/
H A D0013-remove-clean-script.patch13 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/u-boot/board/efi/efi-x86_payload/
H A DMAINTAINERS4 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/openbmc/poky/meta/recipes-core/systemd/
H A Dsystemd-boot_255.4.bb33 # install to the image as boot*.efi if its the EFI_PROVIDER,
57 install ${B}/src/boot/efi/systemd-boot*.efi ${D}${EFI_FILES_PATH}/${SYSTEMD_BOOT_IMAGE}
61 install ${B}/src/boot/efi/systemd-boot*.efi ${DEPLOYDIR}
62 install ${B}/src/boot/efi/linux*.efi.stub ${DEPLOYDIR}
63 install ${B}/src/boot/efi/addon*.efi.stub ${DEPLOYDIR}
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/
H A Dtest_dsp_r1_extpdpv.c6 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 Dtest_dsp_r1_extpdp.c6 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/linux/drivers/nvdimm/
H A Dnd.h44 return nd_label->efi.name; in nsl_ref_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()
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()
131 nd_label->efi.dpa = __cpu_to_le64(dpa); in nsl_set_dpa()
262 import_uuid(uuid, nd_label->efi.uuid); in nsl_get_uuid()
273 export_uuid(nd_label->efi.uuid, uuid); in nsl_set_uuid()
286 import_uuid(&tmp, nd_label->efi.uuid); in nsl_uuid_equal()
[all …]
/openbmc/linux/drivers/xen/
H A Defi.c281 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()
288 efi.set_variable_nonblocking = xen_efi_set_variable; in xen_efi_runtime_setup()
291 efi.update_capsule = xen_efi_update_capsule; in xen_efi_runtime_setup()
292 efi.query_capsule_caps = xen_efi_query_capsule_caps; in xen_efi_runtime_setup()
[all …]
/openbmc/linux/arch/loongarch/boot/
H A DMakefile9 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/u-boot/board/efi/
H A DKconfig8 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/Documentation/admin-guide/
H A Defi-stub.rst10 arch/x86/boot/header.S and drivers/firmware/efi/libstub/x86-stub.c,
12 arch/arm/boot/compressed/efi-header.S and
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
45 Arguments to the kernel can be passed after bzImage.efi, e.g.::
47 fs0:> bzImage.efi console=ttyS0 root=/dev/sda4
65 bzImage.efi
75 fs0:\Kernels> bzImage.efi initrd=\Kernels\initrd-large.img
[all …]
/openbmc/u-boot/board/efi/efi-x86_app/
H A DKconfig4 default "efi-x86_app"
7 default "efi"
10 default "efi"
13 default "efi-x86_app"

12345678910>>...12