Lines Matching +full:tpl +full:- +full:support
1 /* SPDX-License-Identifier: GPL-2.0 */
6 #include <asm/processor-flags.h>
8 #include <asm/nospec-branch.h>
19 * We map the EFI regions needed for runtime services non-contiguously,
20 * with preserved alignment on virtual addresses starting from -4G down
38 * functions are implemented in assembler and support only a fixed number of
45 * pre-defined limit. The maximum number of arguments currently supported by
80 * that FCW and MXCSR (64-bit) must be initialized prior to calling in efi_fpu_begin()
93 #define EFI_X86_KERNEL_ALLOC_LIMIT (SZ_512M - 1)
109 ret = efi_call((void *)p->f, args); \
202 (efi_is_native() ? (inst)->attr \
206 (__typeof__(inst->attr)) \
207 _Generic(inst->mixed_mode.attr, \
208 u32: (unsigned long)(inst->mixed_mode.attr), \
209 default: (inst->mixed_mode.attr))
214 * output parameters, and where the 32-bit method requires a 64-bit argument,
219 * that the full 64-bit address is initialized, we zero-init the address before
222 * The FreePages boot service takes a 64-bit physical address even in 32-bit
223 * mode. For the thunk to work correctly, a native 64-bit call of
227 * so that the two 32-bit halves of addr get pushed onto the stack separately.
253 #define __efi64_argmap_create_event(type, tpl, f, c, event) \ argument
254 ((type), (tpl), (f), (c), efi64_zero_upper(event))
330 efi64_thunk(inst->mixed_mode.func, \
351 (efi_is_native() ? (inst)->func(__VA_ARGS__) \
355 _Generic(inst->func(__VA_ARGS__), \
361 (__typeof__(inst->func(__VA_ARGS__))) \