#ifndef __I8254_H
#define __I8254_H
#include <linux/kthread.h>
#include <kvm/iodev.h>
struct kvm_kpit_channel_state { … };
struct kvm_kpit_state { … };
struct kvm_pit { … };
#define KVM_PIT_BASE_ADDRESS …
#define KVM_SPEAKER_BASE_ADDRESS …
#define KVM_PIT_MEM_LENGTH …
#define KVM_PIT_FREQ …
#define KVM_MAX_PIT_INTR_INTERVAL …
#define KVM_PIT_CHANNEL_MASK …
struct kvm_pit *kvm_create_pit(struct kvm *kvm, u32 flags);
void kvm_free_pit(struct kvm *kvm);
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);
#endif