42_KFS/headers/debug.h

19 lines
259 B
C
Raw Normal View History

#pragma once
#include "kprintf.h"
#include <stdint.h>
#define PRINT_VAR(var) kprintf("%s: %d\n", #var, var)
struct function_entry {
uint32_t addr;
char name[64];
};
struct stackframe {
struct stackframe *ebp;
uint32_t eip;
};
2024-09-22 03:54:56 -04:00
void print_stack(void);