summary refs log tree commit diff stats
path: root/python/qemu/qtest.py
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2019-04-29 17:36:02 +0100
committerPeter Maydell <peter.maydell@linaro.org>2019-04-29 17:36:02 +0100
commita356dacf647506bccdf8ecd23574246a8bf615ac (patch)
tree43bacaa59bdc32619af45f7489d1eacc0f6cb7c5 /python/qemu/qtest.py
parenta99ba8ab1601904e0fa20325192fc850362ce80e (diff)
downloadfocaccia-qemu-a356dacf647506bccdf8ecd23574246a8bf615ac.tar.gz
focaccia-qemu-a356dacf647506bccdf8ecd23574246a8bf615ac.zip
target/arm: Add lazy-FP-stacking support to v7m_stack_write()
Pushing registers to the stack for v7M needs to handle three cases:
 * the "normal" case where we pend exceptions
 * an "ignore faults" case where we set FSR bits but
   do not pend exceptions (this is used when we are
   handling some kinds of derived exception on exception entry)
 * a "lazy FP stacking" case, where different FSR bits
   are set and the exception is pended differently

Implement this by changing the existing flag argument that
tells us whether to ignore faults or not into an enum that
specifies which of the 3 modes we should handle.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20190416125744.27770-23-peter.maydell@linaro.org
Diffstat (limited to 'python/qemu/qtest.py')
0 files changed, 0 insertions, 0 deletions