mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
xen: arm: p2m: use 64-bit compatible registers.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Tim Deegan <tim@xen.org>
This commit is contained in:
1 parent
f04b8e6c7f
commit
c95d4af5bb
2 files changed
+2
-1
No files matched your search
+1
-1
@@ -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 */
|
||||
}
|
||||
|
||||
|
||||
@@ -277,6 +277,7 @@
|
||||
#define VBAR_EL1 VBAR
|
||||
#define VBAR_EL2 HVBAR
|
||||
#define VTCR_EL2 VTCR
|
||||
#define VTTBR_EL2 VTTBR
|
||||
|
||||
#endif
|
||||
|
||||
|
||||