X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=QuarkSocPkg%2FQuarkNorthCluster%2FMemoryInit%2FPei%2Fgeneral_definitions.h;fp=QuarkSocPkg%2FQuarkNorthCluster%2FMemoryInit%2FPei%2Fgeneral_definitions.h;h=c5f92b3b5d4fd3f5dfa3e606d7b1c613d38a72c1;hp=0000000000000000000000000000000000000000;hb=9b6bbcdbfdf5e54c6d1ed538ea8076d0858fb164;hpb=46ff196fde4882fca1a0210f7df9166d8832ad06 diff --git a/QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/general_definitions.h b/QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/general_definitions.h new file mode 100644 index 0000000000..c5f92b3b5d --- /dev/null +++ b/QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/general_definitions.h @@ -0,0 +1,90 @@ +/************************************************************************ + * + * Copyright (c) 2013-2015 Intel Corporation. + * +* This program and the accompanying materials +* are licensed and made available under the terms and conditions of the BSD License +* which accompanies this distribution. The full text of the license may be found at +* http://opensource.org/licenses/bsd-license.php +* +* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + * + ************************************************************************/ +#ifndef __GENERAL_DEFINITIONS_H +#define __GENERAL_DEFINITIONS_H + +#undef BIT0 +#undef BIT1 +#undef BIT2 +#undef BIT3 +#undef BIT4 +#undef BIT5 +#undef BIT6 +#undef BIT7 +#undef BIT8 +#undef BIT9 +#undef BIT10 +#undef BIT11 +#undef BIT12 +#undef BIT13 +#undef BIT14 +#undef BIT15 +#undef BIT16 +#undef BIT17 +#undef BIT18 +#undef BIT19 +#undef BIT20 +#undef BIT21 +#undef BIT22 +#undef BIT23 +#undef BIT24 +#undef BIT25 +#undef BIT26 +#undef BIT27 +#undef BIT28 +#undef BIT29 +#undef BIT30 +#undef BIT31 + + + +// defines +#define BIT0 0x00000001U +#define BIT1 0x00000002U +#define BIT2 0x00000004U +#define BIT3 0x00000008U +#define BIT4 0x00000010U +#define BIT5 0x00000020U +#define BIT6 0x00000040U +#define BIT7 0x00000080U +#define BIT8 0x00000100U +#define BIT9 0x00000200U +#define BIT10 0x00000400U +#define BIT11 0x00000800U +#define BIT12 0x00001000U +#define BIT13 0x00002000U +#define BIT14 0x00004000U +#define BIT15 0x00008000U +#define BIT16 0x00010000U +#define BIT17 0x00020000U +#define BIT18 0x00040000U +#define BIT19 0x00080000U +#define BIT20 0x00100000U +#define BIT21 0x00200000U +#define BIT22 0x00400000U +#define BIT23 0x00800000U +#define BIT24 0x01000000U +#define BIT25 0x02000000U +#define BIT26 0x04000000U +#define BIT27 0x08000000U +#define BIT28 0x10000000U +#define BIT29 0x20000000U +#define BIT30 0x40000000U +#define BIT31 0x80000000U + + +#define true 0x01 +#define false 0x00 + +#endif