Refine check on bkpt so that smc and undefined instruction encodings are
handled as an undefined instruction and trap.
Signed-off-by: Adam Lackorzynski a...@os.inf.tu-dresden.de
---
target-arm/translate.c |9 -
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git
Am 02.09.2010 22:27, schrieb Adam Lackorzynski:
Handle smc as an undefined instruction instead of having it wrongly
interpreted as some other one.
Signed-off-by: Adam Lackorzynskia...@os.inf.tu-dresden.de
---
target-arm/translate.c |6 +-
1 files changed, 5 insertions(+), 1
Handle smc as an undefined instruction instead of having it wrongly
interpreted as some other one.
Signed-off-by: Adam Lackorzynski a...@os.inf.tu-dresden.de
---
target-arm/translate.c |7 ++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/target-arm/translate.c
On Thu, Sep 02, 2010 at 11:40:50PM +0200, Adam Lackorzynski wrote:
+case 7:
+/* SMC? */
+if ((insn 0xfff0) == 0xe1600070) {
+goto illegal_op;
+}
+/* bkpt */
This doesn't look right to me. SMC in the ARM encoding is
On Thu Sep 02, 2010 at 23:14:23 +0100, Peter Maydell wrote:
On Thu, Sep 02, 2010 at 11:40:50PM +0200, Adam Lackorzynski wrote:
+case 7:
+/* SMC? */
+if ((insn 0xfff0) == 0xe1600070) {
+goto illegal_op;
+}
+
Handle smc as undefined instruction instead of having it wrongly interpreted
as some other instruction.
Signed-off-by: Adam Lackorzynski a...@os.inf.tu-dresden.de
---
target-arm/translate.c |6 +-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/target-arm/translate.c
Signed-off-by: Adam Lackorzynski a...@os.inf.tu-dresden.de
---
target-arm/translate.c |6 +-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/target-arm/translate.c b/target-arm/translate.c
index 0eccca5..afd6716 100644
--- a/target-arm/translate.c
+++