1 /********************************************************************
2 * Copyright(c) 2006-2009 Broadcom Corporation.
6 * Description: Data types
12 ********************************************************************
13 * This header is free software: you can redistribute it and/or modify
14 * it under the terms of the GNU Lesser General Public License as published
15 * by the Free Software Foundation, either version 2.1 of the License.
17 * This header is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU Lesser General Public License for more details.
21 * You should have received a copy of the GNU Lesser General Public License
22 * along with this header. If not, see <http://www.gnu.org/licenses/>.
23 *******************************************************************/
25 #ifndef _BC_DTS_TYPES_H_
26 #define _BC_DTS_TYPES_H_
28 #ifdef __LINUX_USER__ /* Don't include these for KERNEL.. */
40 #if defined(__KERNEL__) || defined(__LINUX_USER__)
42 #ifdef __LINUX_USER__ /* Don't include these for KERNEL */
43 typedef uint32_t ULONG;
50 typedef uint32_t DWORD;
51 typedef uint32_t UINT32;
52 typedef uint32_t *LPDWORD;
53 typedef unsigned char *PUCHAR;
67 /* For Kernel usage.. */
73 typedef struct _uint64_t {
80 typedef signed long int32_t;
84 typedef unsigned long uint32_t;
88 typedef unsigned short uint16_t;
92 typedef unsigned char uint8_t;