mirror of
https://github.com/subhobhai943/SUB-OS.git
synced 2026-10-25 16:52:29 +00:00
Initial commit: SUB-OS 64-Bit Production Monolithic Operating System with LazyBox userland suite
This commit is contained in:
commit
cd9c786d14
88 files changed
+7132
No files matched your search
@@ -0,0 +1,16 @@
|
||||
#ifndef _DRIVERS_SERIAL_H
|
||||
#define _DRIVERS_SERIAL_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#define COM1_PORT 0x3F8
|
||||
|
||||
void serial_init(void);
|
||||
void serial_write_char(char c);
|
||||
void serial_write_string(const char* str);
|
||||
char serial_read_char(void);
|
||||
bool serial_received(void);
|
||||
|
||||
#endif // _DRIVERS_SERIAL_H
|
||||
Reference in new issue
Block a user