XenevaOS
Loading...
Searching...
No Matches
Classes | Macros | Functions
module_loader.h File Reference
#include <stdint.h>
#include <stddef.h>
Include dependency graph for module_loader.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mod_handle
 

Macros

#define MOD_MAX_SECTIONS   64
 
#define MOD_MAX_SYMBOLS   512
 
#define MOD_MAX_NAME   64
 

Functions

int mod_load (const void *data, size_t size, struct mod_handle *handle)
 
void mod_unload (struct mod_handle *handle)
 
int mod_call_init (struct mod_handle *handle)
 
void mod_call_exit (struct mod_handle *handle)
 
uint64_t k_export_lookup (const char *name)
 

Macro Definition Documentation

◆ MOD_MAX_NAME

#define MOD_MAX_NAME   64

◆ MOD_MAX_SECTIONS

#define MOD_MAX_SECTIONS   64

◆ MOD_MAX_SYMBOLS

#define MOD_MAX_SYMBOLS   512

Function Documentation

◆ k_export_lookup()

uint64_t k_export_lookup ( const char *  name)

◆ mod_call_exit()

void mod_call_exit ( struct mod_handle *  handle)

◆ mod_call_init()

int mod_call_init ( struct mod_handle *  handle)

◆ mod_load()

int mod_load ( const void *  data,
size_t  size,
struct mod_handle *  handle 
)

◆ mod_unload()

void mod_unload ( struct mod_handle *  handle)