Files
kern/libk/error/debug.c
T
2024-10-23 14:11:22 +02:00

14 lines
256 B
C

#include <error/debug.h>
#include <ports/serial.h>
#include <stdarg.h>
int debugf(const char* fmt, ...) {
va_list va;
va_start(va, fmt);
serialPrint(PORT_COM1, fmt); // TODO: use a printf
int res = 0;
va_end(va);
return res;
}