1 /* $FreeBSD: src/sys/dev/mpt/mpilib/mpi_type.h,v 1.1.2.2 2002/09/01 23:08:06 mjacob Exp $ */
2 /* $DragonFly: src/sys/dev/disk/mpt/mpilib/mpi_type.h,v 1.2 2003/06/17 04:28:28 dillon Exp $ */
4 * Copyright (c) 2000, 2001 by LSI Logic Corporation
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
9 * 1. Redistributions of source code must retain the above copyright
10 * notice immediately at the beginning of the file, without modification,
11 * this list of conditions, and the following disclaimer.
12 * 2. The name of the author may not be used to endorse or promote products
13 * derived from this software without specific prior written permission.
15 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
19 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 * Title: MPI Basic type definitions
30 * Creation Date: June 6, 2000
32 * MPI Version: 01.02.01
37 * Date Version Description
38 * -------- -------- ------------------------------------------------------
39 * 05-08-00 00.10.01 Original release for 0.10 spec dated 4/26/2000.
40 * 06-06-00 01.00.01 Update version number for 1.0 release.
41 * 11-02-00 01.01.01 Original release for post 1.0 work
42 * 02-20-01 01.01.02 Added define and ifdef for MPI_POINTER.
43 * 08-08-01 01.02.01 Original release for v1.2 work.
44 * --------------------------------------------------------------------------
51 /*******************************************************************************
52 * Define MPI_POINTER if it hasn't already been defined. By default MPI_POINTER
53 * is defined to be a near pointer. MPI_POINTER can be defined as a far pointer
54 * by defining MPI_POINTER as "far *" before this header file is included.
61 /*****************************************************************************
65 *****************************************************************************/
67 typedef signed char S8;
68 typedef unsigned char U8;
69 typedef signed short S16;
70 typedef unsigned short U16;
72 #if defined(unix) || defined(__arm) || defined(ALPHA) || defined(__GNUC__)
74 typedef signed int S32;
75 typedef unsigned int U32;
79 typedef signed long S32;
80 typedef unsigned long U32;
98 /****************************************************************************/
100 /****************************************************************************/