mirror of
https://git.nju.edu.cn/oslab2023/oslab.git
synced 2024-06-13 04:44:31 +08:00
12 lines
223 B
C
12 lines
223 B
C
#ifndef __SERIAL_H__
|
|
#define __SERIAL_H__
|
|
|
|
void init_serial();
|
|
void putchar(char ch);
|
|
void serial_handle();
|
|
char getchar();
|
|
int serial_write(const void *buf, size_t count);
|
|
int serial_read(void *buf, size_t count);
|
|
|
|
#endif
|