Stack trace with double linking to get symbol names

This commit is contained in:
2026-02-21 19:28:17 +01:00
parent 4cf4fb0dda
commit 9470dedb61
9 changed files with 875 additions and 23 deletions

View File

@@ -31,6 +31,10 @@ enum ErrorCodes
void panic(struct cpu_status_t* ctx, const char* str);
void hcf();
void idle();
void debug_stack_trace(unsigned int max_frames);
const char* debug_find_symbol(uintptr_t rip, uintptr_t* offset);
#define assert(check) do { if(!(check)) hcf(); } while(0)
struct boot_context