42_KFS/headers/kprintf.h

19 lines
310 B
C
Raw Normal View History

2024-09-07 08:40:46 -04:00
#pragma once
#include <stdarg.h>
enum print_level {
2024-09-18 16:30:11 -04:00
KERN_EMERG,
KERN_ALERT,
KERN_CRIT,
KERN_ERR,
KERN_WARNING,
KERN_NOTICE,
KERN_INFO,
KERN_DEBUG,
KERN_DEFAULT,
KERN_CONT
2024-09-07 08:40:46 -04:00
};
int kprintf(int level, const char *restrict format, ...);
int kvprintf(int level, const char *restrict format, va_list ap);