Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
hw_defs.h
Go to the documentation of this file.
1 /*
2  * hw_defs.h
3  *
4  * DSP-BIOS Bridge driver support functions for TI OMAP processors.
5  *
6  * Global HW definitions
7  *
8  * Copyright (C) 2007 Texas Instruments, Inc.
9  *
10  * This package is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License version 2 as
12  * published by the Free Software Foundation.
13  *
14  * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
15  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
16  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
17  */
18 
19 #ifndef _HW_DEFS_H
20 #define _HW_DEFS_H
21 
22 /* Page size */
23 #define HW_PAGE_SIZE4KB 0x1000
24 #define HW_PAGE_SIZE64KB 0x10000
25 #define HW_PAGE_SIZE1MB 0x100000
26 #define HW_PAGE_SIZE16MB 0x1000000
27 
28 /* hw_status: return type for HW API */
29 typedef long hw_status;
30 
31 /* Macro used to set and clear any bit */
32 #define HW_CLEAR 0
33 #define HW_SET 1
34 
35 /* hw_endianism_t: Enumerated Type used to specify the endianism
36  * Do NOT change these values. They are used as bit fields. */
40 };
41 
42 /* hw_element_size_t: Enumerated Type used to specify the element size
43  * Do NOT change these values. They are used as bit fields. */
49 };
50 
51 /* hw_idle_mode_t: Enumerated Type used to specify Idle modes */
56 };
57 
58 #endif /* _HW_DEFS_H */