Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/firmware/efi/
Defi.c28 struct efi __read_mostly efi = { variable
43 EXPORT_SYMBOL(efi);
86 if (efi.mps != EFI_INVALID_TABLE_ADDR) in systab_show()
87 str += sprintf(str, "MPS=0x%lx\n", efi.mps); in systab_show()
88 if (efi.acpi20 != EFI_INVALID_TABLE_ADDR) in systab_show()
89 str += sprintf(str, "ACPI20=0x%lx\n", efi.acpi20); in systab_show()
90 if (efi.acpi != EFI_INVALID_TABLE_ADDR) in systab_show()
91 str += sprintf(str, "ACPI=0x%lx\n", efi.acpi); in systab_show()
92 if (efi.smbios != EFI_INVALID_TABLE_ADDR) in systab_show()
93 str += sprintf(str, "SMBIOS=0x%lx\n", efi.smbios); in systab_show()
[all …]
Druntime-wrappers.c223 if (efi.runtime_version < EFI_2_00_SYSTEM_TABLE_REVISION) in virt_efi_query_variable_info()
263 if (efi.runtime_version < EFI_2_00_SYSTEM_TABLE_REVISION) in virt_efi_update_capsule()
280 if (efi.runtime_version < EFI_2_00_SYSTEM_TABLE_REVISION) in virt_efi_query_capsule_caps()
292 efi.get_time = virt_efi_get_time; in efi_native_runtime_setup()
293 efi.set_time = virt_efi_set_time; in efi_native_runtime_setup()
294 efi.get_wakeup_time = virt_efi_get_wakeup_time; in efi_native_runtime_setup()
295 efi.set_wakeup_time = virt_efi_set_wakeup_time; in efi_native_runtime_setup()
296 efi.get_variable = virt_efi_get_variable; in efi_native_runtime_setup()
297 efi.get_next_variable = virt_efi_get_next_variable; in efi_native_runtime_setup()
298 efi.set_variable = virt_efi_set_variable; in efi_native_runtime_setup()
[all …]
DKconfig40 bool "Export efi runtime maps to sysfs"
44 Export efi runtime memory maps to /sys/firmware/efi/runtime-map.
45 That memory map is used for example by kexec to set up efi virtual
48 See also Documentation/ABI/testing/sysfs-firmware-efi-runtime-map.
DMakefile4 obj-$(CONFIG_EFI) += efi.o vars.o reboot.o
6 obj-$(CONFIG_EFI_VARS_PSTORE) += efi-pstore.o
Dreboot.c33 efi.reset_system(efi_mode, EFI_SUCCESS, 0, NULL); in efi_reboot()
43 efi.reset_system(EFI_RESET_SHUTDOWN, EFI_SUCCESS, 0, NULL); in efi_power_off()
/linux-4.1.27/arch/arm64/kernel/
Defi.c100 efi.systab = early_memremap(efi_system_table, in uefi_init()
102 if (efi.systab == NULL) { in uefi_init()
107 set_bit(EFI_BOOT, &efi.flags); in uefi_init()
108 set_bit(EFI_64BIT, &efi.flags); in uefi_init()
113 if (efi.systab->hdr.signature != EFI_SYSTEM_TABLE_SIGNATURE) { in uefi_init()
118 if ((efi.systab->hdr.revision >> 16) < 2) in uefi_init()
120 efi.systab->hdr.revision >> 16, in uefi_init()
121 efi.systab->hdr.revision & 0xffff); in uefi_init()
124 c16 = early_memremap(efi_to_phys(efi.systab->fw_vendor), in uefi_init()
134 efi.systab->hdr.revision >> 16, in uefi_init()
[all …]
DMakefile35 arm64-obj-$(CONFIG_EFI) += efi.o efi-stub.o efi-entry.o
/linux-4.1.27/arch/x86/platform/efi/
Defi.c61 static struct efi efi_phys __initdata;
66 {UV_SYSTEM_TABLE_GUID, "UVsystab", &efi.uv_systab},
111 status = efi.get_time(&eft, &cap); in efi_get_time()
196 efi.memmap = &memmap; in efi_memblock_x86_reserve_range()
225 clear_bit(EFI_MEMMAP, &efi.flags); in efi_unmap_memmap()
317 efi.systab = &efi_systab; in efi_systab_init()
322 if (efi.systab->hdr.signature != EFI_SYSTEM_TABLE_SIGNATURE) { in efi_systab_init()
326 if ((efi.systab->hdr.revision >> 16) == 0) in efi_systab_init()
328 efi.systab->hdr.revision >> 16, in efi_systab_init()
329 efi.systab->hdr.revision & 0xffff); in efi_systab_init()
[all …]
Defi_64.c326 u32 table = (u32)(unsigned long)efi.systab; \
565 if (efi.runtime_version < EFI_2_00_SYSTEM_TABLE_REVISION) in efi_thunk_query_variable_info()
593 efi.get_time = efi_thunk_get_time; in efi_thunk_runtime_setup()
594 efi.set_time = efi_thunk_set_time; in efi_thunk_runtime_setup()
595 efi.get_wakeup_time = efi_thunk_get_wakeup_time; in efi_thunk_runtime_setup()
596 efi.set_wakeup_time = efi_thunk_set_wakeup_time; in efi_thunk_runtime_setup()
597 efi.get_variable = efi_thunk_get_variable; in efi_thunk_runtime_setup()
598 efi.get_next_variable = efi_thunk_get_next_variable; in efi_thunk_runtime_setup()
599 efi.set_variable = efi_thunk_set_variable; in efi_thunk_runtime_setup()
600 efi.get_next_high_mono_count = efi_thunk_get_next_high_mono_count; in efi_thunk_runtime_setup()
[all …]
Dquirks.c49 efi.set_variable(efi_dummy_name, &EFI_DUMMY_GUID, in efi_delete_dummy_variable()
71 status = efi.query_variable_info(attributes, &storage_size, in efi_query_variable_store()
95 status = efi.set_variable(efi_dummy_name, &EFI_DUMMY_GUID, in efi_query_variable_store()
115 status = efi.query_variable_info(attributes, &storage_size, in efi_query_variable_store()
234 for (i = 0; i < efi.systab->nr_tables; i++) { in efi_reuse_config()
267 set_bit(EFI_OLD_MEMMAP, &efi.flags); in efi_apply_memmap_quirks()
DMakefile1 obj-$(CONFIG_EFI) += quirks.o efi.o efi_$(BITS).o efi_stub_$(BITS).o
2 obj-$(CONFIG_ACPI_BGRT) += efi-bgrt.o
/linux-4.1.27/Documentation/ia64/
Dxen.txt38 # cp xen/xen.gz /boot/efi/efi/redhat/
40 /boot/efi/efi/redhat/vmlinuz-2.6.18.8-xen
45 # mkinitrd -f /boot/efi/efi/redhat/initrd-2.6.18.8-xen.img \
97 and copy into /boot/efi/efi/redhat/
98 # cp elilo-3.6-ia64.efi /boot/efi/efi/redhat/elilo.efi
101 # vi /boot/efi/efi/redhat/elilo.conf
148 # cp vmlinux.gz /boot/efi/efi/redhat/vmlinuz-2.6-pv_ops-xenU
150 # mkinitrd -f /boot/efi/efi/redhat/initrd-2.6-pv_ops-xenU.img \
161 kernel = "/boot/efi/efi/redhat/vmlinuz-2.6-pv_ops-xenU"
162 ramdisk = "/boot/efi/efi/redhat/initrd-2.6-pv_ops-xenU.img"
Defirtc.txt128 http://developer.intel.com/technology/efi/
/linux-4.1.27/Documentation/ABI/testing/
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
Dsysfs-firmware-efi1 What: /sys/firmware/efi/fw_vendor
8 What: /sys/firmware/efi/runtime
15 What: /sys/firmware/efi/config_table
Dsysfs-firmware-gsmi22 underlying implementation as /sys/firmware/efi/vars.
23 See Documentation/ABI/*/sysfs-firmware-efi-vars
/linux-4.1.27/Documentation/
Defi-stub.txt11 arch/arm/boot/compressed/efi-header.S and
12 arch/arm/boot/compressed/efi-stub.c. EFI stub code that is shared
13 between architectures is in drivers/firmware/efi/efi-stub-helper.c.
17 kernel. The arm64 EFI stub lives in arch/arm64/kernel/efi-entry.S
18 and arch/arm64/kernel/efi-stub.c.
28 **** How to install bzImage.efi
31 System Partition (ESP) and renamed with the extension ".efi". Without
33 not possible to execute bzImage.efi from the usual Linux file systems
42 Arguments to the kernel can be passed after bzImage.efi, e.g.
44 fs0:> bzImage.efi console=ttyS0 root=/dev/sda4
[all …]
D00-INDEX176 efi-stub.txt
Dkernel-parameters.txt1006 earlyprintk=efi
1020 Only one of vga, efi, serial, or usb debug port can
1057 efi= [EFI]
1070 your efi variable storage. Use this parameter only if
3218 reboot_type is one of bios, acpi, kbd, triple, efi, or pci,
/linux-4.1.27/arch/ia64/kernel/
Defi.c243 if ((*efi.get_time)(&tm, NULL) != EFI_SUCCESS) { in STUB_GET_TIME()
480 set_bit(EFI_BOOT, &efi.flags); in efi_init()
481 set_bit(EFI_64BIT, &efi.flags); in efi_init()
508 efi.systab = __va(ia64_boot_param->efi_systab); in efi_init()
513 if (efi.systab == NULL) in efi_init()
515 if (efi.systab->hdr.signature != EFI_SYSTEM_TABLE_SIGNATURE) in efi_init()
517 if ((efi.systab->hdr.revision >> 16) == 0) in efi_init()
520 efi.systab->hdr.revision >> 16, in efi_init()
521 efi.systab->hdr.revision & 0xffff); in efi_init()
524 c16 = __va(efi.systab->fw_vendor); in efi_init()
[all …]
Desi.c58 config_tables = __va(efi.systab->tables); in esi_init()
60 for (i = 0; i < (int) efi.systab->nr_tables; ++i) { in esi_init()
Dacpi.c70 if (efi.acpi20 != EFI_INVALID_TABLE_ADDR) in acpi_find_rsdp()
71 rsdp_phys = efi.acpi20; in acpi_find_rsdp()
72 else if (efi.acpi != EFI_INVALID_TABLE_ADDR) in acpi_find_rsdp()
DMakefile11 obj-y := entry.o efi.o efi_stub.o gate-data.o fsys.o ia64_ksyms.o irq.o irq_ia64.o \
Dsetup.c577 ia64_sal_init(__va(efi.sal_systab)); in setup_arch()
/linux-4.1.27/arch/x86/xen/
Defi.c42 set_bit(EFI_BOOT, &efi.flags); in xen_efi_init()
43 set_bit(EFI_PARAVIRT, &efi.flags); in xen_efi_init()
44 set_bit(EFI_64BIT, &efi.flags); in xen_efi_init()
DMakefile25 obj-$(CONFIG_XEN_EFI) += efi.o
/linux-4.1.27/drivers/char/
Defirtc.c177 status = efi.get_time(&eft, &cap); in efi_rtc_ioctl()
204 status = efi.set_time(&eft); in efi_rtc_ioctl()
229 status = efi.set_wakeup_time((efi_bool_t)enabled, &eft); in efi_rtc_ioctl()
239 status = efi.get_wakeup_time((efi_bool_t *)&enabled, (efi_bool_t *)&pending, &eft); in efi_rtc_ioctl()
313 efi.get_time(&eft, &cap); in efi_rtc_proc_show()
314 efi.get_wakeup_time(&enabled, &pending, &alm); in efi_rtc_proc_show()
/linux-4.1.27/drivers/rtc/
Drtc-efi.c139 status = efi.get_wakeup_time((efi_bool_t *)&wkalrm->enabled, in efi_read_alarm()
166 status = efi.set_wakeup_time((efi_bool_t)wkalrm->enabled, &eft); in efi_set_alarm()
179 status = efi.get_time(&eft, &cap); in efi_read_time()
200 status = efi.set_time(&eft); in efi_set_time()
DMakefile14 rtc-core-y += rtc-efi-platform.o
64 obj-$(CONFIG_RTC_DRV_EFI) += rtc-efi.o
DKconfig958 will be called rtc-efi.
/linux-4.1.27/arch/arm64/include/asm/
Defi.h20 __f = efi.systab->runtime->f; \
33 __f = efi.systab->runtime->f; \
/linux-4.1.27/drivers/firmware/
Dpcdp.c95 if (efi.hcdp == EFI_INVALID_TABLE_ADDR) in efi_setup_pcdp_console()
98 pcdp = early_ioremap(efi.hcdp, 4096); in efi_setup_pcdp_console()
99 printk(KERN_INFO "PCDP: v%d at 0x%lx\n", pcdp->rev, efi.hcdp); in efi_setup_pcdp_console()
DMakefile18 obj-$(CONFIG_EFI) += efi/
19 obj-$(CONFIG_UEFI_CPER) += efi/
Ddmi_scan.c578 if (efi.smbios3 != EFI_INVALID_TABLE_ADDR) { in dmi_scan_machine()
579 p = dmi_early_remap(efi.smbios3, 32); in dmi_scan_machine()
590 if (efi.smbios == EFI_INVALID_TABLE_ADDR) in dmi_scan_machine()
597 p = dmi_early_remap(efi.smbios, 32); in dmi_scan_machine()
DKconfig140 source "drivers/firmware/efi/Kconfig"
/linux-4.1.27/drivers/xen/
Defi.c194 if (efi.runtime_version < EFI_2_00_SYSTEM_TABLE_REVISION) in xen_efi_query_variable_info()
227 if (efi.runtime_version < EFI_2_00_SYSTEM_TABLE_REVISION) in xen_efi_update_capsule()
248 if (efi.runtime_version < EFI_2_00_SYSTEM_TABLE_REVISION) in xen_efi_query_capsule_caps()
290 static const struct efi efi_xen __initconst = {
339 efi = efi_xen; in xen_efi_probe()
368 efi.runtime_version = info->version; in xen_efi_probe()
DMakefile38 obj-$(CONFIG_XEN_EFI) += efi.o
/linux-4.1.27/arch/x86/include/asm/
Defi.h43 efi.systab->runtime->f)(args); \
53 efi.systab->runtime->f)(args); \
74 __s = efi_call((void *)efi.systab->runtime->f, __VA_ARGS__); \
/linux-4.1.27/arch/x86/boot/compressed/
Deboot.c1051 struct efi_info *efi; in make_boot_params() local
1094 efi = &boot_params->efi_info; in make_boot_params()
1186 struct efi_info *efi = &params->efi_info; in setup_e820() local
1193 nr_desc = efi->efi_memmap_size / efi->efi_memdesc_size; in setup_e820()
1198 unsigned long m = efi->efi_memmap; in setup_e820()
1201 m |= (u64)efi->efi_memmap_hi << 32; in setup_e820()
1204 d = (efi_memory_desc_t *)(m + (i * efi->efi_memdesc_size)); in setup_e820()
1302 struct efi_info *efi = &boot_params->efi_info; in exit_boot() local
1341 memcpy(&efi->efi_loader_signature, signature, sizeof(__u32)); in exit_boot()
1343 efi->efi_systab = (unsigned long)sys_table; in exit_boot()
[all …]
DMakefile53 $(objtree)/drivers/firmware/efi/libstub/lib.a
/linux-4.1.27/arch/x86/platform/uv/
Dbios_uv.c192 if ((efi.uv_systab == EFI_INVALID_TABLE_ADDR) || in uv_bios_init()
193 (efi.uv_systab == (unsigned long)NULL)) { in uv_bios_init()
199 tab = (struct uv_systab *)ioremap(efi.uv_systab, in uv_bios_init()
/linux-4.1.27/arch/x86/kernel/
Dkexec-bzimage64.c146 esd->fw_vendor = efi.fw_vendor; in prepare_add_efi_setup_data()
147 esd->runtime = efi.runtime; in prepare_add_efi_setup_data()
148 esd->tables = efi.config_table; in prepare_add_efi_setup_data()
149 esd->smbios = efi.smbios; in prepare_add_efi_setup_data()
Dsetup.c941 set_bit(EFI_BOOT, &efi.flags); in setup_arch()
944 set_bit(EFI_BOOT, &efi.flags); in setup_arch()
945 set_bit(EFI_64BIT, &efi.flags); in setup_arch()
/linux-4.1.27/arch/x86/platform/
DMakefile3 obj-y += efi/
/linux-4.1.27/arch/ia64/sn/kernel/
Dsetup.c324 extern struct efi efi; in sn_scan_pcdp()
326 if (efi.hcdp == EFI_INVALID_TABLE_ADDR) in sn_scan_pcdp()
329 pcdp = __va(efi.hcdp); in sn_scan_pcdp()
/linux-4.1.27/drivers/scsi/isci/
Dprobe_roms.c157 static struct efi *get_efi(void) in get_efi()
160 return &efi; in get_efi()
/linux-4.1.27/arch/mips/loongson/common/
Denv.c80 loongson_p = &(boot_p->efi.smbios.lp); in prom_init_env()
158 loongson_sysconf.vgabios_addr = boot_p->efi.smbios.vga_bios; in prom_init_env()
/linux-4.1.27/block/partitions/
DMakefile20 obj-$(CONFIG_EFI_PARTITION) += efi.o
/linux-4.1.27/drivers/firmware/efi/libstub/
DMakefile24 lib-y := efi-stub-helper.o
/linux-4.1.27/Documentation/filesystems/
Defivarfs.txt16 mount -t efivarfs none /sys/firmware/efi/efivars
/linux-4.1.27/tools/testing/selftests/efivarfs/
Defivarfs.sh3 efivarfs_mount=/sys/firmware/efi/efivars
/linux-4.1.27/arch/arm64/
DMakefile57 core-$(CONFIG_EFI_STUB) += $(objtree)/drivers/firmware/efi/libstub/lib.a
/linux-4.1.27/arch/mips/include/asm/mach-loongson/
Dboot_param.h178 struct efi_loongson efi; member
/linux-4.1.27/Documentation/ABI/stable/
Dsysfs-firmware-efi-vars1 What: /sys/firmware/efi/vars
/linux-4.1.27/drivers/acpi/
Dosl.c263 if (efi.acpi20 != EFI_INVALID_TABLE_ADDR) in acpi_os_get_root_pointer()
264 return efi.acpi20; in acpi_os_get_root_pointer()
265 else if (efi.acpi != EFI_INVALID_TABLE_ADDR) in acpi_os_get_root_pointer()
266 return efi.acpi; in acpi_os_get_root_pointer()
/linux-4.1.27/include/linux/
Defi.h810 extern struct efi { struct
842 } efi; argument
953 return test_bit(feature, &efi.flags) != 0; in efi_enabled()
/linux-4.1.27/fs/xfs/
Dxfs_bmap_util.c75 xfs_efi_log_item_t *efi; /* extent free intention */ in xfs_bmap_finish() local
89 efi = xfs_trans_get_efi(ntp, flist->xbf_count); in xfs_bmap_finish()
91 xfs_trans_log_efi_extent(ntp, efi, free->xbfi_startblock, in xfs_bmap_finish()
117 efd = xfs_trans_get_efd(ntp, efi, flist->xbf_count); in xfs_bmap_finish()
/linux-4.1.27/Documentation/x86/x86_64/
Dboot-options.txt118 efi Use efi reset_system runtime service. If EFI is not configured or the
/linux-4.1.27/arch/ia64/include/asm/sn/
Dsn_sal.h170 struct ia64_sal_systab *systab = __va(efi.sal_systab); in sn_sal_rev()
/linux-4.1.27/
DMAINTAINERS3768 L: linux-efi@vger.kernel.org
3769 T: git git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git
3771 F: Documentation/efi-stub.txt
3772 F: arch/ia64/kernel/efi.c
3774 F: arch/x86/include/asm/efi.h
3775 F: arch/x86/platform/efi/
3776 F: drivers/firmware/efi/
3777 F: include/linux/efi*.h
3783 T: git git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git
3784 L: linux-efi@vger.kernel.org
[all …]
/linux-4.1.27/arch/x86/
DKconfig1684 See Documentation/efi-stub.txt for more information.