Revision f62cafd4 target-arm/cpu.c
b/target-arm/cpu.c | ||
---|---|---|
108 | 108 |
modified flash and reset itself. However images |
109 | 109 |
loaded via -kernel have not been copied yet, so load the |
110 | 110 |
values directly from there. */ |
111 |
env->regs[13] = ldl_p(rom); |
|
111 |
env->regs[13] = ldl_p(rom) & 0xFFFFFFFC;
|
|
112 | 112 |
pc = ldl_p(rom + 4); |
113 | 113 |
env->thumb = pc & 1; |
114 | 114 |
env->regs[15] = pc & ~1; |
Also available in: Unified diff