diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2018-05-22 22:04:46 -0700 |
---|---|---|
committer | Stafford Horne <shorne@gmail.com> | 2018-07-03 00:05:28 +0900 |
commit | 1cc9e5d896695091eeb126f5c578b02ddd0fc0e4 (patch) | |
tree | 71efab11d996bde34b4f58531487adb52cc80cdd /target/openrisc/cpu.h | |
parent | 5ce5dad3527e024c297f73f9eb79098235efba6b (diff) | |
download | 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.h | 2 |
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, }; |