projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b939d9
)
microblaze: Respect the reset vector
author
Edgar E. Iglesias
<edgar.iglesias@xilinx.com>
Tue, 28 May 2013 12:56:20 +0000
(14:56 +0200)
committer
Edgar E. Iglesias
<edgar.iglesias@xilinx.com>
Mon, 12 May 2014 23:12:40 +0000
(09:12 +1000)
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
target-microblaze/cpu.c
patch
|
blob
|
history
diff --git
a/target-microblaze/cpu.c
b/target-microblaze/cpu.c
index 8e0481186ae6a80405ff80623d16fa85d35ff809..0379f2be2c6a57bfa74f7ebcd18c256024fa9978 100644
(file)
--- 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;