]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/tcg: fix semihosting SYS_EXIT for aarch64 in boot.S
authorAlex Bennée <alex.bennee@linaro.org>
Fri, 4 Apr 2025 11:51:12 +0000 (12:51 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 9 Apr 2025 09:35:16 +0000 (10:35 +0100)
commit9edb9c2a6a0ceec9ca41705ba4990041bee1d690
treef7f97f1d1d1b38842269e77db069132bd07de448
parentc302660920acf48425a1317d56122ea8af60fbc4
tests/tcg: fix semihosting SYS_EXIT for aarch64 in boot.S

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 _exit handler with a failing status code.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250404115641.258048-1-alex.bennee@linaro.org>
tests/tcg/aarch64/system/boot.S