Commit e1610fa574b20794c184e00d86c9d0f7505672f1

Authored by Peng Fan
1 parent aa08894ff4

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>

Showing 1 changed file with 19 additions and 0 deletions Side-by-side Diff

arch/arm/cpu/armv8/xen/hypercall.S
... ... @@ -7,9 +7,28 @@
7 7 #include <xen.h>
8 8  
9 9 .globl HYPERVISOR_console_io;
  10 +.globl HYPERVISOR_event_channel_op;
  11 +.globl HYPERVISOR_hvm_op;
  12 +.globl HYPERVISOR_sched_op;
  13 +
10 14 .align 4;
11 15 HYPERVISOR_console_io:
12 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 32 hvc 0xEA1;
14 33 ret;