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