semihosting: Move GET_ARG/SET_ARG earlier in the file
commit3753b00e5747068882c7f0302dcf9b87402993ab
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 28 Apr 2022 18:40:14 +0000 (28 11:40 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 27 Jun 2022 23:05:27 +0000 (28 04:35 +0530)
tree7f6128b2c3a00f5c93df85782fbbbde09b96a322
parent189878ae237d443571250f76655161d91c018889
semihosting: Move GET_ARG/SET_ARG earlier in the file

Moving this to be useful for another function
besides do_common_semihosting.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
semihosting/arm-compat-semi.c