Subversion Repositories HelenOS

Rev

Rev 3343 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3343 Rev 3665
Line 99... Line 99...
99
        panic("Unexpected INR (%d)\n", inr);
99
        panic("Unexpected INR (%d)\n", inr);
100
        break;
100
        break;
101
    }
101
    }
102
}
102
}
103
 
103
 
104
void fhc_clear_interrupt(fhc_t *fhc, int inr)
104
void fhc_clear_interrupt(void *fhcp, int inr)
105
{
105
{
-
 
106
    fhc_t *fhc = (fhc_t *)fhcp;
106
    ASSERT(fhc->uart_imap);
107
    ASSERT(fhc->uart_imap);
107
 
108
 
108
    switch (inr) {
109
    switch (inr) {
109
    case FHC_UART_INR:
110
    case FHC_UART_INR:
110
        fhc->uart_imap[FHC_UART_ICLR] = 0;
111
        fhc->uart_imap[FHC_UART_ICLR] = 0;