2 * This file is part of the Palacios Virtual Machine Monitor developed
3 * by the V3VEE Project with funding from the United States National
4 * Science Foundation and the Department of Energy.
6 * The V3VEE Project is a joint project between Northwestern University
7 * and the University of New Mexico. You can find out more at
10 * Copyright (c) 2008, Jack Lange <jarusl@cs.northwestern.edu>
11 * Copyright (c) 2008, The V3VEE Project <http://www.v3vee.org>
12 * All rights reserved.
14 * Author: Jack Lange <jarusl@cs.northwestern.edu>
16 * This is free software. You are permitted to use,
17 * redistribute, and modify it as specified in the file "V3VEE_LICENSE".
24 //#include <palacios/vmm_stddef.h>
29 typedef enum {SHADOW_PAGING, NESTED_PAGING} v3_paging_mode_t;
30 typedef enum {VM_RUNNING, VM_STOPPED, VM_SUSPENDED, VM_ERROR, VM_EMULATING} v3_vm_operating_mode_t;
31 typedef enum {CORE_RUNNING, CORE_STOPPED} v3_core_operating_mode_t;
33 typedef enum {PAGING_4KB, PAGING_2MB} v3_paging_size_t;
35 typedef enum {REAL, /*UNREAL,*/ PROTECTED, PROTECTED_PAE, LONG, LONG_32_COMPAT, LONG_16_COMPAT} v3_cpu_mode_t;
36 typedef enum {PHYSICAL_MEM, VIRTUAL_MEM} v3_mem_mode_t;
39 #define NULL ((void *)0)
42 typedef signed char schar_t;
43 typedef unsigned char uchar_t;
45 typedef signed short sshort_t;
46 typedef unsigned short ushort_t;
48 typedef signed int sint_t;
49 typedef unsigned int uint_t;
51 typedef signed long long sllong_t;
52 typedef unsigned long long ullong_t;
54 typedef signed long slong_t;
55 typedef unsigned long ulong_t;
57 typedef unsigned long size_t;
66 typedef unsigned long long uint64_t;
67 typedef long long sint64_t;
69 typedef unsigned int uint32_t;
73 typedef unsigned short uint16_t;
74 typedef short sint16_t;
76 typedef unsigned char uint8_t;
79 typedef ulong_t addr_t;
80 typedef ullong_t v3_reg_t;
81 #endif /* ! __V3VEE__ */