Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


typedef name changes
[palacios.git] / palacios / include / palacios / vmm_types.h
index c1cd312..0dee998 100644 (file)
 #define __VMM_TYPES_H
 
 #ifdef __V3VEE__
+#include <palacios/vmm_stddef.h>
+
+
+
+
+typedef enum {SHADOW_PAGING, NESTED_PAGING} v3_paging_mode_t;
+typedef enum {VM_RUNNING, VM_STOPPED, VM_SUSPENDED, VM_ERROR, VM_EMULATING} v3_vm_operating_mode_t;
+
+
+typedef enum {REAL, /*UNREAL,*/ PROTECTED, PROTECTED_PAE, LONG, LONG_32_COMPAT, LONG_16_COMPAT} v3_cpu_mode_t;
+typedef enum {PHYSICAL_MEM, VIRTUAL_MEM} v3_mem_mode_t;
+
 
 
 typedef signed char schar_t;
@@ -38,7 +50,7 @@ typedef unsigned long long ullong_t;
 typedef signed long slong_t;
 typedef unsigned long ulong_t;
 
-typedef unsigned long size_t;
+//typedef unsigned long size_t;
        
 
 #define false 0
@@ -61,7 +73,7 @@ typedef unsigned char uint8_t;
 typedef char sint8_t;
 
 typedef ulong_t addr_t;
-
+typedef ullong_t v3_reg_t;
 #endif // ! __V3VEE__
 
 #endif