blob: 35f7999f809ef256a81b0dabd7bd4ff2045ff038 [file] [log] [blame]
Kyösti Mälkki40760722014-02-27 19:30:18 +02001/*
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älkki40760722014-02-27 19:30:18 +020012 */
13
14#ifndef _CONSOLE_STREAMS_H_
15#define _CONSOLE_STREAMS_H_
16
17void console_hw_init(void);
18void console_tx_byte(unsigned char byte);
19void console_tx_flush(void);
20
Kyösti Mälkkif2f7f032014-04-04 15:05:28 +030021/* For remote GDB debugging. */
22void gdb_hw_init(void);
23void gdb_tx_byte(unsigned char byte);
24void gdb_tx_flush(void);
25unsigned char gdb_rx_byte(void);
26
Kyösti Mälkki40760722014-02-27 19:30:18 +020027#endif /* _CONSOLE_STREAMS_H_ */