tests/tcg/aarch64: add system boot.S
commitf6482872f33503acb4825e52e2a676d93a08bfe4
authorAlex Bennée <alex.bennee@linaro.org>
Fri, 26 Apr 2019 16:21:00 +0000 (26 17:21 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 28 May 2019 09:28:51 +0000 (28 10:28 +0100)
tree7c2e6c9e4c4227924ba3b78e6792670d9c72b7c2
parent9699e5fb5a3aaa92fbe531ea83a38c7e35b8ba44
tests/tcg/aarch64: add system boot.S

This provides the bootstrap and low level helper functions for an
aarch64 kernel. We use semihosting to handle test output and exiting
the emulation. semihosting's parameter passing is a little funky so we
end up using the stack and pointing to that as the parameter block.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
tests/tcg/aarch64/Makefile.softmmu-target [new file with mode: 0644]
tests/tcg/aarch64/system/boot.S [new file with mode: 0644]
tests/tcg/aarch64/system/kernel.ld [new file with mode: 0644]