matos/core/stack.h
Mathieu Maret f05e017d45 backtrace: print function name instead of addr
Thx to the ELF header given by the bootloader
2023-11-20 00:12:58 +01:00

9 lines
204 B
C

#pragma once
#include "multiboot.h"
#include "types.h"
extern vaddr_t _stack_bottom;
extern vaddr_t _stack_top;
void printStackTrace(unsigned int maxFrame);
void stackSymbolSetup(multiboot_info_t *mbi);