Subversion Repositories HelenOS

Rev

Rev 3626 | Rev 3766 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3626 Rev 3661
Line 112... Line 112...
112
}
112
}
113
 
113
 
114
 
114
 
115
void smp_init(void)
115
void smp_init(void)
116
{
116
{
-
 
117
    if(!bootinfo->hello_configured) return;
-
 
118
    //If we have not system prepared by hello, we are not able to start AP's
-
 
119
    //this means we are running on simulator
-
 
120
   
117
    sapic_init();
121
    sapic_init();
118
    ipi_broadcast_arch_all(bootinfo->wakeup_intno);
122
    ipi_broadcast_arch_all(bootinfo->wakeup_intno);
119
    volatile long long brk;
123
    volatile long long brk;
120
        for(brk=0;brk<100LL*1024LL*1024LL;brk++); //wait a while before CPUs starts
124
        for(brk=0;brk<100LL*1024LL*1024LL;brk++); //wait a while before CPUs starts
121
 
125