Beispiel #1
0
VOID GenerateIrq12(VOID)
{
    /* Generate an interrupt if interrupts for the second PS/2 port are enabled */
    if (ControllerConfig & 0x02)
    {
        /* Generate an IRQ 12 if there is data ready in the output queue */
        if (PS2PortQueueRead(1)) PicInterruptRequest(12);
    }
}
Beispiel #2
0
static VOID WINAPI PitChan0Out(LPVOID Param, BOOLEAN State)
{
    if (State)
    {
        DPRINT("PicInterruptRequest\n");
        PicInterruptRequest(0); // Raise IRQ 0
    }
    // else < Lower IRQ 0 >
}
Beispiel #3
0
VOID GenerateIrq1(VOID)
{
    /* Generate an interrupt if interrupts for the first PS/2 port are enabled */
    if (ControllerConfig & 0x01)
    {
        /* Generate an IRQ 1 if there is data ready in the output queue */
        if (PS2PortQueueRead(0)) PicInterruptRequest(1);
    }
}
Beispiel #4
0
VOID FASTCALL EmulatorFpu(PFAST486_STATE State)
{
    /* The FPU is wired to IRQ 13 */
    PicInterruptRequest(13);
}