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 Leoshkevichvoid __sys_outc(char c) 13c2485ea4SIlya Leoshkevich { 14c2485ea4SIlya Leoshkevich write(1, &c, sizeof(c)); 15c2485ea4SIlya Leoshkevich } 16