Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/types.h>
Go to the source code of this file.
Data Structures | |
struct | dynamic_loader_stream |
struct | dynload_symbol |
struct | dynamic_loader_sym |
struct | ldr_section_info |
struct | dynamic_loader_allocate |
struct | dynamic_loader_initialize |
Macros | |
#define | DLOAD_INITBSS 0x1 /* initialize BSS sections to zero */ |
#define | DLOAD_SECTION_TYPE(typeinfo) (typeinfo & 0xF) |
#define | DLOAD_TEXT 0 |
#define | DLOAD_DATA 1 |
#define | DLOAD_BSS 2 |
#define | DLOAD_CINIT 3 |
Typedefs | |
typedef u32 | ldr_addr |
Functions | |
int | dynamic_load_module (struct dynamic_loader_stream *module, struct dynamic_loader_sym *syms, struct dynamic_loader_allocate *alloc, struct dynamic_loader_initialize *init, unsigned options, void **mhandle) |
int | dynamic_open_module (struct dynamic_loader_stream *module, struct dynamic_loader_sym *syms, struct dynamic_loader_allocate *alloc, struct dynamic_loader_initialize *init, unsigned options, void **mhandle) |
int | dynamic_unload_module (void *mhandle, struct dynamic_loader_sym *syms, struct dynamic_loader_allocate *alloc, struct dynamic_loader_initialize *init) |
#define DLOAD_BSS 2 |
Definition at line 336 of file dynamic_loader.h.
#define DLOAD_CINIT 3 |
Definition at line 338 of file dynamic_loader.h.
#define DLOAD_DATA 1 |
Definition at line 335 of file dynamic_loader.h.
#define DLOAD_INITBSS 0x1 /* initialize BSS sections to zero */ |
Definition at line 48 of file dynamic_loader.h.
#define DLOAD_SECTION_TYPE | ( | typeinfo | ) | (typeinfo & 0xF) |
Definition at line 331 of file dynamic_loader.h.
#define DLOAD_TEXT 0 |
Definition at line 334 of file dynamic_loader.h.
Definition at line 202 of file dynamic_loader.h.
int dynamic_load_module | ( | struct dynamic_loader_stream * | module, |
struct dynamic_loader_sym * | syms, | ||
struct dynamic_loader_allocate * | alloc, | ||
struct dynamic_loader_initialize * | init, | ||
unsigned | options, | ||
void ** | mhandle | ||
) |
int dynamic_open_module | ( | struct dynamic_loader_stream * | module, |
struct dynamic_loader_sym * | syms, | ||
struct dynamic_loader_allocate * | alloc, | ||
struct dynamic_loader_initialize * | init, | ||
unsigned | options, | ||
void ** | mhandle | ||
) |
int dynamic_unload_module | ( | void * | mhandle, |
struct dynamic_loader_sym * | syms, | ||
struct dynamic_loader_allocate * | alloc, | ||
struct dynamic_loader_initialize * | init | ||
) |