aboutsummaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@xilinx.com>2018-04-14 22:15:19 +0200
committerEdgar E. Iglesias <edgar.iglesias@xilinx.com>2018-05-29 09:33:40 +0200
commitc56911a424c5279a5113c4e1d508733a60c12dbc (patch)
tree902f21c85c1347d889026141fd7e0cee5f857d3c /target
parent5c594ef3c77c7226e7b2080430b9b74d26d5bd7e (diff)
downloadqemu-c56911a424c5279a5113c4e1d508733a60c12dbc.zip
qemu-c56911a424c5279a5113c4e1d508733a60c12dbc.tar.gz
qemu-c56911a424c5279a5113c4e1d508733a60c12dbc.tar.bz2
target-microblaze: Correct the PVR array size
Correct the PVR array size, there are 13 PVR registers. Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Diffstat (limited to 'target')
-rw-r--r--target/microblaze/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/microblaze/cpu.h b/target/microblaze/cpu.h
index 9944965..2304c24 100644
--- a/target/microblaze/cpu.h
+++ b/target/microblaze/cpu.h
@@ -277,7 +277,7 @@ struct CPUMBState {
/* These fields are preserved on reset. */
struct {
- uint32_t regs[16];
+ uint32_t regs[13];
} pvr;
};