Check if either PIC in the chain need to receive notification about the interrupt.
(&mut self, intrid: u8)
| 150 | |
| 151 | // Check if either PIC in the chain need to receive notification about the interrupt. |
| 152 | pub unsafe fn notify_intrend(&mut self, intrid: u8) |
| 153 | { |
| 154 | if self.handles(intrid) |
| 155 | { |
| 156 | if self.pics[1].handles(intrid) |
| 157 | { |
| 158 | self.pics[1].intrend(); |
| 159 | } |
| 160 | self.pics[0].intrend(); |
| 161 | } |
| 162 | } |
| 163 | } |