summaryrefslogtreecommitdiff
path: root/kvm_x86.c
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2011-04-22 16:11:42 -0700
committerRobert Mustacchi <rm@joyent.com>2011-04-22 16:11:42 -0700
commita540b135517431cc80a5be6742ad1e898953eb64 (patch)
tree2461237d28ed5868f840a528334bf0e4f565e392 /kvm_x86.c
parentcd955a87879f1b356565562a048708cc222d885a (diff)
downloadillumos-kvm-a540b135517431cc80a5be6742ad1e898953eb64.tar.gz
HVM-115 Missing code in kvm_apic_post_state_restore
Diffstat (limited to 'kvm_x86.c')
-rw-r--r--kvm_x86.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvm_x86.c b/kvm_x86.c
index 8cd75b0..8b85e8f 100644
--- a/kvm_x86.c
+++ b/kvm_x86.c
@@ -741,7 +741,7 @@ static int apic_lvtt_period(struct kvm_lapic *apic)
return (apic_get_reg(apic, APIC_LVTT) & APIC_LVT_TIMER_PERIODIC);
}
-static void
+void
start_apic_timer(struct kvm_lapic *apic)
{
hrtime_t now = gethrtime();
@@ -1093,7 +1093,7 @@ apic_send_ipi(struct kvm_lapic *apic)
kvm_irq_delivery_to_apic(apic->vcpu->kvm, apic, &irq);
}
-static void
+void
update_divide_count(struct kvm_lapic *apic)
{
uint32_t tmp1, tmp2, tdcr;