runtime-wrappers.c (75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37) | runtime-wrappers.c (59f2a619a2db86111e8bb30f349aebff6eb75baa) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * runtime-wrappers.c - Runtime Services function call wrappers 4 * 5 * Implementation summary: 6 * ----------------------- 7 * 1. When user/kernel thread requests to execute efi_runtime_service(), 8 * enqueue work to efi_rts_wq. --- 26 unchanged lines hidden (view full) --- 35 36#include <asm/efi.h> 37 38/* 39 * Wrap around the new efi_call_virt_generic() macros so that the 40 * code doesn't get too cluttered: 41 */ 42#define efi_call_virt(f, args...) \ | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * runtime-wrappers.c - Runtime Services function call wrappers 4 * 5 * Implementation summary: 6 * ----------------------- 7 * 1. When user/kernel thread requests to execute efi_runtime_service(), 8 * enqueue work to efi_rts_wq. --- 26 unchanged lines hidden (view full) --- 35 36#include <asm/efi.h> 37 38/* 39 * Wrap around the new efi_call_virt_generic() macros so that the 40 * code doesn't get too cluttered: 41 */ 42#define efi_call_virt(f, args...) \ |
43 efi_call_virt_pointer(efi.systab->runtime, f, args) | 43 efi_call_virt_pointer(efi.runtime, f, args) |
44#define __efi_call_virt(f, args...) \ | 44#define __efi_call_virt(f, args...) \ |
45 __efi_call_virt_pointer(efi.systab->runtime, f, args) | 45 __efi_call_virt_pointer(efi.runtime, f, args) |
46 47struct efi_runtime_work efi_rts_work; 48 49/* 50 * efi_queue_work: Queue efi_runtime_service() and wait until it's done 51 * @rts: efi_runtime_service() function identifier 52 * @rts_arg<1-5>: efi_runtime_service() function arguments 53 * --- 425 unchanged lines hidden --- | 46 47struct efi_runtime_work efi_rts_work; 48 49/* 50 * efi_queue_work: Queue efi_runtime_service() and wait until it's done 51 * @rts: efi_runtime_service() function identifier 52 * @rts_arg<1-5>: efi_runtime_service() function arguments 53 * --- 425 unchanged lines hidden --- |