Merge branch 'main' of git.chauvet.pro:starnakin/42_KFS

This commit is contained in:
2024-10-17 16:11:40 +02:00
10 changed files with 95 additions and 16 deletions

View File

@ -1,10 +1,18 @@
#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;
};
void print_stack(void);
void print_stack(void);