From 6d35556caa0c43533a9bf43195bad0152d86ea68 Mon Sep 17 00:00:00 2001 From: "Edgar E. Iglesias" Date: Tue, 28 May 2013 14:56:20 +0200 Subject: microblaze: Respect the reset vector Signed-off-by: Edgar E. Iglesias --- target-microblaze/cpu.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'target-microblaze/cpu.c') diff --git a/target-microblaze/cpu.c b/target-microblaze/cpu.c index 8e0481186a..0379f2be2c 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; -- cgit v1.2.3