[dlmodule] Add cache ops in dlmodule.

This commit is contained in:
Bernard Xiong
2018-09-01 11:00:42 +08:00
parent f0ab00621a
commit ba5c1bea44
3 changed files with 20 additions and 11 deletions

View File

@@ -277,6 +277,7 @@ rt_err_t dlmodule_load_relocated_object(struct rt_dlmodule* module, void *module
rt_kprintf("Module: allocate space failed.\n");
return -RT_ERROR;
}
module->mem_size = module_size;
/* zero all space */
ptr = module->mem_space;