diff --git a/kernel/serial.h b/kernel/serial.h index cfaad95..1f7af5d 100644 --- a/kernel/serial.h +++ b/kernel/serial.h @@ -12,6 +12,10 @@ void serial_init(); int serial_read(int port_no); int serial_read_nonblock(int port_no); void serial_write(int port_no, char a); +#define serial_putchar serial_write + +int serial_getchar(int port_no); + int serial_device_probe( int unit, int *blocksize, int *nblocks, char *info ); int serial_device_read( int unit, void *data, int length, int offset );