|
| #define | modload_IMPORTS_start DECLARE_IMPORT_TABLE(modload, 1, 1) |
| |
| #define | modload_IMPORTS_end END_IMPORT_TABLE |
| |
| #define | I_GetModloadInternalData DECLARE_IMPORT(3, GetModloadInternalData); |
| |
| #define | I_ReBootStart DECLARE_IMPORT(4, ReBootStart) |
| |
| #define | I_LoadModuleAddress DECLARE_IMPORT(5, LoadModuleAddress) |
| |
| #define | I_LoadModule DECLARE_IMPORT(6, LoadModule) |
| |
| #define | I_LoadStartModule DECLARE_IMPORT(7, LoadStartModule) |
| |
| #define | I_StartModule DECLARE_IMPORT(8, StartModule) |
| |
| #define | I_LoadModuleBufferAddress DECLARE_IMPORT(9, LoadModuleBufferAddress) |
| |
| #define | I_LoadModuleBuffer DECLARE_IMPORT(10, LoadModuleBuffer) |
| |
| #define | I_LoadStartKelfModule DECLARE_IMPORT(11, LoadStartKelfModule) |
| |
| #define | I_SetSecrmanCallbacks DECLARE_IMPORT(12, SetSecrmanCallbacks) |
| |
| #define | I_SetCheckKelfPathCallback DECLARE_IMPORT(13, SetCheckKelfPathCallback) |
| |
| #define | I_GetLoadfileCallbacks DECLARE_IMPORT(14, GetLoadfileCallbacks) |
| |
| #define | I_IsIllegalBootDevice DECLARE_IMPORT(15, IsIllegalBootDevice) |
| |
|
|
typedef struct loadfile_elf32_ehdr_ | loadfile_elf32_ehdr_t |
| |
|
typedef struct loadfile_elf32_phdr_ | loadfile_elf32_phdr_t |
| |
|
typedef struct loadfile_elf32_shdr_ | loadfile_elf32_shdr_t |
| |
|
typedef struct loadfile_file_load_handler_struct_ | loadfile_file_load_handler_struct_t |
| |
|
typedef struct loadfile_ee_elf_ringbuffer_content_ | loadfile_ee_elf_ringbuffer_content_t |
| |
|
typedef struct loadfile_allocate_handler_struct_ | loadfile_allocate_handler_struct_t |
| |
| typedef int(* | loadfile_read_chunk_callback_t) (int fd, loadfile_allocate_handler_struct_t *allocate_info, void *read_callback_userdata) |
| |
| typedef int(* | loadfile_elf_load_proc_callback_t) (loadfile_allocate_handler_struct_t *allocate_info, loadfile_file_load_handler_struct_t *flhs, void *read_callback_userdata, loadfile_read_chunk_callback_t read_callback) |
| |
| typedef int(* | loadfile_check_valid_ee_elf_callback_t) (loadfile_allocate_handler_struct_t *allocate_info, loadfile_file_load_handler_struct_t *flhs) |
| |
| typedef int(* | loadfile_elf_get_program_header_callback_t) (loadfile_allocate_handler_struct_t *allocate_info, loadfile_file_load_handler_struct_t *flhs) |
| |
| typedef void *(* | loadfile_elf_load_alloc_buffer_from_heap_callback_t) (u32 size) |
| |
| typedef void(* | loadfile_elf_load_dealloc_buffer_from_heap_callback_t) (void *buffer) |
| |
| typedef int(* | loadfile_load_kelf_from_card_callback_t) (loadfile_allocate_handler_struct_t *allocate_info, loadfile_file_load_handler_struct_t *flhs, int port, int slot, int *result_out, int *result_module_out) |
| |
| typedef int(* | loadfile_load_kelf_from_disk_callback_t) (loadfile_allocate_handler_struct_t *allocate_info, loadfile_file_load_handler_struct_t *flhs, int *result_out, int *result_module_out) |
| |
|
typedef struct SetLoadfileCallbacks_struct_ | SetLoadfileCallbacks_struct_t |
| |
| typedef void *(* | SecrCardBootFile_callback_t) (int port, int slot, void *buffer) |
| |
| typedef void *(* | SecrDiskBootFile_callback_t) (void *buffer) |
| |
| typedef void(* | SetLoadfileCallbacks_callback_t) (SetLoadfileCallbacks_struct_t *callbackinfo) |
| |
| typedef int(* | CheckKelfPath_callback_t) (const char *filename, int *port, int *slot) |
| |
|
| void | GetModloadInternalData (void **pInternalData) |
| |
| int | ReBootStart (const char *command, unsigned int flags) |
| |
| int | LoadModuleAddress (const char *name, void *addr, int offset) |
| |
| int | LoadModule (const char *name) |
| |
| int | LoadStartModule (const char *name, int arglen, const char *args, int *result) |
| |
| int | StartModule (int modid, const char *name, int arglen, const char *args, int *result) |
| |
| int | LoadModuleBufferAddress (void *buffer, void *addr, int offset) |
| |
| int | LoadModuleBuffer (void *buffer) |
| |
| int | LoadStartKelfModule (const char *name, int arglen, const char *args, int *result) |
| |
| void | SetSecrmanCallbacks (SecrCardBootFile_callback_t SecrCardBootFile_fnc, SecrDiskBootFile_callback_t SecrDiskBootFile_fnc, SetLoadfileCallbacks_callback_t SetLoadfileCallbacks_fnc) |
| |
| void | SetCheckKelfPathCallback (CheckKelfPath_callback_t CheckKelfPath_fnc) |
| |
| void | GetLoadfileCallbacks (CheckKelfPath_callback_t *CheckKelfPath_fnc, SetLoadfileCallbacks_callback_t *SetLoadfileCallbacks_fnc) |
| |
| int | IsIllegalBootDevice (const char *path) |
| |
Kernel module loader.
Definition in file modload.h.