efi.h (2b1333b80885b896807ffb6ccf4bc21d29aa65e0) efi.h (aa6d1ed107eba26f49933216cffe797253914132)
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _ASM_X86_EFI_H
3#define _ASM_X86_EFI_H
4
5#include <asm/fpu/api.h>
6#include <asm/processor-flags.h>
7#include <asm/tlb.h>
8#include <asm/nospec-branch.h>

--- 309 unchanged lines hidden (view full) ---

318/* TCG2 protocol */
319#define __efi64_argmap_hash_log_extend_event(prot, fl, addr, size, ev) \
320 ((prot), (fl), 0ULL, (u64)(addr), 0ULL, (u64)(size), 0ULL, ev)
321
322/* DXE services */
323#define __efi64_argmap_get_memory_space_descriptor(phys, desc) \
324 (__efi64_split(phys), (desc))
325
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _ASM_X86_EFI_H
3#define _ASM_X86_EFI_H
4
5#include <asm/fpu/api.h>
6#include <asm/processor-flags.h>
7#include <asm/tlb.h>
8#include <asm/nospec-branch.h>

--- 309 unchanged lines hidden (view full) ---

318/* TCG2 protocol */
319#define __efi64_argmap_hash_log_extend_event(prot, fl, addr, size, ev) \
320 ((prot), (fl), 0ULL, (u64)(addr), 0ULL, (u64)(size), 0ULL, ev)
321
322/* DXE services */
323#define __efi64_argmap_get_memory_space_descriptor(phys, desc) \
324 (__efi64_split(phys), (desc))
325
326#define __efi64_argmap_set_memory_space_descriptor(phys, size, flags) \
326#define __efi64_argmap_set_memory_space_attributes(phys, size, flags) \
327 (__efi64_split(phys), __efi64_split(size), __efi64_split(flags))
328
329/*
330 * The macros below handle the plumbing for the argument mapping. To add a
331 * mapping for a specific EFI method, simply define a macro
332 * __efi64_argmap_<method name>, following the examples above.
333 */
334

--- 83 unchanged lines hidden ---
327 (__efi64_split(phys), __efi64_split(size), __efi64_split(flags))
328
329/*
330 * The macros below handle the plumbing for the argument mapping. To add a
331 * mapping for a specific EFI method, simply define a macro
332 * __efi64_argmap_<method name>, following the examples above.
333 */
334

--- 83 unchanged lines hidden ---