summaryrefslogtreecommitdiffstats
path: root/target-arm/cpu.h
diff options
context:
space:
mode:
authorPeter Maydell2015-09-07 11:39:28 +0200
committerPeter Maydell2015-09-07 11:39:28 +0200
commit8012c84ff92a36d05dfe61af9b24dd01a7ea25e4 (patch)
tree9aac5bee6b1e79b5c943c8c26a5c90eb3d0c9f42 /target-arm/cpu.h
parenttarget-arm/arm-semi.c: SYS_EXIT on A64 takes a parameter block (diff)
downloadqemu-8012c84ff92a36d05dfe61af9b24dd01a7ea25e4.tar.gz
qemu-8012c84ff92a36d05dfe61af9b24dd01a7ea25e4.tar.xz
qemu-8012c84ff92a36d05dfe61af9b24dd01a7ea25e4.zip
target-arm: Wire up HLT 0xf000 as the A64 semihosting instruction
For the A64 instruction set, the semihosting call instruction is 'HLT 0xf000'. Wire this up to call do_arm_semihosting() if semihosting is enabled. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Christopher Covington <christopher.covington@linaro.org> Tested-by: Christopher Covington <cov@codeaurora.org> Message-id: 1439483745-28752-10-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'target-arm/cpu.h')
-rw-r--r--target-arm/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-arm/cpu.h b/target-arm/cpu.h
index 0a2533543f..c794afcdbf 100644
--- a/target-arm/cpu.h
+++ b/target-arm/cpu.h
@@ -56,6 +56,7 @@
#define EXCP_SMC 13 /* Secure Monitor Call */
#define EXCP_VIRQ 14
#define EXCP_VFIQ 15
+#define EXCP_SEMIHOST 16 /* semihosting call (A64 only) */
#define ARMV7M_EXCP_RESET 1
#define ARMV7M_EXCP_NMI 2