Kyösti Mälkki | 4076072 | 2014-02-27 19:30:18 +0200 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License as published by |
| 6 | * the Free Software Foundation; version 2 of the License. |
| 7 | * |
| 8 | * This program is distributed in the hope that it will be useful, |
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | * GNU General Public License for more details. |
Kyösti Mälkki | 4076072 | 2014-02-27 19:30:18 +0200 | [diff] [blame] | 12 | */ |
| 13 | |
| 14 | #ifndef _CONSOLE_STREAMS_H_ |
| 15 | #define _CONSOLE_STREAMS_H_ |
| 16 | |
| 17 | void console_hw_init(void); |
| 18 | void console_tx_byte(unsigned char byte); |
| 19 | void console_tx_flush(void); |
| 20 | |
Kyösti Mälkki | f2f7f03 | 2014-04-04 15:05:28 +0300 | [diff] [blame] | 21 | /* For remote GDB debugging. */ |
| 22 | void gdb_hw_init(void); |
| 23 | void gdb_tx_byte(unsigned char byte); |
| 24 | void gdb_tx_flush(void); |
| 25 | unsigned char gdb_rx_byte(void); |
| 26 | |
Kyösti Mälkki | 4076072 | 2014-02-27 19:30:18 +0200 | [diff] [blame] | 27 | #endif /* _CONSOLE_STREAMS_H_ */ |