5 #include <linux/kthread.h>
51 #define KVM_PIT_BASE_ADDRESS 0x40
52 #define KVM_SPEAKER_BASE_ADDRESS 0x61
53 #define KVM_PIT_MEM_LENGTH 4
54 #define KVM_PIT_FREQ 1193181
55 #define KVM_MAX_PIT_INTR_INTERVAL HZ / 100
56 #define KVM_PIT_CHANNEL_MASK 0x3
62 int hpet_legacy_start);
struct kvm_pit * kvm_create_pit(struct kvm *kvm, u32 flags)
void kvm_pit_load_count(struct kvm_pit *pit, int channel, u32 val, int hpet_legacy_start)
void kvm_pit_set_reinject(struct kvm_pit *pit, bool reinject)
void kvm_free_pit(struct kvm *kvm)
struct kvm_kpit_channel_state channels[3]
struct kvm_irq_ack_notifier irq_ack_notifier
struct kthread_work expired
struct kvm_irq_mask_notifier mask_notifier
struct kthread_worker * worker
struct kvm_kpit_state pit_state
struct kvm_io_device speaker_dev