|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|

结构体 | |
| struct | tagDynloadParam |
宏定义 | |
| #define | LOS_DL_HEAP_SIZE 0 |
类型定义 | |
| typedef struct tagDynloadParam | DYNLOAD_PARAM_S |
枚举 | |
| enum | LOAD_STRATEGY { ZIP , NOZIP } |
函数 | |
| void | LOS_DynParamReg (const DYNLOAD_PARAM_S *dynloadParam) |
| Register the dynamic parameters. | |
| void * | LOS_SoLoad (const CHAR *elfFileName) |
| Load a shared object file. | |
| void * | LOS_MemLoad (const CHAR *elfFileName, UINT32 fileNameLen, const CHAR *elfFileBuf, UINT32 bufLen) |
| Load a shared object file(.so) or relocatable object file(.o) from the memory. | |
| void * | LOS_ObjLoad (const CHAR *elfFileName) |
| Load an relocatable object file(.o). | |
| INT32 | LOS_ModuleUnload (void *handle) |
| Unload a module. | |
| void | LOS_LdDestroy (void) |
| Destroy a dynamic loader. | |
| void * | LOS_FindSymByName (void *handle, CHAR *name) |
| Search for a symbol address. | |
| INT32 | LOS_PathAdd (CHAR *path) |
| Add a default path. | |
| BOOL | LOS_DynMemPoolSet (void *memPool) |
| Set the memory pool address used by dynload | |
| #define LOS_DL_HEAP_SIZE 0 |
Size of Dynload heap in bytes (1MB = 0x100000 Bytes) Starting address of dynload heap
| typedef struct tagDynloadParam DYNLOAD_PARAM_S |
Define the structure of the parameters used for dynamic.
Information of specified parameters passed in during dynamic load.
| enum LOAD_STRATEGY |
|
extern |
Set the memory pool address used by dynload
| memPool | [IN] the memory pool address. |
| TRUE | Set successful. |
| FALSE | Set failed. |
|
extern |
Register the dynamic parameters.
| dynloadParam | [IN] dynamic load parameters to be registered. |
|
extern |
Search for a symbol address.
| handle | [IN] Module handle. |
| name | [IN] Name of the symbol to be searched for. |
| NULL | The symbol address is not found. |
| VOID* | Symbol address. |
|
extern |
Destroy a dynamic loader.
| None. |
| None. |
|
extern |
Load a shared object file(.so) or relocatable object file(.o) from the memory.
| elfFileName | [IN] Shared or relocatable object file name. |
| fileNameLen | [IN] The length of shared or relocatable object file name. |
| elfFileBuf | [IN] Shared or relocatable object file buffer in memory. |
| bufLen | [IN] the length of shared or relocatable file buffer in memory. |
| NULL | The shared or relocatable object file fails to be loaded. |
| VOID* | The shared or relocatable object file is successfully loaded. |
|
extern |
Unload a module.
| handle | [IN] Module handle. |
|
extern |
Load an relocatable object file(.o).
| elfFileName | [IN] Relocatable object file path. |
| NULL | The relocatable object file fails to be loaded. |
| VOID* | The relocatable object file is successfully loaded. |
Add a default path.
| path | [IN] Path to be added to default paths. |
|
extern |
Load a shared object file.
| elfFileName | [IN] Shared object file path. |
| NULL | The shared object file fails to be loaded. |
| VOID* | The shared object file is successfully loaded. |