xref: /kvm-unit-tests/lib/powerpc/io.h (revision 610c5a9c11fc1e8fe936925b8a4975015ffe4b5e)
1 /*
2  * Prototypes for io.c
3  *
4  * This work is licensed under the terms of the GNU GPL, version 2.
5  */
6 
7 #ifndef _POWERPC_IO_H_
8 #define _POWERPC_IO_H_
9 
10 extern void io_init(void);
11 extern int opal_init(void);
12 extern void opal_power_off(void);
13 extern void putchar(int c);
14 extern void opal_putchar(int c);
15 extern void papr_putchar(int c);
16 extern int __opal_getchar(void);
17 extern int __papr_getchar(void);
18 
19 #endif
20