xref: /openbmc/qemu/tests/tcg/s390x/console.c (revision 2df1eb27)
1 /*
2  * Console code for multiarch tests.
3  * Reuses the pc-bios/s390-ccw implementation.
4  *
5  * SPDX-License-Identifier: GPL-2.0-or-later
6  */
7 #include "../../../pc-bios/s390-ccw/sclp.c"
8 
9 void __sys_outc(char c)
10 {
11     write(1, &c, sizeof(c));
12 }
13