]> git.ipfire.org Git - thirdparty/qemu.git/commit
cpu-exec: Move exception handling out of cpu_exec()
authorSergey Fedorov <serge.fdrv@gmail.com>
Wed, 11 May 2016 10:21:48 +0000 (13:21 +0300)
committerRichard Henderson <rth@twiddle.net>
Fri, 13 May 2016 00:06:42 +0000 (14:06 -1000)
commitea284766ec6b9f1712369249566b4c372f3cec8b
tree9dc6aceb0e1120266a0fc322f20d80d3aa75ff9e
parent8b2d34e997371c9729a0f41e3cc624d4300bbe78
cpu-exec: Move exception handling out of cpu_exec()

Simplify cpu_exec() by extracting exception handling code out of
cpu_exec() into a new static inline function cpu_handle_exception().
Also make cpu_handle_debug_exception() inline as it is used only once.

Signed-off-by: Sergey Fedorov <serge.fdrv@gmail.com>
Signed-off-by: Sergey Fedorov <sergey.fedorov@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Message-Id: <1462962111-32237-3-git-send-email-sergey.fedorov@linaro.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
cpu-exec.c