tests/tcg: extract __semi_call into a header and expand
authorAlex Bennée <alex.bennee@linaro.org>
Wed, 8 Jan 2020 12:24:38 +0000 (12:24 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Thu, 9 Jan 2020 11:41:29 +0000 (11:41 +0000)
commitf05938090b966e58739d98fe6c755b72234d34ba
treedac7f212df59425a0f2ac9f7db49e86d38189142
parent9c354591cae35d91e97244469904ab4483482d34
tests/tcg: extract __semi_call into a header and expand

There are two types of ARM semicall - lets test them both. Putting the
logic in a header will make re-using the functions easier later.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
tests/tcg/arm/Makefile.target
tests/tcg/arm/semicall.h [new file with mode: 0644]
tests/tcg/arm/semihosting.c