]>
Commit | Line | Data |
---|---|---|
9b6bbcdb MK |
1 | /************************************************************************\r |
2 | *\r | |
3 | * Copyright (c) 2013-2015 Intel Corporation.\r | |
4 | *\r | |
5 | * This program and the accompanying materials\r | |
6 | * are licensed and made available under the terms and conditions of the BSD License\r | |
7 | * which accompanies this distribution. The full text of the license may be found at\r | |
8 | * http://opensource.org/licenses/bsd-license.php\r | |
9 | *\r | |
10 | * THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | * WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
12 | *\r | |
13 | ************************************************************************/\r | |
14 | #ifndef __GENERAL_DEFINITIONS_H\r | |
15 | #define __GENERAL_DEFINITIONS_H\r | |
16 | \r | |
17 | #undef BIT0\r | |
18 | #undef BIT1\r | |
19 | #undef BIT2\r | |
20 | #undef BIT3\r | |
21 | #undef BIT4\r | |
22 | #undef BIT5\r | |
23 | #undef BIT6\r | |
24 | #undef BIT7\r | |
25 | #undef BIT8\r | |
26 | #undef BIT9\r | |
27 | #undef BIT10\r | |
28 | #undef BIT11\r | |
29 | #undef BIT12\r | |
30 | #undef BIT13\r | |
31 | #undef BIT14\r | |
32 | #undef BIT15\r | |
33 | #undef BIT16\r | |
34 | #undef BIT17\r | |
35 | #undef BIT18\r | |
36 | #undef BIT19\r | |
37 | #undef BIT20\r | |
38 | #undef BIT21\r | |
39 | #undef BIT22\r | |
40 | #undef BIT23\r | |
41 | #undef BIT24\r | |
42 | #undef BIT25\r | |
43 | #undef BIT26\r | |
44 | #undef BIT27\r | |
45 | #undef BIT28\r | |
46 | #undef BIT29\r | |
47 | #undef BIT30\r | |
48 | #undef BIT31\r | |
49 | \r | |
50 | \r | |
51 | \r | |
52 | // defines\r | |
53 | #define BIT0 0x00000001U\r | |
54 | #define BIT1 0x00000002U\r | |
55 | #define BIT2 0x00000004U\r | |
56 | #define BIT3 0x00000008U\r | |
57 | #define BIT4 0x00000010U\r | |
58 | #define BIT5 0x00000020U\r | |
59 | #define BIT6 0x00000040U\r | |
60 | #define BIT7 0x00000080U\r | |
61 | #define BIT8 0x00000100U\r | |
62 | #define BIT9 0x00000200U\r | |
63 | #define BIT10 0x00000400U\r | |
64 | #define BIT11 0x00000800U\r | |
65 | #define BIT12 0x00001000U\r | |
66 | #define BIT13 0x00002000U\r | |
67 | #define BIT14 0x00004000U\r | |
68 | #define BIT15 0x00008000U\r | |
69 | #define BIT16 0x00010000U\r | |
70 | #define BIT17 0x00020000U\r | |
71 | #define BIT18 0x00040000U\r | |
72 | #define BIT19 0x00080000U\r | |
73 | #define BIT20 0x00100000U\r | |
74 | #define BIT21 0x00200000U\r | |
75 | #define BIT22 0x00400000U\r | |
76 | #define BIT23 0x00800000U\r | |
77 | #define BIT24 0x01000000U\r | |
78 | #define BIT25 0x02000000U\r | |
79 | #define BIT26 0x04000000U\r | |
80 | #define BIT27 0x08000000U\r | |
81 | #define BIT28 0x10000000U\r | |
82 | #define BIT29 0x20000000U\r | |
83 | #define BIT30 0x40000000U\r | |
84 | #define BIT31 0x80000000U\r | |
85 | \r | |
86 | \r | |
87 | #define true 0x01\r | |
88 | #define false 0x00\r | |
89 | \r | |
90 | #endif\r |