X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm_types.h;fp=palacios%2Finclude%2Fpalacios%2Fvmm_types.h;h=9a3fe612ff1b43b0d4398ab0917638930a4cc18d;hb=94eb64dbd7ce27642db449e49cb86d04b11c427d;hp=0dee998aac2f536d527f980c9a217be5b3164cc0;hpb=3dd047dc0f70231ea93e5b3b40a9142a391bf507;p=palacios.git diff --git a/palacios/include/palacios/vmm_types.h b/palacios/include/palacios/vmm_types.h index 0dee998..9a3fe61 100644 --- a/palacios/include/palacios/vmm_types.h +++ b/palacios/include/palacios/vmm_types.h @@ -21,7 +21,7 @@ #define __VMM_TYPES_H #ifdef __V3VEE__ -#include +//#include @@ -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