[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v1 2/5] microblaze: Respect the reset vector
From: |
Peter Crosthwaite |
Subject: |
Re: [Qemu-devel] [PATCH v1 2/5] microblaze: Respect the reset vector |
Date: |
Thu, 8 May 2014 12:34:38 +1000 |
On Thu, May 8, 2014 at 11:35 AM, Edgar E. Iglesias
<address@hidden> wrote:
> From: "Edgar E. Iglesias" <address@hidden>
>
> Signed-off-by: Edgar E. Iglesias <address@hidden>
Reviewed-by: Peter Crosthwaite <address@hidden>
> ---
> target-microblaze/cpu.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/target-microblaze/cpu.c b/target-microblaze/cpu.c
> index 8e04811..0379f2b 100644
> --- a/target-microblaze/cpu.c
> +++ b/target-microblaze/cpu.c
> @@ -96,6 +96,8 @@ static void mb_cpu_reset(CPUState *s)
> env->pvr.regs[10] = 0x0c000000; /* Default to spartan 3a dsp family. */
> env->pvr.regs[11] = PVR11_USE_MMU | (16 << 17);
>
> + env->sregs[SR_PC] = cpu->base_vectors;
> +
> #if defined(CONFIG_USER_ONLY)
> /* start in user mode with interrupts enabled. */
> env->sregs[SR_MSR] = MSR_EE | MSR_IE | MSR_VM | MSR_UM;
> --
> 1.8.3.2
>
>
- [Qemu-devel] [PATCH v1 0/5] MicroBlaze queue, Edgar E. Iglesias, 2014/05/07
- [Qemu-devel] [PATCH v1 1/5] microblaze: Support loading of u-boot initrd images, Edgar E. Iglesias, 2014/05/07
- [Qemu-devel] [PATCH v1 2/5] microblaze: Respect the reset vector, Edgar E. Iglesias, 2014/05/07
- Re: [Qemu-devel] [PATCH v1 2/5] microblaze: Respect the reset vector,
Peter Crosthwaite <=
- [Qemu-devel] [PATCH v1 3/5] xilinx_intc: Fix writes into MER register, Edgar E. Iglesias, 2014/05/07
- [Qemu-devel] [PATCH v1 4/5] xilinx_timer: Fix writes into TCSR register, Edgar E. Iglesias, 2014/05/07
- [Qemu-devel] [PATCH v1 5/5] microblaze: boot: Don't hack the elf entry point, Edgar E. Iglesias, 2014/05/07