20 lines
354 B
C
20 lines
354 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
#ifndef _SERIAL_H_
|
|
#define _SERIAL_H_
|
|
|
|
#define COM1 0x3F8
|
|
|
|
#ifndef __ASM__
|
|
|
|
#include <kernel/common.h>
|
|
|
|
void isr_serial_input();
|
|
void isr_serial_input_1();
|
|
ssize_t serial_write(const char *buf, size_t count);
|
|
void serial_putchar(char c);
|
|
void serial_trap();
|
|
int serial_init();
|
|
|
|
#endif
|
|
|
|
#endif /* _SERIAL_H_ */
|