- \r
- #if _MSC_EXTENSIONS \r
- \r
-\r
- //\r
- // use Microsoft C complier dependent interger width types \r
- //\r
- typedef unsigned __int64 UINT64;\r
- typedef __int64 INT64;\r
- typedef unsigned __int32 UINT32;\r
- typedef __int32 INT32;\r
- typedef unsigned short UINT16;\r
- typedef unsigned short CHAR16;\r
- typedef short INT16;\r
- typedef unsigned char BOOLEAN;\r
- typedef unsigned char UINT8;\r
- typedef char CHAR8;\r
- typedef char INT8;\r
- #else\r
- #ifdef _EFI_P64 \r
- //\r
- // P64 - is Intel Itanium(TM) speak for pointers being 64-bit and longs and ints \r
- // are 32-bits\r
- //\r
- typedef unsigned long long UINT64;\r
- typedef long long INT64;\r
- typedef unsigned int UINT32;\r
- typedef int INT32;\r
- typedef unsigned short CHAR16;\r
- typedef unsigned short UINT16;\r
- typedef short INT16;\r
- typedef unsigned char BOOLEAN;\r
- typedef unsigned char UINT8;\r
- typedef char CHAR8;\r
- typedef char INT8;\r
- #else\r
- //\r
- // Assume LP64 - longs and pointers are 64-bit. Ints are 32-bit.\r
- //\r
- typedef unsigned long UINT64;\r
- typedef long INT64;\r
- typedef unsigned int UINT32;\r
- typedef int INT32;\r
- typedef unsigned short UINT16;\r
- typedef unsigned short CHAR16;\r
- typedef short INT16;\r
- typedef unsigned char BOOLEAN;\r
- typedef unsigned char UINT8;\r
- typedef char CHAR8;\r
- typedef char INT8;\r
- #endif\r
- #endif\r
-\r
- #define UINT8_MAX 0xff\r