summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2018-11-15 13:15:24 +0800
committerPeng Fan <peng.fan@nxp.com>2018-11-15 16:36:22 +0800
commite1610fa574b20794c184e00d86c9d0f7505672f1 (patch)
treeaffbb2f06355d0296ef4fdf90040323f8dd00370 /arch
parentaa08894ff41b37f951e2875291763987b13fff85 (diff)
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/cpu/armv8/xen/hypercall.S19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv8/xen/hypercall.S b/arch/arm/cpu/armv8/xen/hypercall.S
index fb8d05ac276..4d800d2aa00 100644
--- a/arch/arm/cpu/armv8/xen/hypercall.S
+++ b/arch/arm/cpu/armv8/xen/hypercall.S
@@ -7,8 +7,27 @@
#include <xen.h>
.globl HYPERVISOR_console_io;
+.globl HYPERVISOR_event_channel_op;
+.globl HYPERVISOR_hvm_op;
+.globl HYPERVISOR_sched_op;
+
.align 4;
HYPERVISOR_console_io:
mov x16, __HYPERVISOR_console_io;
hvc 0xEA1;
ret;
+
+HYPERVISOR_event_channel_op:
+ mov x16, __HYPERVISOR_event_channel_op;
+ hvc 0xEA1;
+ ret;
+
+HYPERVISOR_hvm_op:
+ mov x16, __HYPERVISOR_hvm_op;
+ hvc 0xEA1;
+ ret;
+
+HYPERVISOR_sched_op:
+ mov x16, __HYPERVISOR_sched_op;
+ hvc 0xEA1;
+ ret;