diff options
author | Robert Mustacchi <rm@joyent.com> | 2011-06-28 10:15:12 -0700 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2011-06-28 10:15:12 -0700 |
commit | df5d185396b712eb8b95cf7bc24402f16629961a (patch) | |
tree | 2b0f69e792236d4e3d9b7f6780ad18aeefe47738 | |
parent | c8910c66099dd5ed4c9867c7e65b23eef3224931 (diff) | |
download | illumos-kvm-df5d185396b712eb8b95cf7bc24402f16629961a.tar.gz |
HVM-433 kvm_i8254.h should be c-style clean
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | kvm_i8254.h | 14 |
2 files changed, 8 insertions, 7 deletions
@@ -25,6 +25,7 @@ HEADERS= \ kvm_cpuid.h \ kvm_emulate.h \ kvm_host.h \ + kvm_i8254.h \ kvm_x86.h kvm: kvm.c kvm_x86.c kvm_emulate.c kvm.h kvm_x86host.h msr.h kvm_bitops.h kvm_irq.c kvm_i8254.c kvm_lapic.c kvm_mmu.c kvm_iodev.c kvm_ioapic.c kvm_vmx.c kvm_i8259.c kvm_coalesced_mmio.c kvm_irq_comm.c kvm_cache_regs.c kvm_bitops.c diff --git a/kvm_i8254.h b/kvm_i8254.h index 31da46b..e8d2ec6 100644 --- a/kvm_i8254.h +++ b/kvm_i8254.h @@ -1,5 +1,5 @@ #ifndef __KVM_I8254_H -#define __KVM_I8254_H +#define __KVM_I8254_H #include "kvm_iodev.h" #include "kvm_timer.h" @@ -43,12 +43,12 @@ typedef struct kvm_pit { struct kvm_irq_mask_notifier mask_notifier; } kvm_pit_t; -#define KVM_PIT_BASE_ADDRESS 0x40 -#define KVM_SPEAKER_BASE_ADDRESS 0x61 -#define KVM_PIT_MEM_LENGTH 4 -#define KVM_PIT_FREQ 1193181 -#define KVM_MAX_PIT_INTR_INTERVAL HZ / 100 -#define KVM_PIT_CHANNEL_MASK 0x3 +#define KVM_PIT_BASE_ADDRESS 0x40 +#define KVM_SPEAKER_BASE_ADDRESS 0x61 +#define KVM_PIT_MEM_LENGTH 4 +#define KVM_PIT_FREQ 1193181 +#define KVM_MAX_PIT_INTR_INTERVAL HZ / 100 +#define KVM_PIT_CHANNEL_MASK 0x3 extern void kvm_inject_pit_timer_irqs(struct kvm_vcpu *); extern void kvm_pit_load_count(struct kvm *, int, uint32_t, boolean_t); |