Hello world over serial

This commit is contained in:
2025-12-16 23:09:13 +01:00
parent c4c1939637
commit 13fee12f59
23 changed files with 2272 additions and 5 deletions

10
kernel/sys/debug.h Normal file
View File

@@ -0,0 +1,10 @@
#ifndef _KERNEL_SYS_DEBUG_H
#define _KERNEL_SYS_DEBUG_H
void debugprintf(const char *fmt, ...);
#define DEBUG(fmt, ...) do { \
debugprintf("%s: " fmt, __PRETTY_FUNCTION__, ##__VA_ARGS__); \
} while(0)
#endif // _KERNEL_SYS_DEBUG_H