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

Method disable

src/dev/drivers/pic8259.rs:140–143  ·  view source on GitHub ↗

Mask interrupts, disable both PIC.

(&mut self)

Source from the content-addressed store, hash-verified

138
139 // Mask interrupts, disable both PIC.
140 pub unsafe fn disable(&mut self)
141 {
142 self.mask_write(u8::MAX, u8::MAX)
143 }
144
145 // Checks if interrupt can be handled.
146 pub fn handles(&self, intrid: u8) -> bool

Callers

nothing calls this directly

Calls 1

mask_writeMethod · 0.80

Tested by

no test coverage detected