xref: /kvm-unit-tests/lib/powerpc/io.h (revision 610c5a9c11fc1e8fe936925b8a4975015ffe4b5e)
14ff26ec5SThomas Huth /*
24ff26ec5SThomas Huth  * Prototypes for io.c
34ff26ec5SThomas Huth  *
44ff26ec5SThomas Huth  * This work is licensed under the terms of the GNU GPL, version 2.
54ff26ec5SThomas Huth  */
64ff26ec5SThomas Huth 
71d4fa329SCornelia Huck #ifndef _POWERPC_IO_H_
81d4fa329SCornelia Huck #define _POWERPC_IO_H_
91d4fa329SCornelia Huck 
104ff26ec5SThomas Huth extern void io_init(void);
11*610c5a9cSNicholas Piggin extern int opal_init(void);
12*610c5a9cSNicholas Piggin extern void opal_power_off(void);
134ff26ec5SThomas Huth extern void putchar(int c);
14*610c5a9cSNicholas Piggin extern void opal_putchar(int c);
15*610c5a9cSNicholas Piggin extern void papr_putchar(int c);
16*610c5a9cSNicholas Piggin extern int __opal_getchar(void);
17*610c5a9cSNicholas Piggin extern int __papr_getchar(void);
181d4fa329SCornelia Huck 
191d4fa329SCornelia Huck #endif
20