|
ginnOS
The reference: libc, the libraries and the kernel
|
kernel symbol table: maps code addresses to function names so panics and exceptions can print a readable backtrace. More...
#include </home/runner/work/ginnOS-docs/ginnOS-docs/ginnOS/src/kernel/debug/ksyms.h>
Data Fields | |
| uintptr_t | addr |
| uint32_t | name_offset |
kernel symbol table: maps code addresses to function names so panics and exceptions can print a readable backtrace.
the table is generated at build time from nm -n build/kernel.elf by tools/gen_ksyms.py and linked into the .ksyms section (see the two-pass kernel link in the Makefile). one symbol: the address it starts at and where its name begins inside ksym_names.
| uintptr_t ksym_t::addr |
| uint32_t ksym_t::name_offset |