aboutsummaryrefslogtreecommitdiff
path: root/target/openrisc/machine.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2018-05-22 20:18:20 -0700
committerStafford Horne <shorne@gmail.com>2018-07-03 00:05:28 +0900
commit56c3a1415653bd485b06e718c6f14e32dcfe59b3 (patch)
treebef14b0bd627ac359459d322be0f64d78c69969a /target/openrisc/machine.c
parentb9bed1b9ab37a6ae62e88a52cbcbd2ad81aa1056 (diff)
downloadqemu-56c3a1415653bd485b06e718c6f14e32dcfe59b3.zip
qemu-56c3a1415653bd485b06e718c6f14e32dcfe59b3.tar.gz
qemu-56c3a1415653bd485b06e718c6f14e32dcfe59b3.tar.bz2
target/openrisc: Use identical sizes for ITLB and DTLB
The sizes are already the same, however, we can improve things if they are identical by design. Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'target/openrisc/machine.c')
-rw-r--r--target/openrisc/machine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/openrisc/machine.c b/target/openrisc/machine.c
index b795b56..3fc837b 100644
--- a/target/openrisc/machine.c
+++ b/target/openrisc/machine.c
@@ -42,9 +42,9 @@ static const VMStateDescription vmstate_cpu_tlb = {
.minimum_version_id = 1,
.minimum_version_id_old = 1,
.fields = (VMStateField[]) {
- VMSTATE_STRUCT_ARRAY(itlb, CPUOpenRISCTLBContext, ITLB_SIZE, 0,
+ VMSTATE_STRUCT_ARRAY(itlb, CPUOpenRISCTLBContext, TLB_SIZE, 0,
vmstate_tlb_entry, OpenRISCTLBEntry),
- VMSTATE_STRUCT_ARRAY(dtlb, CPUOpenRISCTLBContext, DTLB_SIZE, 0,
+ VMSTATE_STRUCT_ARRAY(dtlb, CPUOpenRISCTLBContext, TLB_SIZE, 0,
vmstate_tlb_entry, OpenRISCTLBEntry),
VMSTATE_END_OF_LIST()
}