Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / staging / rt2860 / rtmp_type.h
CommitLineData
91980990
GKH
1/*
2 *************************************************************************
3 * Ralink Tech Inc.
4 * 5F., No.36, Taiyuan St., Jhubei City,
5 * Hsinchu County 302,
6 * Taiwan, R.O.C.
7 *
8 * (c) Copyright 2002-2007, Ralink Technology, Inc.
9 *
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 *************************************************************************
26
27 Module Name:
28 rtmp_type.h
29
30 Abstract:
31
32 Revision History:
33 Who When What
34 -------- ---------- ----------------------------------------------
35 Name Date Modification logs
36 Paul Lin 1-2-2004
37*/
38#ifndef __RTMP_TYPE_H__
39#define __RTMP_TYPE_H__
40
41#define PACKED __attribute__ ((packed))
42
43// Put platform dependent declaration here
44// For example, linux type definition
45typedef unsigned char UINT8;
46typedef unsigned short UINT16;
47typedef unsigned int UINT32;
48typedef unsigned long long UINT64;
49typedef int INT32;
50typedef long long INT64;
51
52typedef unsigned char * PUINT8;
53typedef unsigned short * PUINT16;
54typedef unsigned int * PUINT32;
55typedef unsigned long long * PUINT64;
56typedef int * PINT32;
57typedef long long * PINT64;
58
59typedef signed char CHAR;
60typedef signed short SHORT;
61typedef signed int INT;
62typedef signed long LONG;
63typedef signed long long LONGLONG;
64
65
66typedef unsigned char UCHAR;
67typedef unsigned short USHORT;
68typedef unsigned int UINT;
69typedef unsigned long ULONG;
70typedef unsigned long long ULONGLONG;
71
72typedef unsigned char BOOLEAN;
73typedef void VOID;
74
75typedef VOID * PVOID;
76typedef CHAR * PCHAR;
77typedef UCHAR * PUCHAR;
78typedef USHORT * PUSHORT;
79typedef LONG * PLONG;
80typedef ULONG * PULONG;
81typedef UINT * PUINT;
82
83typedef unsigned int NDIS_MEDIA_STATE;
84
85typedef union _LARGE_INTEGER {
86 struct {
87 UINT LowPart;
88 INT32 HighPart;
89 } u;
90 INT64 QuadPart;
91} LARGE_INTEGER;
92
93#endif // __RTMP_TYPE_H__
94