version 1.144, 2008/04/14 18:07:51 |
version 1.144.2.1, 2008/05/18 12:35:09 |
|
|
configure(void) |
configure(void) |
{ |
{ |
extern void ssp_init(void); |
extern void ssp_init(void); |
int i; |
int i, s; |
|
|
/* Initialize data structures. */ |
/* Initialize data structures. */ |
config_init(); |
config_init(); |
|
|
/* Initialize SSP. */ |
/* Initialize SSP. */ |
ssp_init(); |
ssp_init(); |
|
|
/* Initialize callouts, part 2. */ |
|
callout_startup2(); |
|
|
|
/* |
/* |
* Now that we've found all the hardware, start the real time |
* Now that we've found all the hardware, start the real time |
* and statistics clocks. |
* and statistics clocks. |
|
|
initclocks(); |
initclocks(); |
|
|
cold = 0; /* clocks are running, we're warm now! */ |
cold = 0; /* clocks are running, we're warm now! */ |
|
s = splsched(); |
|
curcpu()->ci_schedstate.spc_flags |= SPCF_RUNNING; |
|
splx(s); |
|
|
/* Boot the secondary processors. */ |
/* Boot the secondary processors. */ |
mp_online = true; |
mp_online = true; |
|
|
cpu_boot_secondary_processors(); |
cpu_boot_secondary_processors(); |
#endif |
#endif |
|
|
/* Setup the scheduler. */ |
/* Setup the runqueues and scheduler. */ |
|
runq_init(); |
sched_init(); |
sched_init(); |
|
|
/* |
/* |