Stack trace with double linking to get symbol names
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user