summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2011-07-01 15:33:44 -0700
committerRobert Mustacchi <rm@joyent.com>2011-07-01 15:33:44 -0700
commitf7bd987c309aa99b065305eddcbb10fc494a35f6 (patch)
treef668038a497692d9497b38cb2ead6c249dc82f36
parentbe4035d30b9f278490b61ab83d4d80386f3932bd (diff)
downloadillumos-kvm-f7bd987c309aa99b065305eddcbb10fc494a35f6.tar.gz
HVM-464 kvm_tss.h should be hdrchk clean
HVM-465 kvm_mmu.h should be hdrchk clean
-rw-r--r--Makefile2
-rw-r--r--kvm_mmu.h4
-rw-r--r--kvm_tss.h2
3 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 98a3984..e5483a0 100644
--- a/Makefile
+++ b/Makefile
@@ -96,7 +96,9 @@ check:
@$(HDRCHK) gcc kvm_impl.h
@$(HDRCHK) gcc kvm_iodev.h
@$(HDRCHK) gcc kvm_msidef.h
+ @$(HDRCHK) gcc kvm_mmu.h
@$(HDRCHK) gcc kvm_timer.h
+ @$(HDRCHK) gcc kvm_tss.h
@$(HDRCHK) gcc kvm_types.h
@$(HDRCHK) gcc kvm_vmx.h
@$(HDRCHK) gcc kvm_x86.h
diff --git a/kvm_mmu.h b/kvm_mmu.h
index fc859c1..3e3030b 100644
--- a/kvm_mmu.h
+++ b/kvm_mmu.h
@@ -1,6 +1,10 @@
#ifndef __KVM_X86_MMU_H
#define __KVM_X86_MMU_H
+#include <sys/stdint.h>
+
+struct kvm_vcpu;
+
#define PT64_PT_BITS 9
#define PT64_ENT_PER_PAGE (1 << PT64_PT_BITS)
#define PT32_PT_BITS 10
diff --git a/kvm_tss.h b/kvm_tss.h
index 1add0ec..d8f1970 100644
--- a/kvm_tss.h
+++ b/kvm_tss.h
@@ -1,6 +1,8 @@
#ifndef __TSS_SEGMENT_H
#define __TSS_SEGMENT_H
+#include <sys/stdint.h>
+
typedef struct tss_segment_32 {
uint16_t prev_task_link; /* 16-bit prior TSS selector */
uint16_t rsvd0; /* reserved, ignored */