Add qemu 2.4.0
[kvmfornfv.git] / qemu / roms / openbios / include / libopenbios / console.h
1 /*
2  *   <console.h>
3  *
4  *   Shared console routines
5  *
6  *   Copyright (C) 2013 Mark Cave-Ayland (mark.cave-ayland@ilande.co.uk)
7  *
8  *   This program is free software; you can redistribute it and/or
9  *   modify it under the terms of the GNU General Public License
10  *   as published by the Free Software Foundation
11  *
12  */
13
14 #ifndef _H_CONSOLE
15 #define _H_CONSOLE
16
17 struct _console_ops {
18     int (*putchar)(int c);
19     int (*availchar)(void);
20     int (*getchar)(void);
21 };
22
23 void init_console(struct _console_ops ops);
24
25 #endif   /* _H_CONSOLE */