Checks if PIC is controlling the specific interrupt. NOTE: Each PIC can handle eight (8) interrupts.
(&self, intrid: u8)
| 28 | // Checks if PIC is controlling the specific interrupt. |
| 29 | // NOTE: Each PIC can handle eight (8) interrupts. |
| 30 | fn handles(&self, intrid: u8) -> bool |
| 31 | { |
| 32 | self.offset <= intrid && intrid < self.offset + 8 |
| 33 | } |
| 34 | |
| 35 | // Sends a notification when interrupt has been handled, and the PIC can handle another interrupt. |
| 36 | unsafe fn intrend(&mut self) |