feat(core): implement Linux-grade architecture (printk with loglevels, list.h, errno.h, procfs, devfs, slab cache, CMOS RTC & 16550A UART serial)

This commit is contained in:
Adam Eehan committed 2026-10-23 18:40:54 +05:30
1 parent 2bbeb3f345
commit 1832e7ecff
19 files changed
+805 -6

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
#ifndef AIRLYS_SERIAL_H
#define AIRLYS_SERIAL_H
#include <airlys/types.h>
#define COM1_PORT 0x3F8
/* Initialize 16550A UART Serial Port (COM1) */
void serial_init(void);
/* Write a single character to serial port */
void serial_putchar(char c);
/* Write a string to serial port */
void serial_puts(const char* str);
#endif /* AIRLYS_SERIAL_H */