20#ifndef KERNEL_SYMBOLS_H
21#define KERNEL_SYMBOLS_H
23#include <kernel/types.h>
25#include <utils/compiler.h>
51 const kernel_symbol_t symbols[];
52} kernel_symbol_table_t;
57 return ((
const char *)sym +
sizeof(kernel_symbol_t));
u32 address
Address of the symbol.
Definition: symbols.h:36
const kernel_symbol_t * kernel_symbol_from_address(vaddr_t address)
Find the kernel symbol associated with a given address.
u32 size
Size of the symbol (sizeof(size) + sizeof(address) + strlen(name))
Definition: symbols.h:34
ALWAYS_INLINE const char * kernel_symbol_name(const kernel_symbol_t *sym)
Retrieve a kernel symbol's raw name.
Definition: symbols.h:55
Structure of the page fault's error code https://wiki.osdev.org/Exceptions#Page_Fault.
Definition: mmu.c:587
The symbol table for the kernel.
Definition: symbols.h:49
A single symbol entry inside the symbol table @info The structure is ALWAYS followed by the symbol's ...
Definition: symbols.h:32