guest_intr_num_pins()

Specify the size of the PIC vdev pin information array

Synopsis:

#include <qvm/guest.h>
void guest_intr_num_pins(vdev_t *vdp,
                         unsigned num_pins)

Arguments:

vdp
A pointer to the PIC virtual device.
num_pins
The number of pins for the device.

Library:

Provided by qvm; no external library is required.

Description:

For PIC vdevs, a pin is an interrupt source point. This function sets the number of different interrupt sources that the PIC can handle.