summaryrefslogtreecommitdiff
path: root/kvm_types.h
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2011-07-01 11:35:07 -0700
committerRobert Mustacchi <rm@joyent.com>2011-07-01 11:35:07 -0700
commit429303891693e0268f5dca8dd0d4580b4b7d3dc1 (patch)
treed4715d35a769ca61ca44dcd1c486c10a72837e7e /kvm_types.h
parentb167e27f80b68423df5c006e700209d71699b188 (diff)
downloadillumos-kvm-429303891693e0268f5dca8dd0d4580b4b7d3dc1.tar.gz
HVM-459 kvm_types.h should be cstyle clean
Diffstat (limited to 'kvm_types.h')
-rw-r--r--kvm_types.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/kvm_types.h b/kvm_types.h
index 13986d5..a6eb76c 100644
--- a/kvm_types.h
+++ b/kvm_types.h
@@ -15,9 +15,9 @@
*/
#ifndef __KVM_TYPES_H__
-#define __KVM_TYPES_H__
+#define __KVM_TYPES_H__
-#include <sys/types.h>
+#include <sys/stdint.h>
/*
* Address types:
@@ -30,13 +30,13 @@
* hfn - host frame number
*/
-typedef unsigned long gva_t;
-typedef uint64_t gpa_t;
-typedef unsigned long gfn_t;
+typedef unsigned long gva_t;
+typedef uint64_t gpa_t;
+typedef unsigned long gfn_t;
-typedef unsigned long hva_t;
-typedef uint64_t hpa_t;
-typedef unsigned long hfn_t;
+typedef unsigned long hva_t;
+typedef uint64_t hpa_t;
+typedef unsigned long hfn_t;
union kvm_ioapic_redirect_entry {
uint64_t bits;