Subversion Repositories HelenOS

Rev

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

Rev 4651 Rev 4652
Line 67... Line 67...
67
    /*
67
    /*
68
     * Current implementation of interrupt handling is non-nested mode.
68
     * Current implementation of interrupt handling is non-nested mode.
69
     * So we don't enable interrupt if servicing IRQ.
69
     * So we don't enable interrupt if servicing IRQ.
70
     * ToDo: Re-implement interrupt handling to handle nested interrupts.
70
     * ToDo: Re-implement interrupt handling to handle nested interrupts.
71
     */
71
     */
72
    if (!((ipl & 0x1b) == 0x1b))
72
    if ((ipl & 0x1f) != UNDEFINED_MODE)
73
        current_status_reg_control_write(ipl & ~STATUS_REG_IRQ_DISABLED_BIT);
73
        current_status_reg_control_write(ipl & ~STATUS_REG_IRQ_DISABLED_BIT);
74
   
74
   
75
    return ipl;
75
    return ipl;
76
}
76
}
77
 
77