aboutsummaryrefslogtreecommitdiffstats
path: root/roms/edk2/OvmfPkg/Library/XenHypercallLib/Aarch64/Hypercall.S
blob: 1533d48d022b50ed0845b521c0e1c28ed90b96fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/** @file
  AArch64 implementation of XenHypercall2

  Copyright (C) 2014, Linaro Ltd.

  SPDX-License-Identifier: BSD-2-Clause-Patent

**/

#include <IndustryStandard/Xen/arch-arm/xen.h>

  .text
  .global   ASM_PFX(XenHypercall2)
ASM_PFX(XenHypercall2):
  mov     x16, x0
  mov     x0, x1
  mov     x1, x2
  hvc     #XEN_HYPERCALL_TAG
  ret