]>
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 | |
c85640b2 | 31 | #if defined(_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 | |
c85640b2 | 37 | #if !defined(MDE_CPU_IPF)\r |
3eb9473e | 38 | #define MDE_CPU_IPF\r |
39 | #endif\r | |
c7f33ca4 | 40 | \r |
41 | //\r | |
42 | // IPF Specific Functions\r | |
43 | //\r | |
44 | typedef struct {\r | |
45 | UINT64 Status;\r | |
46 | UINT64 r9;\r | |
47 | UINT64 r10;\r | |
48 | UINT64 r11;\r | |
49 | } PAL_CALL_RETURN;\r | |
50 | \r | |
51 | \r | |
52 | #define EFI_EXTENDED_SAL_VIRTUAL_SERVICES_PROTOCOL_GUID_LO 0x4871260ec1a74056\r | |
53 | #define EFI_EXTENDED_SAL_VIRTUAL_SERVICES_PROTOCOL_GUID_HI 0x116e5ba645e631a0\r | |
54 | \r | |
55 | #define EFI_EXTENDED_SAL_RTC_SERVICES_PROTOCOL_GUID_LO 0x4d02efdb7e97a470\r | |
56 | #define EFI_EXTENDED_SAL_RTC_SERVICES_PROTOCOL_GUID_HI 0x96a27bd29061ce8f \r | |
57 | \r | |
58 | #define EFI_EXTENDED_SAL_VARIABLE_SERVICES_PROTOCOL_GUID_LO 0x4370c6414ecb6c53 \r | |
59 | #define EFI_EXTENDED_SAL_VARIABLE_SERVICES_PROTOCOL_GUID_HI 0x78836e490e3bb28c\r | |
60 | \r | |
61 | #define EFI_EXTENDED_SAL_MTC_SERVICES_PROTOCOL_GUID_LO 0x408b75e8899afd18\r | |
62 | #define EFI_EXTENDED_SAL_MTC_SERVICES_PROTOCOL_GUID_HI 0x54f4cd7e2e6e1aa4\r | |
63 | \r | |
64 | #define EFI_EXTENDED_SAL_RESET_SERVICES_PROTOCOL_GUID_LO 0x46f58ce17d019990\r | |
65 | #define EFI_EXTENDED_SAL_RESET_SERVICES_PROTOCOL_GUID_HI 0xa06a6798513c76a7\r | |
66 | \r | |
e70330e0 | 67 | //\r |
68 | // Per the Itanium Software Conventions and Runtime Architecture Guide,\r | |
69 | // section 3.3.4, IPF stack must always be 16-byte aligned.\r | |
70 | //\r | |
71 | #define CPU_STACK_ALIGNMENT 16\r | |
c7f33ca4 | 72 | \r |
3eb9473e | 73 | #endif\r |