]> git.proxmox.com Git - mirror_edk2.git/blob - QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/general_definitions.h
1b79ecab2e00f33092776ba9d2d2453679097e63
[mirror_edk2.git] / QuarkSocPkg / QuarkNorthCluster / MemoryInit / Pei / general_definitions.h
1 /************************************************************************
2 *
3 * Copyright (c) 2013-2015 Intel Corporation.
4 *
5 * SPDX-License-Identifier: BSD-2-Clause-Patent
6 *
7 ************************************************************************/
8 #ifndef __GENERAL_DEFINITIONS_H
9 #define __GENERAL_DEFINITIONS_H
10
11 #undef BIT0
12 #undef BIT1
13 #undef BIT2
14 #undef BIT3
15 #undef BIT4
16 #undef BIT5
17 #undef BIT6
18 #undef BIT7
19 #undef BIT8
20 #undef BIT9
21 #undef BIT10
22 #undef BIT11
23 #undef BIT12
24 #undef BIT13
25 #undef BIT14
26 #undef BIT15
27 #undef BIT16
28 #undef BIT17
29 #undef BIT18
30 #undef BIT19
31 #undef BIT20
32 #undef BIT21
33 #undef BIT22
34 #undef BIT23
35 #undef BIT24
36 #undef BIT25
37 #undef BIT26
38 #undef BIT27
39 #undef BIT28
40 #undef BIT29
41 #undef BIT30
42 #undef BIT31
43
44
45
46 // defines
47 #define BIT0 0x00000001U
48 #define BIT1 0x00000002U
49 #define BIT2 0x00000004U
50 #define BIT3 0x00000008U
51 #define BIT4 0x00000010U
52 #define BIT5 0x00000020U
53 #define BIT6 0x00000040U
54 #define BIT7 0x00000080U
55 #define BIT8 0x00000100U
56 #define BIT9 0x00000200U
57 #define BIT10 0x00000400U
58 #define BIT11 0x00000800U
59 #define BIT12 0x00001000U
60 #define BIT13 0x00002000U
61 #define BIT14 0x00004000U
62 #define BIT15 0x00008000U
63 #define BIT16 0x00010000U
64 #define BIT17 0x00020000U
65 #define BIT18 0x00040000U
66 #define BIT19 0x00080000U
67 #define BIT20 0x00100000U
68 #define BIT21 0x00200000U
69 #define BIT22 0x00400000U
70 #define BIT23 0x00800000U
71 #define BIT24 0x01000000U
72 #define BIT25 0x02000000U
73 #define BIT26 0x04000000U
74 #define BIT27 0x08000000U
75 #define BIT28 0x10000000U
76 #define BIT29 0x20000000U
77 #define BIT30 0x40000000U
78 #define BIT31 0x80000000U
79
80
81 #define true 0x01
82 #define false 0x00
83
84 #endif