1 /*++ 2 3 Copyright (c) 2004 - 2006, Intel Corporation. All rights reserved.<BR> 4 This program and the accompanying materials 5 are licensed and made available under the terms and conditions of the BSD License 6 which accompanies this distribution. The full text of the license may be found at 7 http://opensource.org/licenses/bsd-license.php 8 9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 11 12 13 Module Name: 14 15 EdkIIGlueProcessorBind.h 16 17 Abstract: 18 19 Processor specific definitions 20 21 --*/ 22 23 #ifndef __EDKII_GLUE_PROCESSOR_BIND_H__ 24 #define __EDKII_GLUE_PROCESSOR_BIND_H__ 25 26 // 27 // The Microsoft* C compiler can removed references to unreferenced data items 28 // if the /OPT:REF linker option is used. We defined a macro as this is a 29 // a non standard extension 30 // 31 #ifdef _MSC_EXTENSIONS 32 #define GLOBAL_REMOVE_IF_UNREFERENCED __declspec(selectany) 33 #else 34 #define GLOBAL_REMOVE_IF_UNREFERENCED 35 #endif 36 37 #ifndef MDE_CPU_IA32 38 #define MDE_CPU_IA32 39 #endif 40 41 /// 42 /// The stack alignment required for IA-32 43 /// 44 #define CPU_STACK_ALIGNMENT sizeof(UINTN) 45 46 #endif 47