• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /******************************************************************************
2  *
3  * Copyright(c) 2007 - 2017 Realtek Corporation.
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms of version 2 of the GNU General Public License as
7  * published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12  * more details.
13  *
14  *****************************************************************************/
15 #ifndef __BTC_BASIC_TYPES_H__
16 #define __BTC_BASIC_TYPES_H__
17 
18 #define IN
19 #define OUT
20 #define VOID void
21 typedef void *PVOID;
22 
23 #define u1Byte		u8
24 #define pu1Byte		u8*
25 
26 #define u2Byte		u16
27 #define pu2Byte		u16*
28 
29 #define u4Byte		u32
30 #define pu4Byte		u32*
31 
32 #define u8Byte		u64
33 #define pu8Byte		u64*
34 
35 #define s1Byte		s8
36 #define ps1Byte		s8*
37 
38 #define s2Byte		s16
39 #define ps2Byte		s16*
40 
41 #define s4Byte		s32
42 #define ps4Byte		s32*
43 
44 #define s8Byte		s64
45 #define ps8Byte		s64*
46 
47 #define UCHAR u8
48 #define USHORT u16
49 #define UINT u32
50 #define ULONG u32
51 #define PULONG u32*
52 
53 #endif /* __BTC_BASIC_TYPES_H__ */
54