From 6e75c3f440972bfb6a6546a60312fee1197a63e6 Mon Sep 17 00:00:00 2001 From: Yiyang Wu Date: Wed, 9 Oct 2024 22:57:05 +0800 Subject: [PATCH] fix(lab4): fix wrong procmgr bootstrap Signed-off-by: Yiyang Wu --- .../system-servers/procmgr/procmgr.c | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/Lab4/user/system-services/system-servers/procmgr/procmgr.c b/Lab4/user/system-services/system-servers/procmgr/procmgr.c index 48a6a593..33628190 100644 --- a/Lab4/user/system-services/system-servers/procmgr/procmgr.c +++ b/Lab4/user/system-services/system-servers/procmgr/procmgr.c @@ -645,20 +645,10 @@ void boot_default_apps(void) /* Start shell. */ - char *userland_argv= "userland.bin"; + char *test_ipc_argv= "test_ipc.bin"; (void)procmgr_launch_process(1, - &userland_argv, - "userland", - true, - INIT_BADGE, - NULL, - COMMON_APP, - NULL); - - char *hello_world_argv= "hello_world.bin"; - (void)procmgr_launch_process(1, - &hello_world_argv, - "hello_world", + &test_ipc_argv, + "test_ipc", true, INIT_BADGE, NULL,