summaryrefslogtreecommitdiffstats
path: root/include/exec/memory-internal.h
diff options
context:
space:
mode:
authorPeter Maydell2015-05-29 12:28:53 +0200
committerPeter Maydell2015-05-29 12:28:53 +0200
commit84549b6dcf9147559ec08b066de673587be6b763 (patch)
tree99aefebf556989e4d4b0940cec7e235f4d95170e /include/exec/memory-internal.h
parenttarget-arm: Move TB flags down to fill gap (diff)
downloadqemu-84549b6dcf9147559ec08b066de673587be6b763.tar.gz
qemu-84549b6dcf9147559ec08b066de673587be6b763.tar.xz
qemu-84549b6dcf9147559ec08b066de673587be6b763.zip
target-arm: Don't halt on WFI unless we don't have any work
Just NOP the WFI instruction if we have work to do. This doesn't make much difference currently (though it does avoid jumping out to the top level loop and immediately restarting), but the distinction between "halt" and "don't halt" will become more important when the decision to halt requires us to trap to a higher exception level instead. Suggested-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Diffstat (limited to 'include/exec/memory-internal.h')
0 files changed, 0 insertions, 0 deletions