]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
target-microblaze: Correct the PVR array size
authorEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Sat, 14 Apr 2018 20:15:19 +0000 (22:15 +0200)
committerEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Tue, 29 May 2018 07:33:40 +0000 (09:33 +0200)
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>
target/microblaze/cpu.h

index 994496515f72d5956eecb15e6fa46baf86958bbc..2304c24b7de732b48916b4808471c6eb6554cdcb 100644 (file)
@@ -277,7 +277,7 @@ struct CPUMBState {
     /* These fields are preserved on reset.  */
 
     struct {
-        uint32_t regs[16];
+        uint32_t regs[13];
     } pvr;
 };