]> git.proxmox.com Git - mirror_qemu.git/commit
arm: Move excnames[] array into arm_log_exceptions()
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 20 Apr 2017 16:32:28 +0000 (17:32 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 20 Apr 2017 16:39:17 +0000 (17:39 +0100)
commit2c4a7cc5afb1bfc1728a39abd951ddd7714c476e
tree189fe1168fa89ab97bc4f8133e8853d6779d50a3
parent32b81e620ea562d56ab2733421b5da1082b237a2
arm: Move excnames[] array into arm_log_exceptions()

The excnames[] array is defined in internals.h because we used
to use it from two different source files for handling logging
of AArch32 and AArch64 exception entry. Refactoring means that
it's now used only in arm_log_exception() in helper.c, so move
the array into that function.

Suggested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 1491821097-5647-1-git-send-email-peter.maydell@linaro.org
target/arm/cpu.h
target/arm/helper.c
target/arm/internals.h