summaryrefslogtreecommitdiff
path: root/kernel/log.h
blob: fe499bcb111ce6a028b8f316d115323721f280dd (plain)
1
2
3
4
5
6
7
8
9
10
#include <stdio.h>
#include <stdint.h>

#define LOG_NOTE 3
#define LOG_WARN 2
#define LOG_ERROR 1
#define LOG_SUCCESS 0

void klog(char *str, int code);
void dump_backtrace(uint32_t max_frames);