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