[Qemu-devel] [PATCH v1 06/29] target-microblaze: Correct the PVR array size

Edgar E. Iglesias posted 29 patches 7 years, 5 months ago
Only 28 patches received!
There is a newer version of this series
[Qemu-devel] [PATCH v1 06/29] target-microblaze: Correct the PVR array size
Posted by Edgar E. Iglesias 7 years, 5 months ago
From: "Edgar E. Iglesias" <edgar.iglesias@xilinx.com>

Correct the PVR array size, there are 13 PVR registers.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
---
 target/microblaze/cpu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/microblaze/cpu.h b/target/microblaze/cpu.h
index 994496515f..2304c24b7d 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;
 };
 
-- 
2.14.1


Re: [Qemu-devel] [PATCH v1 06/29] target-microblaze: Correct the PVR array size
Posted by Alistair Francis 7 years, 5 months ago
On Thu, May 3, 2018 at 2:28 AM Edgar E. Iglesias <edgar.iglesias@gmail.com>
wrote:

> From: "Edgar E. Iglesias" <edgar.iglesias@xilinx.com>

> Correct the PVR array size, there are 13 PVR registers.

> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>

Reviewed-by: Alistair Francis <alistair.francis@wdc.com>

Alistair

> ---
>   target/microblaze/cpu.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)

> diff --git a/target/microblaze/cpu.h b/target/microblaze/cpu.h
> index 994496515f..2304c24b7d 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;
>   };

> --
> 2.14.1