You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
211 B
13 lines
211 B
7 years ago
|
#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
|