Subversion Repositories HelenOS

Rev

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

Rev 81 Rev 110
Line 206... Line 206...
206
         * If this is not 82489DX-based l_apic we must send two STARTUP IPI's.
206
         * If this is not 82489DX-based l_apic we must send two STARTUP IPI's.
207
         */
207
         */
208
        for (i = 0; i<2; i++) {
208
        for (i = 0; i<2; i++) {
209
            lo = l_apic[ICRlo] & ICRloClear;
209
            lo = l_apic[ICRlo] & ICRloClear;
210
            lo |= ((__address) ap_boot) / 4096; /* calculate the reset vector */
210
            lo |= ((__address) ap_boot) / 4096; /* calculate the reset vector */
211
            l_apic[ICRlo] = lo | DLVRMODE_STUP | DESTMODE_PHYS | LEVEL_ASSERT | SHORTHAND_DEST |  TRGRMODE_LEVEL;
211
            l_apic[ICRlo] = lo | DLVRMODE_STUP | DESTMODE_PHYS | LEVEL_ASSERT | SHORTHAND_DEST | TRGRMODE_LEVEL;
212
            delay(200);
212
            delay(200);
213
        }
213
        }
214
    }
214
    }
215
   
215
   
216
   
216