Subversion Repositories HelenOS-historic

Rev

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

Rev 1702 Rev 1708
Line 171... Line 171...
171
}
171
}
172
 
172
 
173
/** APIC spurious interrupt handler.
173
/** APIC spurious interrupt handler.
174
 *
174
 *
175
 * @param n Interrupt vector.
175
 * @param n Interrupt vector.
176
 * @param stack Interrupted stack.
176
 * @param istate Interrupted state.
177
 */
177
 */
178
void apic_spurious(int n, istate_t *istate)
178
void apic_spurious(int n, istate_t *istate)
179
{
179
{
180
#ifdef CONFIG_DEBUG
180
#ifdef CONFIG_DEBUG
181
    printf("cpu%d: APIC spurious interrupt\n", CPU->id);
181
    printf("cpu%d: APIC spurious interrupt\n", CPU->id);
Line 441... Line 441...
441
}
441
}
442
 
442
 
443
/** Local APIC Timer Interrupt.
443
/** Local APIC Timer Interrupt.
444
 *
444
 *
445
 * @param n Interrupt vector number.
445
 * @param n Interrupt vector number.
446
 * @param stack Interrupted stack.
446
 * @param istate Interrupted state.
447
 */
447
 */
448
void l_apic_timer_interrupt(int n, istate_t *istate)
448
void l_apic_timer_interrupt(int n, istate_t *istate)
449
{
449
{
450
    l_apic_eoi();
450
    l_apic_eoi();
451
    clock();
451
    clock();
Line 480... Line 480...
480
}
480
}
481
 
481
 
482
/** Write to IO APIC register.
482
/** Write to IO APIC register.
483
 *
483
 *
484
 * @param address IO APIC register address.
484
 * @param address IO APIC register address.
485
 * @param Content to be written to the addressed IO APIC register.
485
 * @param x Content to be written to the addressed IO APIC register.
486
 */
486
 */
487
void io_apic_write(__u8 address, __u32 x)
487
void io_apic_write(__u8 address, __u32 x)
488
{
488
{
489
    io_regsel_t regsel;
489
    io_regsel_t regsel;
490
   
490