修复内核资源释放的不完整的bug
This commit is contained in:
@@ -24,7 +24,7 @@ int main(int argc, char *args[])
|
||||
ns_test();
|
||||
#endif
|
||||
irq_test();
|
||||
fs_test();
|
||||
// fs_test();
|
||||
task_unmap(TASK_THIS, vpage_create_raw3(KOBJ_DELETE_RIGHT, 0, TASK_THIS));
|
||||
ulog_write_str(u_get_global_env()->log_hd, "Error.\n");
|
||||
return 0;
|
||||
|
||||
@@ -47,11 +47,11 @@ int main(int argc, char *args[])
|
||||
// printf("app load fail, 0x%x\n", ret);
|
||||
// }
|
||||
|
||||
// ret = app_load("app", &env);
|
||||
// if (ret < 0)
|
||||
// {
|
||||
// printf("app load fail, 0x%x\n", ret);
|
||||
// }
|
||||
ret = app_load("app", &env);
|
||||
if (ret < 0)
|
||||
{
|
||||
printf("app load fail, 0x%x\n", ret);
|
||||
}
|
||||
// namespace_init(ipc_hd);
|
||||
|
||||
// namespace_loop();
|
||||
|
||||
Reference in New Issue
Block a user