1
0
mirror of https://github.com/rcore-os/rCore.git synced 2024-11-24 08:56:17 +04:00
rCore/riscv-pk/machine/uart16550.h

13 lines
211 B
C
Raw Normal View History

2018-07-04 12:22:20 +04:00
#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