aboutsummaryrefslogtreecommitdiff
path: root/target-arm/op.c
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-02-04 19:35:26 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-02-04 19:35:26 +0000
commit06c949e62a098f97bd68a7382eb1953898a11e09 (patch)
tree6b61094e2ea53aa0f9f02a0e74cdc0e84a523739 /target-arm/op.c
parent0240ded8bb1580147ed2ff1748df439a3b41e38f (diff)
Implement Arm BKPT instruction.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1740 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-arm/op.c')
-rw-r--r--target-arm/op.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/target-arm/op.c b/target-arm/op.c
index 35419a1b71..acac2394a6 100644
--- a/target-arm/op.c
+++ b/target-arm/op.c
@@ -885,6 +885,12 @@ void OPPROTO op_wfi(void)
cpu_loop_exit();
}
+void OPPROTO op_bkpt(void)
+{
+ env->exception_index = EXCP_BKPT;
+ cpu_loop_exit();
+}
+
/* VFP support. We follow the convention used for VFP instrunctions:
Single precition routines have a "s" suffix, double precision a
"d" suffix. */