target/arm/arm-semi: Implement SH_EXT_EXIT_EXTENDED extension
commit22a43bb9abf946a9e405e740cfd0ba887ccd4823
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 16 Sep 2019 14:15:43 +0000 (16 15:15 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 15 Oct 2019 17:09:03 +0000 (15 18:09 +0100)
tree941eb0f8c0d4ff4672172161fafb24c727262db1
parentc46a653c3a2f96c55a47241ba9c67add0e7a3b22
target/arm/arm-semi: Implement SH_EXT_EXIT_EXTENDED extension

SH_EXT_EXIT_EXTENDED is a v2.0 semihosting extension: it
indicates that the implementation supports the SYS_EXIT_EXTENDED
function. This function allows both A64 and A32/T32 guests to
exit with a specified exit status, unlike the older SYS_EXIT
function which only allowed this for A64 guests. Implement
this extension.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20190916141544.17540-15-peter.maydell@linaro.org
target/arm/arm-semi.c