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