apic_signal()

Signal an interrupt over the APIC bus

Synopsis:

#include <qvm/x86_64/apic.h>
int apic_signal(guest_intr const* ip,
                unsigned icrh,
                unsigned icrl)

Arguments:

ip
A pointer to a virtual interrupt target.
icrh
The higher (upper) word in the interrupt control register.
icrl
The lower word in the interrupt control register.

Returns:

EOK if successful; otherwise an errno (e.g., EINVAL for an invalid argument).

Page updated: