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