Subversion Repositories HelenOS

Rev

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

Rev 2927 Rev 3674
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;