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