MCPcopy Create free account
hub / github.com/LibertyOS-Development/kernel / handles

Method handles

src/dev/drivers/pic8259.rs:30–33  ·  view source on GitHub ↗

Checks if PIC is controlling the specific interrupt. NOTE: Each PIC can handle eight (8) interrupts.

(&self, intrid: u8)

Source from the content-addressed store, hash-verified

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)

Callers 1

notify_intrendMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected