00001 #ifndef CYGONCE_HAL_BASETYPE_H 00002 #define CYGONCE_HAL_BASETYPE_H 00003 //============================================================================= 00004 // 00005 // basetype.h 00006 // 00007 // Standard types for this architecture. 00008 // 00009 //============================================================================= 00010 //####ECOSGPLCOPYRIGHTBEGIN#### 00011 // ------------------------------------------- 00012 // This file is part of eCos, the Embedded Configurable Operating System. 00013 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc. 00014 // 00015 // eCos is free software; you can redistribute it and/or modify it under 00016 // the terms of the GNU General Public License as published by the Free 00017 // Software Foundation; either version 2 or (at your option) any later version. 00018 // 00019 // eCos is distributed in the hope that it will be useful, but WITHOUT ANY 00020 // WARRANTY; without even the implied warranty of MERCHANTABILITY or 00021 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 00022 // for more details. 00023 // 00024 // You should have received a copy of the GNU General Public License along 00025 // with eCos; if not, write to the Free Software Foundation, Inc., 00026 // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. 00027 // 00028 // As a special exception, if other files instantiate templates or use macros 00029 // or inline functions from this file, or you compile this file and link it 00030 // with other works to produce a work based on this file, this file does not 00031 // by itself cause the resulting work to be covered by the GNU General Public 00032 // License. However the source code for this file must still be made available 00033 // in accordance with section (3) of the GNU General Public License. 00034 // 00035 // This exception does not invalidate any other reasons why a work based on 00036 // this file might be covered by the GNU General Public License. 00037 // 00038 // Alternative licenses for eCos may be arranged by contacting Red Hat, Inc. 00039 // at http://sources.redhat.com/ecos/ecos-license/ 00040 // ------------------------------------------- 00041 //####ECOSGPLCOPYRIGHTEND#### 00042 //============================================================================= 00043 //#####DESCRIPTIONBEGIN#### 00044 // 00045 // Author(s): yoshinori sato 00046 // Contributors: yoshinori sato, Uwe Kindler 00047 // Date: 2003-12-06 00048 // Purpose: Define architecture base types. 00049 // Usage: Included by "cyg_type.h", do not use directly 00050 // 00051 //####DESCRIPTIONEND#### 00052 // 00053 //============================================================================= 00054 00055 //============================================================================= 00056 // DOXYGEN FILE HEADER 00063 //============================================================================= 00064 00065 //----------------------------------------------------------------------------- 00066 // Characterize the architecture 00067 // 00068 #define CYG_BYTEORDER CYG_MSBFIRST // Big endian 00069 00070 #define CYG_LABEL_DEFN(_name_) _##_name_ 00071 00072 #define CYGARC_ALIGNMENT 4 00073 #define CYGARC_P2ALIGNMENT 2 00074 00075 // 00076 // Unless there is a *very* good reason to change the bastypes the default type 00077 // declarations in cyg_type.h should be used. 00078 // 00079 // The following definitions should be faster - but we leave them like defined 00080 // in cyg_type.h in order to avoid trouble 00081 // 00082 #if 0 00083 #define cyg_halint32 long 00084 00085 #define cyg_halcount8 char 00086 #define cyg_halcount16 short 00087 #define cyg_halcount32 long 00088 #endif 00089 00090 //----------------------------------------------------------------------------- 00091 #endif // CYGONCE_HAL_BASETYPE_H 00092 // End of basetype.h
1.3.5