summaryrefslogtreecommitdiffstats
path: root/target/ppc/cpu.h
diff options
context:
space:
mode:
authorDavid Gibson2020-02-27 05:29:26 +0100
committerDavid Gibson2020-03-16 23:41:15 +0100
commit4c24a87f662a46264dd73f6dd05a4a0c30b2038b (patch)
tree530db6bc59a843cbe9e46fde266e81509edcbf73 /target/ppc/cpu.h
parenttarget/ppc: Only calculate RMLS derived RMA limit on demand (diff)
downloadqemu-4c24a87f662a46264dd73f6dd05a4a0c30b2038b.tar.gz
qemu-4c24a87f662a46264dd73f6dd05a4a0c30b2038b.tar.xz
qemu-4c24a87f662a46264dd73f6dd05a4a0c30b2038b.zip
target/ppc: Don't store VRMA SLBE persistently
Currently, we construct the SLBE used for VRMA translations when the LPCR is written (which controls some bits in the SLBE), then use it later for translations. This is a bit complex and confusing - simplify it by simply constructing the SLBE directly from the LPCR when we need it. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Greg Kurz <groug@kaod.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'target/ppc/cpu.h')
-rw-r--r--target/ppc/cpu.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/target/ppc/cpu.h b/target/ppc/cpu.h
index f9871b1233..5a55fb02bd 100644
--- a/target/ppc/cpu.h
+++ b/target/ppc/cpu.h
@@ -1044,9 +1044,6 @@ struct CPUPPCState {
uint32_t flags;
uint64_t insns_flags;
uint64_t insns_flags2;
-#if defined(TARGET_PPC64)
- ppc_slb_t vrma_slb;
-#endif
int error_code;
uint32_t pending_interrupts;