xref: /qemu/tests/tcg/s390x/console.c (revision e17e57e862faf6e1f372385c18dcf6d3fd31158e)
1c2485ea4SIlya Leoshkevich /*
2c2485ea4SIlya Leoshkevich  * Console code for multiarch tests.
3c2485ea4SIlya Leoshkevich  * Reuses the pc-bios/s390-ccw implementation.
4c2485ea4SIlya Leoshkevich  *
5c2485ea4SIlya Leoshkevich  * SPDX-License-Identifier: GPL-2.0-or-later
6c2485ea4SIlya Leoshkevich  */
7*9f427883SJared Rossi 
8c2485ea4SIlya Leoshkevich #include "../../../pc-bios/s390-ccw/sclp.c"
9*9f427883SJared Rossi #include "../../../roms/SLOF/lib/libc/string/memset.c"
10*9f427883SJared Rossi #include "../../../roms/SLOF/lib/libc/string/memcpy.c"
11c2485ea4SIlya Leoshkevich 
__sys_outc(char c)12c2485ea4SIlya Leoshkevich void __sys_outc(char c)
13c2485ea4SIlya Leoshkevich {
14c2485ea4SIlya Leoshkevich     write(1, &c, sizeof(c));
15c2485ea4SIlya Leoshkevich }
16