tests/tcg: add HeapInfo checking to semihosting test
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 23 Mar 2021 16:52:55 +0000 (16:52 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 24 Mar 2021 14:25:19 +0000 (14:25 +0000)
commit4593f4d7fa4460d082417cb50d7e5b49dad88f7e
tree514d6ba3bccf9b66b6d15dfb79f76696fa3dc12b
parent7967d1da7af01c49661241c47708caa6dec78adb
tests/tcg: add HeapInfo checking to semihosting test

Query the SYS_HEAPINFO semicall and do some basic verification of the
information via libc calls.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20210323165308.15244-10-alex.bennee@linaro.org>
tests/tcg/multiarch/arm-compat-semi/semihosting.c