Move it into jailhouse_hypercall.h just like on the other archs. That way
the Linux driver will have access to it.

Signed-off-by: Henning Schild <[email protected]>

diff --git a/hypervisor/arch/arm64/include/asm/jailhouse_hypercall.h 
b/hypervisor/arch/arm64/include/asm/jailhouse_hypercall.h
--- a/hypervisor/arch/arm64/include/asm/jailhouse_hypercall.h
+++ b/hypervisor/arch/arm64/include/asm/jailhouse_hypercall.h
@@ -10,6 +10,8 @@
  * the COPYING file in the top-level directory.
  */
 
+#define JAILHOUSE_BASE                 0xffffc0200000
+
 #define JAILHOUSE_CALL_INS             "hvc #0x4a48"
 #define JAILHOUSE_CALL_NUM_RESULT      "x0"
 #define JAILHOUSE_CALL_ARG1            "x1"
diff --git a/hypervisor/arch/arm64/include/asm/paging.h 
b/hypervisor/arch/arm64/include/asm/paging.h
--- a/hypervisor/arch/arm64/include/asm/paging.h
+++ b/hypervisor/arch/arm64/include/asm/paging.h
@@ -161,7 +161,6 @@
 #define INVALID_PHYS_ADDR      (~0UL)
 
 #define UART_BASE              0xffffc0000000
-#define JAILHOUSE_BASE         0xffffc0200000
 
 #define REMAP_BASE             0x00100000UL
 #define NUM_REMAP_BITMAP_PAGES 4

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to