6 #define CONFIG_X86_32 1
12 #define CONFIG_X86_64 1
16 #if defined(__i386__) || defined (__x86_64__)
42 * This program is free software; you can redistribute it and/or modify
43 * it under the terms of the GNU General Public License as published by
44 * the Free Software Foundation; either version 2 of the License.
46 * This program is distributed in the hope that it will be useful,
47 * but WITHOUT ANY WARRANTY; without even the implied warranty of
48 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49 * GNU General Public License for more details.
51 * You should have received a copy of the GNU General Public License
52 * along with this program; if not, write to the Free Software
53 * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
57 #ifndef __KVM_TYPES_H__
58 #define __KVM_TYPES_H__
60 #include <asm/types.h>
65 * gva - guest virtual address
66 * gpa - guest physical address
67 * gfn - guest frame number
68 * hva - host virtual address
69 * hpa - host physical address
70 * hfn - host frame number
73 typedef unsigned long gva_t
;
75 typedef unsigned long gfn_t
;
77 typedef unsigned long hva_t
;
79 typedef unsigned long hfn_t
;
83 union kvm_ioapic_redirect_entry
{
100 struct kvm_lapic_irq
{
110 #endif /* __KVM_TYPES_H__ */