Hi Peter, On Fri, Mar 27, 2015 at 12:40 PM, Peter Maydell <peter.mayd...@linaro.org> wrote:
>> diff --git a/target-arm/translate-a64.c b/target-arm/translate-a64.c >> index 0b192a1..3b5b875 100644 >> --- a/target-arm/translate-a64.c >> +++ b/target-arm/translate-a64.c >> @@ -1544,7 +1544,11 @@ static void disas_exc(DisasContext *s, uint32_t insn) >> break; >> } >> /* HLT */ >> - unsupported_encoding(s, insn); >> + if (imm16 == 0xf000) { > > You need to have the semihosting_enabled check here rather > than in the do_interrupt code, because otherwise we won't > behave correctly in the disabled case. Do you have suggestions for getting semihosting_enabled defined in translate-a64.c? I'm likely doing something dumb, but while #include "sysemu/sysemu.h" at first seemed like the obvious approach, and appears to work for -softmmu, I'm getting errors with that when building -linux-user. Thanks, Chris