/* SPDX-License-Identifier: GPL-2.0 */1/*2* Function calling ABI conversion from Linux to EFI for x86_643*4* Copyright (C) 2007 Intel Corp5* Bibo Mao <[email protected]>6* Huang Ying <[email protected]>7*/89#include <linux/linkage.h>10#include <asm/nospec-branch.h>1112SYM_FUNC_START(__efi_call)13/*14* The EFI code doesn't have any CFI, annotate away the CFI violation.15*/16ANNOTATE_NOCFI_SYM17pushq %rbp18movq %rsp, %rbp19and $~0xf, %rsp20mov 16(%rbp), %rax21subq $48, %rsp22mov %r9, 32(%rsp)23mov %rax, 40(%rsp)24mov %r8, %r925mov %rcx, %r826mov %rsi, %rcx27CALL_NOSPEC rdi28leave29RET30SYM_FUNC_END(__efi_call)313233