hw/tricore: Add testdevice for tests in tests/tcg/
commit582079c9d27fc8cfff9f495072300416e0e4aafe
authorBastian Koppelmann <kbastian@mail.uni-paderborn.de>
Wed, 12 May 2021 10:20:33 +0000 (12 11:20 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 18 May 2021 08:36:21 +0000 (18 09:36 +0100)
treefb2bba7c4a85018f8b52be9c3ce4c70ecca0135a
parent9ab10ba31ee78cf59994ce494e075b51349c78f2
hw/tricore: Add testdevice for tests in tests/tcg/

this device is used to verify the correctness of regression tests by
allowing guests to write their exit status to this device. This is then
used by qemu to exit using the written status.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210305170045.869437-4-kbastian@mail.uni-paderborn.de>
Message-Id: <20210512102051.12134-14-alex.bennee@linaro.org>
hw/tricore/meson.build
hw/tricore/tricore_testboard.c
hw/tricore/tricore_testdevice.c [new file with mode: 0644]
include/hw/tricore/tricore_testdevice.h [new file with mode: 0644]