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

Method notify_intrend

src/dev/drivers/pic8259.rs:152–162  ·  view source on GitHub ↗

Check if either PIC in the chain need to receive notification about the interrupt.

(&mut self, intrid: u8)

Source from the content-addressed store, hash-verified

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}

Callers 1

schFunction · 0.45

Calls 2

handlesMethod · 0.80
intrendMethod · 0.80

Tested by

no test coverage detected