xref: /openbmc/qemu/tests/tcg/s390x/console.c (revision 784155cdcb02ffaae44afecab93861070e7d652d)
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