Commit 559a70913b10ff75c82d3bbc9129405acf6fe0c6
1 parent
0998baa863
Exists in
smarc_8mq-imx_v2020.04_5.4.24_2.1.0
and in
1 other branch
MLK-20373-3 armv8: xen: introduce new hypercalls
Introduce new hypercalls Signed-off-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Flynn xu <flynn.xu@nxp.com> (cherry picked from commit e1610fa574b20794c184e00d86c9d0f7505672f1) (cherry picked from commit 6e9e957e8d0891e4ec3bfb4b6c2bbef747eb8812) (cherry picked from commit 46a34b4456fb895786d25721b54a10e0182cb312)
Showing 1 changed file with 19 additions and 0 deletions Inline Diff
arch/arm/cpu/armv8/xen/hypercall.S
1 | /* | 1 | /* |
2 | * Copyright 2018 NXP | 2 | * Copyright 2018 NXP |
3 | 3 | ||
4 | * SPDX-License-Identifier: GPL-2.0+ | 4 | * SPDX-License-Identifier: GPL-2.0+ |
5 | */ | 5 | */ |
6 | 6 | ||
7 | #include <xen.h> | 7 | #include <xen.h> |
8 | 8 | ||
9 | .globl HYPERVISOR_console_io; | 9 | .globl HYPERVISOR_console_io; |
10 | .globl HYPERVISOR_event_channel_op; | ||
11 | .globl HYPERVISOR_hvm_op; | ||
12 | .globl HYPERVISOR_sched_op; | ||
13 | |||
10 | .align 4; | 14 | .align 4; |
11 | HYPERVISOR_console_io: | 15 | HYPERVISOR_console_io: |
12 | mov x16, __HYPERVISOR_console_io; | 16 | mov x16, __HYPERVISOR_console_io; |
17 | hvc 0xEA1; | ||
18 | ret; | ||
19 | |||
20 | HYPERVISOR_event_channel_op: | ||
21 | mov x16, __HYPERVISOR_event_channel_op; | ||
22 | hvc 0xEA1; | ||
23 | ret; | ||
24 | |||
25 | HYPERVISOR_hvm_op: | ||
26 | mov x16, __HYPERVISOR_hvm_op; | ||
27 | hvc 0xEA1; | ||
28 | ret; | ||
29 | |||
30 | HYPERVISOR_sched_op: | ||
31 | mov x16, __HYPERVISOR_sched_op; | ||
13 | hvc 0xEA1; | 32 | hvc 0xEA1; |
14 | ret; | 33 | ret; |
15 | 34 |