Debug exceptions that target AArch32 Hyp mode are reported differently
than on AAarch64. Internally, Qemu uses the AArch64 syndromes. Therefore
such exceptions need to be either converted to a prefetch abort
(breakpoints, vector catch) or a data abort (watchpoints).
Signed-off-by: Jan Klötzke<jan.kloetzke@kernkonzept.com>
---
v2:
* Refactor watchpoint syndrome rewriting
* Drop ARM_EL_ISV from watchpoint syndrome
target/arm/helper.c | 18 ++++++++++++++++++
target/arm/syndrome.h | 8 ++++++++
2 files changed, 26 insertions(+)