summary refs log tree commit diff stats
path: root/target/openrisc/cpu.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2018-05-22 22:04:46 -0700
committerStafford Horne <shorne@gmail.com>2018-07-03 00:05:28 +0900
commit1cc9e5d896695091eeb126f5c578b02ddd0fc0e4 (patch)
tree71efab11d996bde34b4f58531487adb52cc80cdd /target/openrisc/cpu.h
parent5ce5dad3527e024c297f73f9eb79098235efba6b (diff)
downloadfocaccia-qemu-1cc9e5d896695091eeb126f5c578b02ddd0fc0e4.tar.gz
focaccia-qemu-1cc9e5d896695091eeb126f5c578b02ddd0fc0e4.zip
target/openrisc: Increase the TLB size
The architecture supports 128 TLB entries.  There is no reason
not to provide all of them.  In the process we need to fix a
bug that failed to parameterize the configuration register that
tells the operating system the number of entries.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Stafford Horne <shorne@gmail.com>

---
v2:
  - Change VMState version.
Diffstat (limited to 'target/openrisc/cpu.h')
-rw-r--r--target/openrisc/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/openrisc/cpu.h b/target/openrisc/cpu.h
index 47e94659e1..b180e30e9e 100644
--- a/target/openrisc/cpu.h
+++ b/target/openrisc/cpu.h
@@ -222,7 +222,7 @@ enum {
 
 /* TLB size */
 enum {
-    TLB_SIZE = 64,
+    TLB_SIZE = 128,
     TLB_MASK = TLB_SIZE - 1,
 };