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.


added sprintf to build and reworked type system to handle it
[palacios.git] / palacios / include / palacios / vmm_types.h
index 0dee998..9a3fe61 100644 (file)
@@ -21,7 +21,7 @@
 #define __VMM_TYPES_H
 
 #ifdef __V3VEE__
-#include <palacios/vmm_stddef.h>
+//#include <palacios/vmm_stddef.h>
 
 
 
@@ -34,6 +34,8 @@ typedef enum {REAL, /*UNREAL,*/ PROTECTED, PROTECTED_PAE, LONG, LONG_32_COMPAT,
 typedef enum {PHYSICAL_MEM, VIRTUAL_MEM} v3_mem_mode_t;
 
 
+#define NULL ((void *)0)
+
 
 typedef signed char schar_t;
 typedef unsigned char uchar_t;
@@ -50,8 +52,8 @@ 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;
+typedef long ssize_t;       
 
 #define false 0
 #define true 1