42_KFS_LIB/headers/kprintf.h

19 lines
364 B
C
Raw Normal View History

2024-09-06 18:37:47 -04:00
#pragma once
#include <stdarg.h>
enum print_level {
KERN_EMERG,
KERN_ALERT,
KERN_CRIT,
KERN_ERR,
KERN_WARNING,
KERN_NOTICE,
KERN_INFO,
KERN_DEBUG,
KERN_DEFAULT,
KERN_CONT
}
int kprintf(enum print_level level, const char *restrict format, ...);
int vprintf(enum print_level level, const char *restrict format, va_list ap);