mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
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.
This commit is contained in:
parent
5ce5dad352
commit
1cc9e5d896
3 changed files with 7 additions and 6 deletions
|
@ -38,9 +38,8 @@ static const VMStateDescription vmstate_tlb_entry = {
|
|||
|
||||
static const VMStateDescription vmstate_cpu_tlb = {
|
||||
.name = "cpu_tlb",
|
||||
.version_id = 1,
|
||||
.minimum_version_id = 1,
|
||||
.minimum_version_id_old = 1,
|
||||
.version_id = 2,
|
||||
.minimum_version_id = 2,
|
||||
.fields = (VMStateField[]) {
|
||||
VMSTATE_STRUCT_ARRAY(itlb, CPUOpenRISCTLBContext, TLB_SIZE, 0,
|
||||
vmstate_tlb_entry, OpenRISCTLBEntry),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue