1 // Copyright (c) 2020 Brian Swetland
2 //
3 // Use of this source code is governed by a MIT-style
4 // license that can be found in the LICENSE file or at
5 // https://opensource.org/licenses/MIT
6 
7 #include <lk/reg.h>
8 #include <lib/cbuf.h>
9 
10 #if 0
11 void uart_init_early(void) {
12 	for (;;) ;
13 }
14 
15 void uart_init(void) {
16 }
17 
18 int uart_putc(int port, char c) {
19 	return 1;
20 }
21 
22 int uart_getc(int port, bool wait) {
23     return -1;
24 }
25 
26 void uart_flush_tx(int port) {}
27 
28 void uart_flush_rx(int port) {}
29 
30 void uart_init_port(int port, uint baud) {}
31 
32 #endif
33