00001 /***************************************************************************** 00002 * Copyright (c) 1997-2007, Intel Corporation. 00003 * All rights reserved. This program and the accompanying materials 00004 * are made available under the terms of the Eclipse Public License v1.0 00005 * which accompanies this distribution, and is available at 00006 * http://www.eclipse.org/legal/epl-v10.html 00007 * 00008 * Contributors: 00009 * Intel Corporation - Initial API and implementation 00010 * 00011 * $Id$ 00012 *****************************************************************************/ 00013 00014 #ifndef MRTE_TYPES_H 00015 #define MRTE_TYPES_H 00016 00017 #ifdef LIN 00018 #include <wchar.h> 00019 #endif 00020 00021 typedef signed char S8; 00022 typedef unsigned char U8; 00023 00024 typedef signed short S16; 00025 typedef unsigned short U16; 00026 00027 typedef signed int S32; 00028 typedef unsigned int U32; 00029 00030 #ifdef linux 00031 typedef signed long long S64; 00032 typedef unsigned long long U64; 00033 #else 00034 typedef signed __int64 S64; 00035 typedef unsigned __int64 U64; 00036 #endif // linux 00037 00038 00039 #if defined(EM64T_ARCH) || defined(IPF_ARCH) 00040 typedef S64 SIOP; 00041 typedef U64 UIOP; 00042 #elif defined(IA32_ARCH) 00043 typedef signed int SIOP; 00044 typedef unsigned int UIOP; 00045 #else 00046 # error "Architecture-specific configuration required (e.g IA32_ARCH, IPF_ARCH, EM64T_ARCH)" 00047 #endif 00048 00049 typedef void * TMRTEHandle; 00050 typedef S64 TMrteInt64; 00051 00052 #define MAX_MRTE_STRING_LENGTH 2048 00053 00054 00055 //TODO: remove SMRTEString 00056 struct SMRTEString 00057 { 00058 char * szBuffer; // string buffer 00059 unsigned int uiLength; // szBuffer size in bytes 00060 unsigned int uiRequiredSize; // required size of szBuffer in bytes (including place for NULL termination) 00061 }; 00062 00063 typedef void* (*TMemoryAllocatorFunc)(unsigned int); 00064 00065 00066 #endif 00067 00068
(C) Copyright Intel Corporation 2007-2008. All Rights Reserved.
Generated on Thu Mar 6 15:07:54 2008 for Martini by