]> Git Repo - qemu.git/commit
armv7m: FAULTMASK should be 0 on reset
authorMichael Davidsaver <[email protected]>
Fri, 27 Jan 2017 15:20:24 +0000 (15:20 +0000)
committerPeter Maydell <[email protected]>
Fri, 27 Jan 2017 15:29:08 +0000 (15:29 +0000)
commitdc7abe4d65ad39390b2db120f5ad18f8f6576f8b
tree8cf0e2eecbbc978983485a362b45d55ad815cdec
parentbdd04fc76a78d61ae0f0e93ce345f9cf2e49a9a8
armv7m: FAULTMASK should be 0 on reset

For M profile CPUs, FAULTMASK should be 0 on reset, like PRIMASK.
QEMU stores FAULTMASK in the PSTATE F bit, so (as with PRIMASK in the
I bit) we have to clear these to undo the A profile default of 1.

Update the comment accordingly and move it so that it's closer to the
code it's referring to.

Signed-off-by: Michael Davidsaver <[email protected]>
Reviewed-by: Alex BennĂ©e <[email protected]>
Message-id: 1485285380[email protected]
[PMM: rewrote commit message, moved comments]
Signed-off-by: Peter Maydell <[email protected]>
target/arm/cpu.c
This page took 0.029379 seconds and 4 git commands to generate.