URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
Compare Revisions
- This comparison shows the changes necessary to convert path
/openrisc/trunk/rtos/ecos-2.0/packages/net/common/v2_0/include/machine
- from Rev 27 to Rev 174
- ↔ Reverse comparison
Rev 27 → Rev 174
/ansi.h
0,0 → 1,41
//========================================================================== |
// |
// include/machine/ansi.h |
// |
// Architecture/platform specifics |
// |
//========================================================================== |
//####BSDCOPYRIGHTBEGIN#### |
// |
// ------------------------------------------- |
// |
// Portions of this software may have been derived from OpenBSD or other sources, |
// and are covered by the appropriate copyright disclaimers included herein. |
// |
// ------------------------------------------- |
// |
//####BSDCOPYRIGHTEND#### |
//========================================================================== |
//#####DESCRIPTIONBEGIN#### |
// |
// Author(s): gthomas |
// Contributors: gthomas |
// Date: 2000-01-10 |
// Purpose: |
// Description: |
// |
// |
//####DESCRIPTIONEND#### |
// |
//========================================================================== |
|
#ifndef _MACHINE_ANSI_H_ |
#define _MACHINE_ANSI_H_ |
|
// Mappings of BSD-style functions used in networking code to those provided |
// by the eCos environment. |
|
// Nothing to do here any more. |
|
#endif // _MACHINE_ANSI_H_ |
|
/endian.h
0,0 → 1,47
//========================================================================== |
// |
// include/machine/endian.h |
// |
// Architecture/platform specific byte ordering support |
// |
//========================================================================== |
//####BSDCOPYRIGHTBEGIN#### |
// |
// ------------------------------------------- |
// |
// Portions of this software may have been derived from OpenBSD or other sources, |
// and are covered by the appropriate copyright disclaimers included herein. |
// |
// ------------------------------------------- |
// |
//####BSDCOPYRIGHTEND#### |
//========================================================================== |
//#####DESCRIPTIONBEGIN#### |
// |
// Author(s): gthomas |
// Contributors: gthomas |
// Date: 2000-01-10 |
// Purpose: |
// Description: |
// |
// |
//####DESCRIPTIONEND#### |
// |
//========================================================================== |
|
|
#ifndef _MACHINE_ENDIAN_H_ |
#define _MACHINE_ENDIAN_H_ |
|
#include <cyg/hal/basetype.h> |
|
#if CYG_BYTEORDER == CYG_MSBFIRST |
#define BYTE_ORDER BIG_ENDIAN |
#else |
#define BYTE_ORDER LITTLE_ENDIAN |
#endif |
#include <sys/endian.h> |
|
#endif // _MACHINE_ENDIAN_H_ |
|
|