Driver section separation

This commit is contained in:
xamidev
2024-08-05 19:33:16 +02:00
parent 4b6beb5ba9
commit f05347f73b
7 changed files with 10 additions and 9 deletions

12
src/drivers/serial.h Normal file
View File

@@ -0,0 +1,12 @@
#ifndef INCLUDE_SERIAL_H
#define INCLUDE_SERIAL_H
#define PORT 0x3f8 //COM1
int init_serial();
int is_transmit_empty();
void write_serial(const char a);
void serial_puts(const char* str);
void log(const char* str, const int errlevel);
#endif