aboutsummaryrefslogtreecommitdiff
path: root/machine/uart16550.h
blob: 2ae44ce0446ae1eccf04b78d7330c15fcca8cea9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// See LICENSE for license details.

#ifndef _RISCV_16550_H
#define _RISCV_16550_H

#include <stdint.h>

extern volatile uint8_t* uart16550;

void uart16550_putchar(uint8_t ch);
int uart16550_getchar();
void query_uart16550(uintptr_t dtb);

#endif