Changeset fd11144 in mainline for uspace/app/init/init.c
- Timestamp:
- 2020-07-04T21:52:35Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fc4abca
- Parents:
- e79a025
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/init/init.c
re79a025 rfd11144 69 69 70 70 #define SRV_DISPLAY "/srv/hid/display" 71 #define DISPLAY_SVC "hid/display"72 71 73 72 #define HID_INPUT "hid/input" … … 278 277 } 279 278 280 static int gui_start(const char *app, const char *display_svc)279 static int app_start(const char *app) 281 280 { 282 281 printf("%s: Spawning %s\n", NAME, app); … … 284 283 task_id_t id; 285 284 task_wait_t wait; 286 errno_t rc = task_spawnl(&id, &wait, app, app, display_svc,NULL);285 errno_t rc = task_spawnl(&id, &wait, app, app, NULL); 287 286 if (rc != EOK) { 288 287 oom_check(rc, app); … … 472 471 rc = display_server(); 473 472 if (rc == EOK) { 474 gui_start("/app/barber", DISPLAY_SVC);475 gui_start("/app/vlaunch", DISPLAY_SVC);476 gui_start("/app/vterm", DISPLAY_SVC);473 app_start("/app/barber"); 474 app_start("/app/vlaunch"); 475 app_start("/app/vterm"); 477 476 } 478 477 }
Note:
See TracChangeset
for help on using the changeset viewer.