cpiofs能够正常加载

This commit is contained in:
zhangzheng
2024-04-10 15:35:35 +08:00
parent 12aa44316f
commit 321f18d77c
26 changed files with 351 additions and 457 deletions

View File

@@ -122,8 +122,6 @@ static void knl_init_2(void)
knl_test();
#else
extern mword_t cpio_images;
umword_t ret_addr;
size_t size;
@@ -183,7 +181,7 @@ void task_knl_kill(thread_t *kill_thread, bool_t is_knl)
task_t *task = container_of(kill_thread->task, task_t, kobj);
if (!is_knl)
{
printk("kill task:0x%x.\n", kill_thread->task);
printk("kill task:0x%x, pid:%d\n", task, task->pid);
umword_t status2;
thread_suspend(kill_thread);