]>
Commit | Line | Data |
---|---|---|
3eb9473e | 1 | /*++\r |
2 | \r | |
f57387d5 HT |
3 | Copyright (c) 2007, 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 | Module Name:\r | |
13 | \r | |
14 | ServerProcessorManagementInterfaceTable.h\r | |
15 | \r | |
16 | Abstract:\r | |
17 | \r | |
18 | ACPI Server Processor Management Interface Table SPMI as described \r | |
19 | in the IPMI2.0 Specification Revistion 1.5\r | |
20 | \r | |
21 | --*/\r | |
22 | \r | |
23 | #ifndef _SERVER_PROCESSOR_MANAGEMENT_INTERFACE_TABLE_H_\r | |
24 | #define _SERVER_PROCESSOR_MANAGEMENT_INTERFACE_TABLE_H_\r | |
25 | \r | |
26 | #include "Acpi2_0.h"\r | |
27 | \r | |
28 | //\r | |
29 | // Ensure proper structure formats\r | |
30 | //\r | |
31 | #pragma pack (1)\r | |
32 | \r | |
33 | //\r | |
34 | // Server Processor Management Interface Table definition.\r | |
35 | //\r | |
36 | typedef struct {\r | |
37 | EFI_ACPI_DESCRIPTION_HEADER Header;\r | |
38 | UINT8 Reserved_36;\r | |
39 | UINT8 InterfaceType;\r | |
40 | UINT16 SpecificationRevision;\r | |
41 | UINT8 InterruptType;\r | |
42 | UINT8 GPE;\r | |
43 | UINT8 Reserved_42;\r | |
44 | UINT8 PCIDeviceFlag;\r | |
45 | UINT32 GlobalSystemInterrupt;\r | |
46 | EFI_ACPI_2_0_GENERIC_ADDRESS_STRUCTURE BaseAddress;\r | |
47 | UINT8 PCISegmentGroup_UID1;\r | |
48 | UINT8 PCIBusNumber_UID2;\r | |
49 | UINT8 PCIDeviceNumber_UID3;\r | |
50 | UINT8 PCIFunctionNumber_UID4;\r | |
51 | } EFI_ACPI_SERVER_PROCESSOR_MANAGEMENT_INTERFACE_DESCRIPTION_TABLE;\r | |
52 | \r | |
53 | #pragma pack ()\r | |
54 | \r | |
55 | //\r | |
56 | // SPMI Revision\r | |
57 | //\r | |
58 | #define EFI_ACPI_SERVER_PROCESSOR_MANAGEMENT_INTERFACE_TABLE_REVISION 0x05\r | |
59 | \r | |
60 | //\r | |
61 | // Interface Type\r | |
62 | //\r | |
63 | #define EFI_ACPI_SPMI_INTERFACE_TYPE_RESERVED 0\r | |
64 | #define EFI_ACPI_SPMI_INTERFACE_TYPE_KCS 1\r | |
65 | #define EFI_ACPI_SPMI_INTERFACE_TYPE_SMIC 2\r | |
66 | #define EFI_ACPI_SPMI_INTERFACE_TYPE_BT 3\r | |
67 | #define EFI_ACPI_SPMI_INTERFACE_TYPE_SSIF 4\r | |
68 | \r | |
69 | //\r | |
70 | // SPMI Specfication Revision\r | |
71 | //\r | |
72 | #define EFI_ACPI_SPMI_SPECIFICATION_REVISION 0x0150\r | |
73 | \r | |
74 | //\r | |
75 | // SPMI Interrupt Type\r | |
76 | //\r | |
77 | #define EFI_ACPI_SPMI_INTERRUPT_TYPE_SCI 0x1\r | |
78 | #define EFI_ACPI_SPMI_INTERRUPT_TYPE_IOAPIC 0x2\r | |
79 | \r | |
80 | #endif\r |