Kernel/Userspace/LibC: Implement basic dprintln for userspace

This commit is contained in:
2024-02-05 01:24:09 +02:00
parent 79897e77dc
commit 692cec8458
11 changed files with 103 additions and 1 deletions

View File

@@ -5,7 +5,7 @@
#define dprintln(...) \
do { \
Debug::DebugLock::lock(); \
Debug::print_prefix(__FILE__, __LINE__); \
Debug::print_prefix(__FILE__, __LINE__); \
BAN::Formatter::print(Debug::putchar, __VA_ARGS__); \
BAN::Formatter::print(Debug::putchar, "\r\n"); \
Debug::DebugLock::unlock(); \