KallistiOS
##version##
|
Kernel exported symbols support. More...
Go to the source code of this file.
Data Structures | |
struct | export_sym |
A single export symbol. More... | |
struct | symtab_handler |
A symbol table "handler" for nmmgr. More... | |
Typedefs | |
typedef struct export_sym | export_sym_t |
A single export symbol. More... | |
typedef struct symtab_handler | symtab_handler_t |
A symbol table "handler" for nmmgr. More... | |
Functions | |
int | export_init () |
Setup initial kernel exports. More... | |
export_sym_t * | export_lookup (const char *name) |
Look up a symbol by name. More... | |
Kernel exported symbols support.
This file contains support related to dynamic linking of the kernel of KOS. The kernel (at compile time) produces a list of exported symbols, which can be looked through using the funtionality in this file.
typedef struct export_sym export_sym_t |
A single export symbol.
This structure holds a single symbol that has been exported from the kernel. These will be patched into loaded ELF binaries at load time.
typedef struct symtab_handler symtab_handler_t |
A symbol table "handler" for nmmgr.
int export_init | ( | ) |
Setup initial kernel exports.
0 | On success |
-1 | On error |
export_sym_t* export_lookup | ( | const char * | name | ) |
Look up a symbol by name.
name | The symbol to look up |