Subversion Repositories HelenOS

Rev

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

Rev 3655 Rev 3790
Line 94... Line 94...
94
    switch (inr) {
94
    switch (inr) {
95
    case FHC_UART_INR:
95
    case FHC_UART_INR:
96
        fhc->uart_imap[FHC_UART_IMAP] |= IMAP_V_MASK;
96
        fhc->uart_imap[FHC_UART_IMAP] |= IMAP_V_MASK;
97
        break;
97
        break;
98
    default:
98
    default:
99
        panic("Unexpected INR (%d)\n", inr);
99
        panic("Unexpected INR (%d).", inr);
100
        break;
100
        break;
101
    }
101
    }
102
}
102
}
103
 
103
 
104
void fhc_clear_interrupt(void *fhcp, int inr)
104
void fhc_clear_interrupt(void *fhcp, int inr)
Line 109... Line 109...
109
    switch (inr) {
109
    switch (inr) {
110
    case FHC_UART_INR:
110
    case FHC_UART_INR:
111
        fhc->uart_imap[FHC_UART_ICLR] = 0;
111
        fhc->uart_imap[FHC_UART_ICLR] = 0;
112
        break;
112
        break;
113
    default:
113
    default:
114
        panic("Unexpected INR (%d)\n", inr);
114
        panic("Unexpected INR (%d).", inr);
115
        break;
115
        break;
116
    }
116
    }
117
}
117
}
118
 
118
 
119
/** @}
119
/** @}