Subversion Repositories HelenOS-historic

Rev

Rev 13 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 13 Rev 27
Line 491... Line 491...
491
         * The bootstrap processor is already up.
491
         * The bootstrap processor is already up.
492
         */
492
         */
493
        if (pr[i].cpu_flags & (1<<1))
493
        if (pr[i].cpu_flags & (1<<1))
494
            continue;
494
            continue;
495
       
495
 
-
 
496
        if (pr[i].l_apic_id == l_apic_id()) {
-
 
497
            printf("%X: bad processor entry #%d, will not send IPI to myself\n", &pr[i], i);
-
 
498
            continue;
-
 
499
        }
-
 
500
       
496
        /*
501
        /*
497
         * Prepare new GDT for CPU in question.
502
         * Prepare new GDT for CPU in question.
498
         */
503
         */
499
        if (!(gdt_new = (struct descriptor *) malloc(GDT_ITEMS*sizeof(struct descriptor))))
504
        if (!(gdt_new = (struct descriptor *) malloc(GDT_ITEMS*sizeof(struct descriptor))))
500
            panic(PANIC "couldn't allocate memory for GDT\n");
505
            panic(PANIC "couldn't allocate memory for GDT\n");