X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2F8254.c;h=291101e398f47ef36c23551fd9a40862840496b4;hb=57659fddee368e08d74c112a36430a7b23b3cf4b;hp=f330a8bd7eda9f854a8cca3f0869bb42f5e60a58;hpb=3e5e5a12e64630d7a37ed32b8d7e2d993c79f7e0;p=palacios.git diff --git a/palacios/src/devices/8254.c b/palacios/src/devices/8254.c index f330a8b..291101e 100644 --- a/palacios/src/devices/8254.c +++ b/palacios/src/devices/8254.c @@ -311,6 +311,12 @@ static void pit_update_time(struct guest_info * info, ullong_t cpu_cycles, ullon } +static void pit_advance_time(struct guest_info * core, void * private_data) { + + v3_raise_irq(core->vm_info, 0); +} + + /* This should call out to handle_SQR_WAVE_write, etc... */ @@ -593,6 +599,7 @@ static int pit_write_command(struct guest_info * core, ushort_t port, void * src static struct vm_timer_ops timer_ops = { .update_time = pit_update_time, + .advance_timer = pit_advance_time, };