xref: /openbmc/qemu/tests/tcg/s390x/console.c (revision 9e4cc917)
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 
8 #include "../../../pc-bios/s390-ccw/sclp.c"
9 #include "../../../roms/SLOF/lib/libc/string/memset.c"
10 #include "../../../roms/SLOF/lib/libc/string/memcpy.c"
11 
12 void __sys_outc(char c)
13 {
14     write(1, &c, sizeof(c));
15 }
16