Voxia OS v0.0.1
Hobby Project Operating System Targeting x86-64
Loading...
Searching...
No Matches
debug.c File Reference
#include "debug.h"
#include "type.h"
#include <console/console.h>
#include <libk/serial.h>

Go to the source code of this file.

Functions

void parse_multicore (__builtin_va_list args, const char *fmt)
 
static char * get_debug_level_str (DEBUG_LEVEL level_)
 
void kernel_debug_impl (const char *file_, uint16_t line_num_, DEBUG_LEVEL level_, const char *message_,...)
 

Function Documentation

◆ get_debug_level_str()

static char * get_debug_level_str ( DEBUG_LEVEL level_)
static

Definition at line 8 of file debug.c.

References DEBUG_LEVEL_DEBUG, DEBUG_LEVEL_ERROR, DEBUG_LEVEL_INFO, DEBUG_LEVEL_OK, and DEBUG_LEVEL_WARN.

Referenced by kernel_debug_impl().

◆ kernel_debug_impl()

void kernel_debug_impl ( const char * file_,
uint16_t line_num_,
DEBUG_LEVEL level_,
const char * message_,
... )

◆ parse_multicore()

void parse_multicore ( __builtin_va_list args,
const char * fmt )
extern