added 2.6.29.6 aldebaran kernel
[nao-ulib.git] / kernel / 2.6.29.6-aldebaran-rt / drivers / staging / rt2870 / rtmp_type.h
blob1fd7df1e1791c428188f853d37b528cdcc36b0c3
1 /*
2 *************************************************************************
3 * Ralink Tech Inc.
4 * 5F., No.36, Taiyuan St., Jhubei City,
5 * Hsinchu County 302,
6 * Taiwan, R.O.C.
8 * (c) Copyright 2002-2007, Ralink Technology, Inc.
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
14 * *
15 * This program is distributed in the hope that it will be useful, *
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
18 * GNU General Public License for more details. *
19 * *
20 * You should have received a copy of the GNU General Public License *
21 * along with this program; if not, write to the *
22 * Free Software Foundation, Inc., *
23 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
24 * *
25 *************************************************************************
27 Module Name:
28 rtmp_type.h
30 Abstract:
32 Revision History:
33 Who When What
34 -------- ---------- ----------------------------------------------
35 Name Date Modification logs
36 Paul Lin 1-2-2004
38 #ifndef __RTMP_TYPE_H__
39 #define __RTMP_TYPE_H__
41 #define PACKED __attribute__ ((packed))
43 // Put platform dependent declaration here
44 // For example, linux type definition
45 typedef unsigned char UINT8;
46 typedef unsigned short UINT16;
47 typedef unsigned int UINT32;
48 typedef unsigned long long UINT64;
49 typedef int INT32;
50 typedef long long INT64;
52 typedef unsigned char * PUINT8;
53 typedef unsigned short * PUINT16;
54 typedef unsigned int * PUINT32;
55 typedef unsigned long long * PUINT64;
56 typedef int * PINT32;
57 typedef long long * PINT64;
59 typedef signed char CHAR;
60 typedef signed short SHORT;
61 typedef signed int INT;
62 typedef signed long LONG;
63 typedef signed long long LONGLONG;
66 typedef unsigned char UCHAR;
67 typedef unsigned short USHORT;
68 typedef unsigned int UINT;
69 typedef unsigned long ULONG;
70 typedef unsigned long long ULONGLONG;
72 typedef unsigned char BOOLEAN;
73 typedef void VOID;
75 typedef VOID * PVOID;
76 typedef CHAR * PCHAR;
77 typedef UCHAR * PUCHAR;
78 typedef USHORT * PUSHORT;
79 typedef LONG * PLONG;
80 typedef ULONG * PULONG;
81 typedef UINT * PUINT;
83 typedef unsigned int NDIS_MEDIA_STATE;
85 typedef union _LARGE_INTEGER {
86 struct {
87 UINT LowPart;
88 INT32 HighPart;
89 } u;
90 INT64 QuadPart;
91 } LARGE_INTEGER;
93 #endif // __RTMP_TYPE_H__