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