efi.h (abd268685a21cb5d0c991bb21a88ea0c1d2e15d8) efi.h (2931d526d5674940d916a4b513a681ee3562e574)
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/pgtable.h>
7#include <asm/processor-flags.h>
8#include <asm/tlb.h>

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

286#define __efi64_argmap_locate_device_path(protocol, path, handle) \
287 ((protocol), (path), efi64_zero_upper(handle))
288
289/* PCI I/O */
290#define __efi64_argmap_get_location(protocol, seg, bus, dev, func) \
291 ((protocol), efi64_zero_upper(seg), efi64_zero_upper(bus), \
292 efi64_zero_upper(dev), efi64_zero_upper(func))
293
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/pgtable.h>
7#include <asm/processor-flags.h>
8#include <asm/tlb.h>

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

286#define __efi64_argmap_locate_device_path(protocol, path, handle) \
287 ((protocol), (path), efi64_zero_upper(handle))
288
289/* PCI I/O */
290#define __efi64_argmap_get_location(protocol, seg, bus, dev, func) \
291 ((protocol), efi64_zero_upper(seg), efi64_zero_upper(bus), \
292 efi64_zero_upper(dev), efi64_zero_upper(func))
293
294/* LoadFile */
295#define __efi64_argmap_load_file(protocol, path, policy, bufsize, buf) \
296 ((protocol), (path), (policy), efi64_zero_upper(bufsize), (buf))
297
294/*
295 * The macros below handle the plumbing for the argument mapping. To add a
296 * mapping for a specific EFI method, simply define a macro
297 * __efi64_argmap_<method name>, following the examples above.
298 */
299
300#define __efi64_thunk_map(inst, func, ...) \
301 efi64_thunk(inst->mixed_mode.func, \

--- 62 unchanged lines hidden ---
298/*
299 * The macros below handle the plumbing for the argument mapping. To add a
300 * mapping for a specific EFI method, simply define a macro
301 * __efi64_argmap_<method name>, following the examples above.
302 */
303
304#define __efi64_thunk_map(inst, func, ...) \
305 efi64_thunk(inst->mixed_mode.func, \

--- 62 unchanged lines hidden ---