修复内核资源释放的不完整的bug

This commit is contained in:
zhangzheng
2023-09-29 12:42:07 +08:00
parent 57cd64e1a8
commit 3b5a7b14b3
8 changed files with 87 additions and 29 deletions

View File

@@ -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;

View File

@@ -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();