static void lpc_uart_intr_assert(void *arg) { struct lpc_uart_softc *sc = arg; assert(sc->irq >= 0); vm_ioapic_pulse_irq(lpc_bridge->pi_vmctx, sc->irq); }
static void pit_mevent_cb(int fd, enum ev_type type, void *param) { struct counter *c; c = param; pit_mev_count++; vm_ioapic_pulse_irq(c->ctx, 2); /* * Delete the timer for one-shots */ if (c->mode != TIMER_RATEGEN) { mevent_delete(c->tevp); c->tevp = NULL; } }