]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/Library/XenHypercallLib/Arm/Hypercall.S
OvfmPkg/XenHypercallLib: add missing GCC_ASM_EXPORT to XenHypercall2
[mirror_edk2.git] / OvmfPkg / Library / XenHypercallLib / Arm / Hypercall.S
CommitLineData
b94c3ac9
AB
1/** @file\r
2 ARM (AArch32) implementation of XenHypercall2\r
3\r
4 Copyright (C) 2014, Linaro Ltd.\r
5\r
6 This program and the accompanying materials\r
7 are licensed and made available under the terms and conditions of the BSD License\r
8 which accompanies this distribution. The full text of the license may be found at\r
9 http://opensource.org/licenses/bsd-license.php\r
10\r
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13\r
14**/\r
15\r
16#include <IndustryStandard/Xen/arch-arm/xen.h>\r
17\r
18 .text\r
ce44ee32
AB
19GCC_ASM_EXPORT(XenHypercall2)\r
20\r
b94c3ac9
AB
21ASM_PFX(XenHypercall2):\r
22 mov r12, r0\r
23 mov r0, r1\r
24 mov r1, r2\r
25 hvc #XEN_HYPERCALL_TAG\r
26 bx lr\r