]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Library/XenHypercallLib/Arm/Hypercall.S
b38e1a8f18da79e8193df7a92485c27a89ce238c
[mirror_edk2.git] / OvmfPkg / Library / XenHypercallLib / Arm / Hypercall.S
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
19 .global ASM_PFX(XenHypercall2)
20 ASM_PFX(XenHypercall2):
21 mov r12, r0
22 mov r0, r1
23 mov r1, r2
24 hvc #XEN_HYPERCALL_TAG
25 bx lr