/*++
*******************************************************************************
* Copyright (c) 1990-98 Digi International Inc., All Rights Reserved				*
* 																										*
* This software contains proprietary and confidential information of Digi		*
* International Inc.  By accepting transfer of this copy, Recipient agrees		*
* to retain this software in confidence, to prevent disclosure to others,		*
* and to make no use of this software other than that for which it was			*
* delivered.  This is an unpublished copyrighted work of Digi International	*
* Inc.  Except as permitted by federal law, 17 USC 117, copying is strictly	*
* prohibited.																						*
* 																										*
* Restricted Rights Legend																		*
*																										*
* Use, duplication, or disclosure by the Government is subject to					*
* restrictions set forth in sub-paragraph (c)(1)(ii) of The Rights in			*
* Technical Data and Computer Software clause at DFARS 252.227-7031 or			*
* subparagraphs (c)(1) and (2) of the Commercial Computer Software -				*
* Restricted Rights at 48 CFR 52.227-19, as applicable.								*
*																										*
* Digi International Inc. 11001 Bren Road East, Minnetonka, MN 55343				*
*																										*
*******************************************************************************

Module Name:

   dxbtypes.h

Abstract:

   Map (typedef) firmware compiler types to Microsoft VC++ types.

Author:

   Michael Zarns

--*/

#ifndef _DXBTYPES_
#define _DXBTYPES_

//
// Typically used by Dense adapter family
//

typedef volatile const ULONG	board_uint32;
typedef volatile const USHORT	board_uint16;
typedef volatile const UCHAR	board_uint8;

typedef ULONG                 host_uint32;
typedef USHORT                host_uint16;
typedef UCHAR                 host_uint8;

typedef volatile const ULONG	board_uint32_le;
typedef volatile const USHORT	board_uint16_le;
typedef volatile const UCHAR	board_uint8_le;

typedef volatile const ULONG	host_uint32_le;
typedef volatile const USHORT	host_uint16_le;
typedef volatile const UCHAR	host_uint8_le;

typedef volatile ULONG        shared_uint32;
typedef volatile USHORT       shared_uint16;
typedef volatile UCHAR        shared_uint8;

typedef volatile const ULONG	shared_uint32_le;
typedef volatile const USHORT	shared_uint16_le;
typedef volatile const UCHAR	shared_uint8_le;

typedef ULONG                 pad_32;
typedef USHORT                pad_16;
typedef UCHAR                 pad_8;

typedef ULONG                 ulong;
typedef USHORT                ushort;

//
// Types used by many adapters
//

typedef UCHAR                 uchar;

// Shortterm Hack to keep Sync firmware headers including uint.h from redefining 
// uint32.  Get firmware folks to fix this!
#define _SNET_UINT

typedef ULONG                 dxb_uint32;
typedef USHORT                dxb_uint16;
typedef UCHAR                 dxb_uint8;

typedef ULONG                 uint32;
typedef USHORT                uint16;
typedef UCHAR                 uint8;

typedef LONG                  int32;
typedef SHORT                 int16;
typedef CHAR                  int8;

typedef ULONG                 u_long;
typedef USHORT                u_short;
typedef UCHAR                 u_char;

#endif
