Home
last modified time | relevance | path

Searched refs:sys_table_arg (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.4/drivers/firmware/efi/libstub/
Darm64-stub.c24 efi_status_t check_platform_features(efi_system_table_t *sys_table_arg) in check_platform_features() argument
35 pr_efi_err(sys_table_arg, "This 64 KB granular kernel is not supported by your CPU\n"); in check_platform_features()
37 pr_efi_err(sys_table_arg, "This 16 KB granular kernel is not supported by your CPU\n"); in check_platform_features()
43 efi_status_t handle_kernel_image(efi_system_table_t *sys_table_arg, in handle_kernel_image() argument
59 status = efi_get_random_bytes(sys_table_arg, in handle_kernel_image()
63 pr_efi(sys_table_arg, "EFI_RNG_PROTOCOL unavailable, no randomness supplied\n"); in handle_kernel_image()
65 pr_efi_err(sys_table_arg, "efi_get_random_bytes() failed\n"); in handle_kernel_image()
69 pr_efi(sys_table_arg, "KASLR disabled on kernel command line\n"); in handle_kernel_image()
111 status = efi_random_alloc(sys_table_arg, *reserve_size, in handle_kernel_image()
142 status = efi_low_alloc(sys_table_arg, *reserve_size, in handle_kernel_image()
[all …]
Defi-stub-helper.c56 void efi_printk(efi_system_table_t *sys_table_arg, char *str) in efi_printk() argument
66 efi_char16_printk(sys_table_arg, nl); in efi_printk()
69 efi_char16_printk(sys_table_arg, ch); in efi_printk()
82 efi_status_t efi_get_memory_map(efi_system_table_t *sys_table_arg, in efi_get_memory_map() argument
133 unsigned long get_dram_base(efi_system_table_t *sys_table_arg) in get_dram_base() argument
149 status = efi_get_memory_map(sys_table_arg, &boot_map); in get_dram_base()
170 efi_status_t efi_high_alloc(efi_system_table_t *sys_table_arg, in efi_high_alloc() argument
189 status = efi_get_memory_map(sys_table_arg, &boot_map); in efi_high_alloc()
265 efi_status_t efi_low_alloc_above(efi_system_table_t *sys_table_arg, in efi_low_alloc_above() argument
283 status = efi_get_memory_map(sys_table_arg, &boot_map); in efi_low_alloc_above()
[all …]
Darm32-stub.c10 efi_status_t check_platform_features(efi_system_table_t *sys_table_arg) in check_platform_features() argument
21 pr_efi_err(sys_table_arg, "This LPAE kernel is not supported by your CPU\n"); in check_platform_features()
29 struct screen_info *alloc_screen_info(efi_system_table_t *sys_table_arg) in alloc_screen_info() argument
55 void free_screen_info(efi_system_table_t *sys_table_arg, struct screen_info *si) in free_screen_info() argument
64 static efi_status_t reserve_kernel_base(efi_system_table_t *sys_table_arg, in reserve_kernel_base() argument
122 status = efi_get_memory_map(sys_table_arg, &map); in reserve_kernel_base()
124 pr_efi_err(sys_table_arg, in reserve_kernel_base()
162 pr_efi_err(sys_table_arg, in reserve_kernel_base()
Defistub.h40 unsigned long get_dram_base(efi_system_table_t *sys_table_arg);
60 efi_status_t efi_random_alloc(efi_system_table_t *sys_table_arg,
64 efi_status_t check_platform_features(efi_system_table_t *sys_table_arg);
66 efi_status_t efi_random_get_seed(efi_system_table_t *sys_table_arg);
Dgop.c87 __gop_query32(efi_system_table_t *sys_table_arg, in __gop_query32() argument
111 setup_gop32(efi_system_table_t *sys_table_arg, struct screen_info *si, in setup_gop32() argument
148 status = __gop_query32(sys_table_arg, gop32, &info, &size, in setup_gop32()
205 __gop_query64(efi_system_table_t *sys_table_arg, in __gop_query64() argument
229 setup_gop64(efi_system_table_t *sys_table_arg, struct screen_info *si, in setup_gop64() argument
266 status = __gop_query64(sys_table_arg, gop64, &info, &size, in setup_gop64()
325 efi_status_t efi_setup_gop(efi_system_table_t *sys_table_arg, in efi_setup_gop() argument
344 status = setup_gop64(sys_table_arg, si, proto, size, in efi_setup_gop()
347 status = setup_gop32(sys_table_arg, si, proto, size, in efi_setup_gop()
Darm-stub.c40 void efi_char16_printk(efi_system_table_t *sys_table_arg, in efi_char16_printk() argument
45 out = (struct efi_simple_text_output_protocol *)sys_table_arg->con_out; in efi_char16_printk()
49 static struct screen_info *setup_graphics(efi_system_table_t *sys_table_arg) in setup_graphics() argument
61 si = alloc_screen_info(sys_table_arg); in setup_graphics()
64 efi_setup_gop(sys_table_arg, si, &gop_proto, size); in setup_graphics()
69 void install_memreserve_table(efi_system_table_t *sys_table_arg) in install_memreserve_table() argument
78 pr_efi_err(sys_table_arg, "Failed to allocate memreserve entry!\n"); in install_memreserve_table()
90 pr_efi_err(sys_table_arg, "Failed to install memreserve config table!\n"); in install_memreserve_table()
Dsecureboot.c35 enum efi_secureboot_mode efi_get_secureboot(efi_system_table_t *sys_table_arg) in efi_get_secureboot() argument
75 pr_efi(sys_table_arg, "UEFI Secure Boot is enabled.\n"); in efi_get_secureboot()
79 pr_efi_err(sys_table_arg, "Could not determine UEFI Secure Boot status.\n"); in efi_get_secureboot()
Dtpm.c39 void efi_enable_reset_attack_mitigation(efi_system_table_t *sys_table_arg) in efi_enable_reset_attack_mitigation() argument
60 void efi_retrieve_tpm2_eventlog(efi_system_table_t *sys_table_arg) in efi_retrieve_tpm2_eventlog() argument
134 efi_printk(sys_table_arg, in efi_retrieve_tpm2_eventlog()
143 final_events_table = get_efi_config_table(sys_table_arg, in efi_retrieve_tpm2_eventlog()
Drandom.c19 efi_status_t efi_get_random_bytes(efi_system_table_t *sys_table_arg, in efi_get_random_bytes() argument
68 efi_status_t efi_random_alloc(efi_system_table_t *sys_table_arg, in efi_random_alloc() argument
88 status = efi_get_memory_map(sys_table_arg, &map); in efi_random_alloc()
144 efi_status_t efi_random_get_seed(efi_system_table_t *sys_table_arg) in efi_random_get_seed() argument
Dfdt.c213 static efi_status_t exit_boot_func(efi_system_table_t *sys_table_arg, in exit_boot_func() argument
/Linux-v5.4/arch/arm/include/asm/
Defi.h53 #define efi_call_early(f, ...) sys_table_arg->boottime->f(__VA_ARGS__)
55 #define efi_call_runtime(f, ...) sys_table_arg->runtime->f(__VA_ARGS__)
64 struct screen_info *alloc_screen_info(efi_system_table_t *sys_table_arg);
/Linux-v5.4/arch/arm64/include/asm/
Defi.h96 #define efi_call_early(f, ...) sys_table_arg->boottime->f(__VA_ARGS__)
98 #define efi_call_runtime(f, ...) sys_table_arg->runtime->f(__VA_ARGS__)
109 static inline void free_screen_info(efi_system_table_t *sys_table_arg, in free_screen_info() argument
/Linux-v5.4/include/linux/
Defi.h1571 void efi_printk(efi_system_table_t *sys_table_arg, char *str);
1573 void efi_free(efi_system_table_t *sys_table_arg, unsigned long size,
1576 char *efi_convert_cmdline(efi_system_table_t *sys_table_arg,
1579 efi_status_t efi_get_memory_map(efi_system_table_t *sys_table_arg,
1582 efi_status_t efi_low_alloc_above(efi_system_table_t *sys_table_arg,
1587 efi_status_t efi_low_alloc(efi_system_table_t *sys_table_arg, in efi_low_alloc() argument
1596 return efi_low_alloc_above(sys_table_arg, size, align, addr, 0x8); in efi_low_alloc()
1599 efi_status_t efi_high_alloc(efi_system_table_t *sys_table_arg,
1603 efi_status_t efi_relocate_kernel(efi_system_table_t *sys_table_arg,
1611 efi_status_t handle_cmdline_files(efi_system_table_t *sys_table_arg,
[all …]
/Linux-v5.4/arch/x86/boot/compressed/
Deboot.c671 static efi_status_t exit_boot_func(efi_system_table_t *sys_table_arg, in exit_boot_func() argument
682 p->efi->efi_systab = (unsigned long)sys_table_arg; in exit_boot_func()
689 p->efi->efi_systab_hi = (unsigned long)sys_table_arg >> 32; in exit_boot_func()