]> git.proxmox.com Git - mirror_edk2.git/blob - EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/X64/EdkIIGlueProcessorBind.h
e362db86f50e178c5318cf95c9eab9d752da0a15
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / EdkIIGlueLib / Include / X64 / EdkIIGlueProcessorBind.h
1 /*++
2
3 Copyright (c) 2004 - 2006, Intel Corporation
4 All rights reserved. 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 #if _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_X64
38 #define MDE_CPU_X64
39 #endif
40
41 //
42 // The stack alignment required for X64
43 //
44 #define CPU_STACK_ALIGNMENT 16
45
46
47 #endif