OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * This file contains the definitions of the basic atheros data types. |
| 3 * It is used to map the data types in atheros files to a platform specific |
| 4 * type. |
| 5 * |
| 6 * Copyright 2003-2005 Atheros Communications, Inc., All Rights Reserved. |
| 7 * |
| 8 * |
| 9 // This program is free software; you can redistribute it and/or modify |
| 10 // it under the terms of the GNU General Public License version 2 as |
| 11 // published by the Free Software Foundation; |
| 12 // |
| 13 // Software distributed under the License is distributed on an "AS |
| 14 // IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or |
| 15 // implied. See the License for the specific language governing |
| 16 // rights and limitations under the License. |
| 17 // |
| 18 // |
| 19 * |
| 20 */ |
| 21 |
| 22 #ifndef _ATHTYPES_LINUX_H_ |
| 23 #define _ATHTYPES_LINUX_H_ |
| 24 |
| 25 #ifdef __KERNEL__ |
| 26 #include <linux/types.h> |
| 27 #endif |
| 28 |
| 29 typedef int8_t A_INT8; |
| 30 typedef int16_t A_INT16; |
| 31 typedef int32_t A_INT32; |
| 32 typedef int64_t A_INT64; |
| 33 |
| 34 typedef u_int8_t A_UINT8; |
| 35 typedef u_int16_t A_UINT16; |
| 36 typedef u_int32_t A_UINT32; |
| 37 typedef u_int64_t A_UINT64; |
| 38 |
| 39 typedef int A_BOOL; |
| 40 typedef char A_CHAR; |
| 41 typedef unsigned char A_UCHAR; |
| 42 typedef unsigned long A_ATH_TIMER; |
| 43 |
| 44 |
| 45 #endif /* _ATHTYPES_LINUX_H_ */ |
OLD | NEW |