Commit 559a70913b10ff75c82d3bbc9129405acf6fe0c6

Authored by Peng Fan
1 parent 0998baa863

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 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;