1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

start initd and LwIP thread always on the boot processor

This commit is contained in:
Stefan Lankes 2016-02-16 22:44:02 +01:00
parent 3d589f93cc
commit 5d3fcd496d
2 changed files with 3 additions and 4 deletions

View file

@ -84,6 +84,7 @@ extern atomic_int32_t cpu_online;
extern atomic_int32_t possible_cpus;
extern int32_t isle;
extern int32_t possible_isles;
extern uint32_t boot_processor;
extern int libc_sd;
islelock_t* rcce_lock = NULL;
@ -431,8 +432,6 @@ out:
if (s > 0)
lwip_close(s);
//network_shutdown();
return 0;
}
@ -469,7 +468,7 @@ int hermit_main(void)
print_status();
create_kernel_task(NULL, initd, NULL, NORMAL_PRIO);
create_kernel_task_on_core(NULL, initd, NULL, NORMAL_PRIO, boot_processor);
while(1) {
check_workqueues();

@ -1 +1 @@
Subproject commit 377f9048a618927a78888e4e81dd78e10b83ef8e
Subproject commit 3a11d42097b7008ffd1b3ceac1e414dcc74a2228