Put initialization code where it belongs.
This commit is contained in:
parent
a53514d4a9
commit
354d88f883
@ -63,7 +63,6 @@ PUBLIC int main()
|
|||||||
|
|
||||||
/* SEF local startup. */
|
/* SEF local startup. */
|
||||||
sef_local_startup();
|
sef_local_startup();
|
||||||
sched_init(); /* initialize user-space scheduling */
|
|
||||||
|
|
||||||
/* This is PM's main loop- get work and do it, forever and forever. */
|
/* This is PM's main loop- get work and do it, forever and forever. */
|
||||||
while (TRUE) {
|
while (TRUE) {
|
||||||
@ -304,6 +303,9 @@ PRIVATE int sef_cb_init_fresh(int type, sef_init_info_t *info)
|
|||||||
unmap_ok = 1;
|
unmap_ok = 1;
|
||||||
_minix_unmapzero();
|
_minix_unmapzero();
|
||||||
|
|
||||||
|
/* Initialize user-space scheduling. */
|
||||||
|
sched_init();
|
||||||
|
|
||||||
return(OK);
|
return(OK);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user