KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
exports.h File Reference

Kernel exported symbols support. More...

#include <kos/cdefs.h>
#include <stdint.h>
#include <kos/nmmgr.h>

Go to the source code of this file.

Data Structures

struct  export_sym_t
 A single export symbol. More...
 
struct  symtab_handler_t
 A symbol table "handler" for nmmgr. More...
 

Functions

void export_init (void)
 Setup initial kernel exports.
 
export_sym_texport_lookup (const char *name)
 Look up a symbol by name.
 
export_sym_texport_lookup_path (const char *name, const char *path)
 Look up a symbol by name and Name Manager path.
 
export_sym_texport_lookup_addr (uintptr_t addr)
 Look up the nearest exported symbol at or before addr.
 

Detailed Description

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 functionality in this file.

Author
Megan Potter
Ruslan Rostovtsev