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

Method mask_read

src/dev/drivers/pic8259.rs:42–45  ·  view source on GitHub ↗

Read the interrupt mask for the PIC.

(&mut self)

Source from the content-addressed store, hash-verified

40
41 // Read the interrupt mask for the PIC.
42 unsafe fn mask_read(&mut self) -> u8
43 {
44 self.data.read()
45 }
46
47 // Write the interrupt mask for the PIC.
48 unsafe fn mask_write(&mut self, mask: u8)

Callers 1

initMethod · 0.80

Calls 1

readMethod · 0.45

Tested by

no test coverage detected