mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-20 00:22:02 -06:00

This introduces the build framework for simple i386 system tests. The first test is the eponymous "Hello World" which simply outputs the text on the serial port and then exits. I've included the framework for x86_64 but it is not in this series as it is a work in progress. Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
14 lines
229 B
C
14 lines
229 B
C
/*
|
|
* Hello World, system test version
|
|
*
|
|
* We don't have the benefit of libc, just builtin C primitives and
|
|
* whatever is in minilib.
|
|
*/
|
|
|
|
#include <minilib.h>
|
|
|
|
int main(void)
|
|
{
|
|
ml_printf("Hello World\n");
|
|
return 0;
|
|
}
|