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

Function interrupt_mask

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

Source from the content-addressed store, hash-verified

62 ((entry >> 15) & 0x1u64) as u8
63}
64fn interrupt_mask(entry: RedirectionTableEntry) -> u8 {
65 ((entry >> 16) & 0x1u64) as u8
66}
67fn destination_field(entry: RedirectionTableEntry) -> u8 {
68 // When the destination mode is physical, the destination field should only
69 // be defined through bits 56-59, as defined in the IOAPIC specification.

Callers 1

update_entryMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected