Add serial driver and irq support

This commit is contained in:
Byron Lathi
2023-11-28 22:54:26 -08:00
parent 3524892f80
commit fd9ccdbce4
5 changed files with 135 additions and 7 deletions

View File

@@ -0,0 +1,17 @@
#ifndef _SERIAL_H
#define _SERIAL_H
#include <stdint.h>
void serial_handle_irq();
void serial_init();
void serial_putc(char c);
void serial_puts(char* s);
char serial_getc();
char serial_getc_nb();
#endif