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

Function vector

devices/src/ioapic.rs:49–51  ·  view source on GitHub ↗
(entry: RedirectionTableEntry)

Source from the content-addressed store, hash-verified

47pub type RedirectionTableEntry = u64;
48
49fn vector(entry: RedirectionTableEntry) -> u8 {
50 (entry & 0xffu64) as u8
51}
52fn delivery_mode(entry: RedirectionTableEntry) -> u8 {
53 ((entry >> 8) & 0x7u64) as u8
54}

Callers 2

update_entryMethod · 0.85
end_of_interruptMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected