MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / set_remote_irr

Function set_remote_irr

devices/src/ioapic.rs:81–86  ·  view source on GitHub ↗
(entry: &mut RedirectionTableEntry, val: u8)

Source from the content-addressed store, hash-verified

79 *entry |= u64::from(val & 0x1) << 12;
80}
81fn set_remote_irr(entry: &mut RedirectionTableEntry, val: u8) {
82 // Clear bit 14
83 *entry &= 0xffff_ffff_ffff_bfff;
84 // Set it with the expected value
85 *entry |= u64::from(val & 0x1) << 14;
86}
87
88pub const NUM_IOAPIC_PINS: usize = 24;
89const IOAPIC_VERSION_ID: u32 = 0x0017_0011;

Callers 2

end_of_interruptMethod · 0.85
service_irqMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected