mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-16 03:47:27 +08:00
Resolved an initialization order issue in link01.exe
Note that the order may still need to be adjusted.
This commit is contained in:
@@ -50,4 +50,4 @@ static void rtems_bsd_thread0_ucred_init(void *arg)
|
|||||||
rtems_bsd_thread0_ucred->cr_prison = &prison0;
|
rtems_bsd_thread0_ucred->cr_prison = &prison0;
|
||||||
}
|
}
|
||||||
|
|
||||||
SYSINIT(cpu, SI_SUB_CPU, SI_ORDER_FIRST, rtems_bsd_thread0_ucred_init, NULL);
|
SYSINIT(cpu, SI_SUB_INTRINSIC, SI_ORDER_SECOND, rtems_bsd_thread0_ucred_init, NULL);
|
||||||
|
Reference in New Issue
Block a user