Searched hist:"056 f43df9168413f304500b69c33158d66efb7cf" (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/target/arm/ |
H A D | cpu.c | diff 056f43df9168413f304500b69c33158d66efb7cf Fri Jan 27 09:20:24 CST 2017 Peter Maydell <peter.maydell@linaro.org> armv7m: R14 should reset to 0xffffffff
For M profile (unlike A profile) the reset value of R14 is specified as 0xffffffff. (The rationale is that this is an illegal exception return value, so if guest code tries to return to it it will result in a helpful exception.)
Registers r0 to r12 and the flags are architecturally UNKNOWN on reset, so we leave those at zero.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Message-id: 1485285380-10565-11-git-send-email-peter.maydell@linaro.org
|