Home
last modified time | relevance | path

Searched refs:pci_pins (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/bhyve/amd64/
H A Dioapic.c51 static int pci_pins; variable
57 if (vm_ioapic_pincount(ctx, &pci_pins) < 0) { in ioapic_init()
58 pci_pins = 0; in ioapic_init()
63 if (pci_pins <= 16) { in ioapic_init()
64 pci_pins = 0; in ioapic_init()
67 pci_pins -= 16; in ioapic_init()
75 if (pci_pins == 0) in ioapic_pci_alloc_irq()
81 return (16 + (last_pin++ % pci_pins)); in ioapic_pci_alloc_irq()