Re: [Qemu-devel] [PATCH 3/3] arm: semihosting: Wire up A64 HLT 0xf000

2015-04-23 Thread Christopher Covington
Hi Leon, On 04/23/2015 07:00 AM, Leon Alrae wrote: Hi Christopher, On 09/04/2015 18:57, Peter Maydell wrote: On 9 April 2015 at 18:23, Christopher Covington christopher.coving...@linaro.org wrote: On Fri, Mar 27, 2015 at 12:40 PM, Peter Maydell peter.mayd...@linaro.org wrote: You need to

Re: [Qemu-devel] [PATCH 3/3] arm: semihosting: Wire up A64 HLT 0xf000

2015-04-23 Thread Leon Alrae
Hi Christopher, On 09/04/2015 18:57, Peter Maydell wrote: On 9 April 2015 at 18:23, Christopher Covington christopher.coving...@linaro.org wrote: On Fri, Mar 27, 2015 at 12:40 PM, Peter Maydell peter.mayd...@linaro.org wrote: You need to have the semihosting_enabled check here rather than

Re: [Qemu-devel] [PATCH 3/3] arm: semihosting: Wire up A64 HLT 0xf000

2015-04-09 Thread Christopher Covington
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

Re: [Qemu-devel] [PATCH 3/3] arm: semihosting: Wire up A64 HLT 0xf000

2015-04-09 Thread Peter Maydell
On 9 April 2015 at 18:23, Christopher Covington christopher.coving...@linaro.org wrote: On Fri, Mar 27, 2015 at 12:40 PM, Peter Maydell peter.mayd...@linaro.org wrote: You need to have the semihosting_enabled check here rather than in the do_interrupt code, because otherwise we won't behave

Re: [Qemu-devel] [PATCH 3/3] arm: semihosting: Wire up A64 HLT 0xf000

2015-03-31 Thread Peter Maydell
On 28 March 2015 at 12:27, Christopher Covington christopher.coving...@linaro.org wrote: Hi Peter, On Fri, Mar 27, 2015 at 12:40 PM, Peter Maydell peter.mayd...@linaro.org wrote: On 27 March 2015 at 16:22, Christopher Covington christopher.coving...@linaro.org wrote: +args =

Re: [Qemu-devel] [PATCH 3/3] arm: semihosting: Wire up A64 HLT 0xf000

2015-03-28 Thread Christopher Covington
Hi Peter, On Fri, Mar 27, 2015 at 12:40 PM, Peter Maydell peter.mayd...@linaro.org wrote: On 27 March 2015 at 16:22, Christopher Covington christopher.coving...@linaro.org wrote: In AArch64, Angel semihosting uses HLT instructions with a special immediate value, 0xf000. Use a new exception

Re: [Qemu-devel] [PATCH 3/3] arm: semihosting: Wire up A64 HLT 0xf000

2015-03-27 Thread Peter Maydell
On 27 March 2015 at 16:22, Christopher Covington christopher.coving...@linaro.org wrote: In AArch64, Angel semihosting uses HLT instructions with a special immediate value, 0xf000. Use a new exception type EXCP_SEMI for this, since I'm not aware of plans for full HLT support, and EXCP_HLT is

[Qemu-devel] [PATCH 3/3] arm: semihosting: Wire up A64 HLT 0xf000

2015-03-27 Thread Christopher Covington
In AArch64, Angel semihosting uses HLT instructions with a special immediate value, 0xf000. Use a new exception type EXCP_SEMI for this, since I'm not aware of plans for full HLT support, and EXCP_HLT is already defined as a QEMU internal exception type. Support just the exit call in A64 to start