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