]> xenbits.xensource.com Git - xen.git/commitdiff
xen: arm: p2m: use 64-bit compatible registers.
authorIan Campbell <ian.campbell@citrix.com>
Fri, 22 Feb 2013 08:58:14 +0000 (08:58 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 22 Feb 2013 12:14:55 +0000 (12:14 +0000)
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
xen/arch/arm/p2m.c
xen/include/asm-arm/cpregs.h

index c4fc05e6f579add6de5b246aaf6371b3c5b8806f..1e8c8b40279bb3a5ce4cfbfc418b32736fe2b2bb 100644 (file)
@@ -29,7 +29,7 @@ void p2m_load_VTTBR(struct domain *d)
 
     vttbr |= ((uint64_t)p2m->vmid&0xff)<<48;
 
-    WRITE_CP64(vttbr, VTTBR);
+    WRITE_SYSREG64(vttbr, VTTBR_EL2);
     isb(); /* Ensure update is visible */
 }
 
index 35c0ee65c8afcbd0876ce5086e50eb760fd666d1..ae89e40940adad90856c7ab19c938ebf2256e8c3 100644 (file)
 #define VBAR_EL1                VBAR
 #define VBAR_EL2                HVBAR
 #define VTCR_EL2                VTCR
+#define VTTBR_EL2               VTTBR
 
 #endif