]>
git.proxmox.com Git - mirror_edk2.git/blob - EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/X64/EdkIIGlueProcessorBind.h
e146e5a9693e30198398084d04bdc186407ca59c
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
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.
15 EdkIIGlueProcessorBind.h
19 Processor specific definitions
23 #ifndef __EDKII_GLUE_PROCESSOR_BIND_H__
24 #define __EDKII_GLUE_PROCESSOR_BIND_H__
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
31 #if defined(_MSC_EXTENSIONS)
32 #define GLOBAL_REMOVE_IF_UNREFERENCED __declspec(selectany)
34 #define GLOBAL_REMOVE_IF_UNREFERENCED
37 #if !defined(MDE_CPU_X64)
42 // The stack alignment required for X64
44 #define CPU_STACK_ALIGNMENT 16