105 lines
2.6 KiB
C
105 lines
2.6 KiB
C
/* syscallArgs.h - Top-level file to include the syscall argument structures */
|
|
|
|
/*
|
|
Copyright (c) 2003-2005, 2009-2010, 2016 Wind River Systems, Inc.
|
|
|
|
The right to copy, distribute, modify or otherwise make use
|
|
of this software may be licensed only pursuant to the terms
|
|
of an applicable Wind River license agreement.
|
|
*/
|
|
|
|
/*
|
|
modification history
|
|
--------------------
|
|
01k,12oct16,elp Fixed SIMNT LP64 include file (VXW6-85882).
|
|
01j,08oct10,elp updated for 64-bits simulator.
|
|
01i,29apr10,pad Moved extern C statement after include statements.
|
|
01h,28jan10,jpb Edited syscallArgs.h path.
|
|
01g,19jun09,mze replacing PAD64
|
|
01f,15apr09,jb 64-bit version is premature - removing
|
|
01e,20jan09,jb Adding 64-bit support
|
|
01d,18may05,rec add coldfire support
|
|
01c,27apr04,mil Fixed names for MIPS include files.
|
|
01b,15dec03,yvp Changed arch-specific header file names.
|
|
01a,10dec03,yvp written.
|
|
*/
|
|
|
|
#ifndef __INCsyscallArgsh
|
|
#define __INCsyscallArgsh
|
|
|
|
#if (CPU_FAMILY==PPC)
|
|
#include <arch/ppc/syscallArgsppc.h>
|
|
#endif
|
|
|
|
#if (CPU_FAMILY==ARM)
|
|
#include <arch/arm/syscallArgsarm.h>
|
|
#endif
|
|
|
|
#if (CPU_FAMILY==MIPS)
|
|
# if (_WRS_INT_REGISTER_SIZE == 8)
|
|
# if (_BYTE_ORDER == _LITTLE_ENDIAN)
|
|
# include <arch/mips/syscallArgsMIPS64LE.h>
|
|
# elif (_BYTE_ORDER == _BIG_ENDIAN)
|
|
# include <arch/mips/syscallArgsMIPS64BE.h>
|
|
# else /* _BYTE_ORDER */
|
|
# error "Byte order cannot be determined\n"
|
|
# endif /* _BYTE_ORDER */
|
|
# elif (_WRS_INT_REGISTER_SIZE == 4)
|
|
# include <arch/mips/syscallArgsMIPS32.h>
|
|
# else /* _WRS_INT_REGISTER_SIZE */
|
|
# error "Register size cannot be determined\n"
|
|
# endif /* _WRS_INT_REGISTER_SIZE */
|
|
#endif /* CPU_FAMILY==MIPS */
|
|
|
|
#if (CPU_FAMILY==I80X86)
|
|
#ifndef _WRS_CONFIG_LP64
|
|
#include <arch/i86/syscallArgsx86.h>
|
|
#else
|
|
#include <arch/i86/x86_64/syscallArgsX86_64.h>
|
|
#endif /* _WRS_CONFIG_LP64 */
|
|
#endif /* CPU_FAMILY==I80X86 */
|
|
|
|
#if (CPU_FAMILY==SH)
|
|
#if (CPU == SH7600)
|
|
#include <arch/sh/syscallArgssh2.h>
|
|
#elif (CPU == SH7700)
|
|
#include <arch/sh/syscallArgssh3.h>
|
|
#elif (CPU == SH7750)
|
|
#include <arch/sh/syscallArgssh4.h>
|
|
#endif
|
|
#endif
|
|
|
|
#if (CPU_FAMILY==SIMNT)
|
|
#ifdef _WRS_CONFIG_LP64
|
|
#include <arch/simnt/syscallArgsX86_64.h>
|
|
#else
|
|
#include <arch/simnt/syscallArgsx86.h>
|
|
#endif /* _WRS_CONFIG_LP64 */
|
|
#endif
|
|
|
|
#if (CPU_FAMILY==SIMLINUX)
|
|
#ifdef _WRS_CONFIG_LP64
|
|
#include <arch/simlinux/syscallArgsX86_64.h>
|
|
#else
|
|
#include <arch/simlinux/syscallArgsx86.h>
|
|
#endif /* _WRS_CONFIG_LP64 */
|
|
#endif
|
|
|
|
#if (CPU_FAMILY==SIMSPARCSOLARIS)
|
|
#include <arch/simsolaris/syscallArgssparc.h>
|
|
#endif
|
|
|
|
#if (CPU_FAMILY == COLDFIRE)
|
|
#include <arch/coldfire/syscallArgscf.h>
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* __INCsyscallArgsh */
|