Re: [RFC PATCH] tests/tcg: fix semihosting SYS_EXIT for aarch64 in boot.S

2025-04-04 Thread Richard Henderson
On 4/4/25 04:56, Alex Bennée wrote: We don't expect to hit exceptions in our testing so currently all the vectors report an un-expected exception and then attempt to exit. However for aarch64 we should always use the extended information block as we do in _exit. Rather than duplicate the code on

[RFC PATCH] tests/tcg: fix semihosting SYS_EXIT for aarch64 in boot.S

2025-04-04 Thread Alex Bennée
We don't expect to hit exceptions in our testing so currently all the vectors report an un-expected exception and then attempt to exit. However for aarch64 we should always use the extended information block as we do in _exit. Rather than duplicate the code on the error handler just branch to the _