replaces the
contents of the Virtual Time Base with the contents of the GPR.
Signed-off-by: Cyril Bur
---
V2:
Drop the use of spr_read_vtb() and just use spr_read_tbl() as a handler for
VTB
reads
Correct the permissions for user mode access of the VTB
V3:
Fix compilation for target-ppc
replaces the
contents of the Virtual Time Base with the contents of the GPR.
Signed-off-by: Cyril Bur
---
V2:
Drop the use of spr_read_vtb() and just use spr_read_tbl() as a handler for
VTB
reads
Correct the permissions for user mode access of the VTB
---
target-ppc/cpu.h| 1
-off-by: Cyril Bur
---
hw/ppc/spapr.c | 8 +++
target-ppc/kvm.c | 62
target-ppc/kvm_ppc.h | 6 +
3 files changed, 76 insertions(+)
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
index 6b48a26..391d47a 100644
--- a/hw/ppc