|
| static void * | module_resolve_symbol_callback (const char *name, void *private) |
| |
| static module_t * | module_new (module_info_t *info) |
| |
| static void | module_free (module_t *module) |
| |
| static uint64_t | module_call_load_event (module_t *module) |
| |
| static void | module_call_unload_event (module_t *module) |
| |
| static module_t * | module_find_by_name (const char *name) |
| |
| static module_t * | module_find_provider (symbol_group_id_t groupId) |
| |
| static module_device_t * | module_device_new (const char *type, const char *name) |
| |
| static void | module_device_free (module_device_t *device) |
| |
| static module_device_t * | module_device_get (const char *name) |
| |
| static module_device_handler_t * | module_handler_add (module_t *module, module_device_t *device) |
| |
| static void | module_handler_remove (module_device_handler_t *handler) |
| |
| static uint64_t | module_string_copy (const char *str, char *out, size_t outSize) |
| | Copy a string up to either a null-terminator or a semicolon into the output buffer.
|
| |
| static module_info_t * | module_info_parse (const char *moduleInfo) |
| |
| static uint64_t | module_file_read (module_file_t *outFile, const path_t *dirPath, process_t *process, const char *filename) |
| |
| static void | module_file_deinit (module_file_t *file) |
| |
| static uint64_t | module_cache_symbols_add (module_file_t *file, const char *path) |
| |
| static uint64_t | module_cache_device_types_add (module_file_t *file, const char *path) |
| |
| static module_cached_symbol_t * | module_cache_lookup_symbol (const char *name) |
| |
| static module_cached_device_t * | module_cache_lookup_device_type (const char *type) |
| |
| static void | module_cache_clear (void) |
| |
| static uint64_t | module_cache_build (void) |
| |
| static void | module_gc_mark_reachable (module_t *module) |
| |
| static void | module_gc_sweep_unreachable (module_t *module, list_t *unreachables) |
| |
| static void | module_gc_collect (void) |
| |
| void | module_init_fake_kernel_module (void) |
| | Initialize a fake module representing the kernel itself.
|
| |
| static bool | module_info_supports_device (const module_info_t *info, const char *type) |
| |
| static uint64_t | module_load_and_relocate_elf (module_t *module, Elf64_File *elf, module_load_ctx_t *ctx) |
| |
| static uint64_t | module_load_dependency (module_load_ctx_t *ctx, const char *symbolName) |
| |
| static module_t * | module_get_or_load (const char *filename, file_t *dir, const char *type) |
| |
| uint64_t | module_device_attach (const char *type, const char *name, module_load_flags_t flags) |
| | Notify the module system of a device being attached.
|
| |
| void | module_device_detach (const char *name) |
| | Notify the module system of a device being detached.
|
| |
| bool | module_device_types_contains (const char *deviceTypes, const char *type) |
| | Check if a list of device types contains a specific device type.
|
| |