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