mpi_type.h (139749) | mpi_type.h (143063) |
---|---|
1/* $FreeBSD: head/sys/dev/mpt/mpilib/mpi_type.h 139749 2005-01-06 01:43:34Z imp $ */ | 1/* $FreeBSD: head/sys/dev/mpt/mpilib/mpi_type.h 143063 2005-03-02 21:33:29Z joerg $ */ |
2/*- 3 * Copyright (c) 2000, 2001 by LSI Logic Corporation 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice immediately at the beginning of the file, without modification, --- 31 unchanged lines hidden (view full) --- 41 * 02-20-01 01.01.02 Added define and ifdef for MPI_POINTER. 42 * 08-08-01 01.02.01 Original release for v1.2 work. 43 * -------------------------------------------------------------------------- 44 */ 45 46#ifndef MPI_TYPE_H 47#define MPI_TYPE_H 48 | 2/*- 3 * Copyright (c) 2000, 2001 by LSI Logic Corporation 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice immediately at the beginning of the file, without modification, --- 31 unchanged lines hidden (view full) --- 41 * 02-20-01 01.01.02 Added define and ifdef for MPI_POINTER. 42 * 08-08-01 01.02.01 Original release for v1.2 work. 43 * -------------------------------------------------------------------------- 44 */ 45 46#ifndef MPI_TYPE_H 47#define MPI_TYPE_H 48 |
49#ifndef _SYS_CDEFS_H_ 50#error this file needs sys/cdefs.h as a prerequisite 51#endif |
|
49 50/******************************************************************************* 51 * Define MPI_POINTER if it hasn't already been defined. By default MPI_POINTER 52 * is defined to be a near pointer. MPI_POINTER can be defined as a far pointer 53 * by defining MPI_POINTER as "far *" before this header file is included. 54 */ 55#ifndef MPI_POINTER 56#define MPI_POINTER * --- 6 unchanged lines hidden (view full) --- 63* 64*****************************************************************************/ 65 66typedef signed char S8; 67typedef unsigned char U8; 68typedef signed short S16; 69typedef unsigned short U16; 70 | 52 53/******************************************************************************* 54 * Define MPI_POINTER if it hasn't already been defined. By default MPI_POINTER 55 * is defined to be a near pointer. MPI_POINTER can be defined as a far pointer 56 * by defining MPI_POINTER as "far *" before this header file is included. 57 */ 58#ifndef MPI_POINTER 59#define MPI_POINTER * --- 6 unchanged lines hidden (view full) --- 66* 67*****************************************************************************/ 68 69typedef signed char S8; 70typedef unsigned char U8; 71typedef signed short S16; 72typedef unsigned short U16; 73 |
71#if defined(unix) || defined(__arm) || defined(ALPHA) || defined(__GNUC__) || defined(__INTEL_COMPILER) | 74#if defined(unix) || defined(__arm) || defined(ALPHA) \ 75 || defined(__CC_INT_IS_32BIT) |
72 73 typedef signed int S32; 74 typedef unsigned int U32; 75 76#else 77 78 typedef signed long S32; 79 typedef unsigned long U32; --- 33 unchanged lines hidden --- | 76 77 typedef signed int S32; 78 typedef unsigned int U32; 79 80#else 81 82 typedef signed long S32; 83 typedef unsigned long U32; --- 33 unchanged lines hidden --- |