blob: 2c2a925e60f9e82ef318cf9606836b879d814e13 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
/*++
Copyright (c) 2007, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name:
ServerProcessorManagementInterfaceTable.h
Abstract:
ACPI Server Processor Management Interface Table SPMI as described
in the IPMI2.0 Specification Revistion 1.5
--*/
#ifndef _SERVER_PROCESSOR_MANAGEMENT_INTERFACE_TABLE_H_
#define _SERVER_PROCESSOR_MANAGEMENT_INTERFACE_TABLE_H_
#include "Acpi2_0.h"
//
// Ensure proper structure formats
//
#pragma pack (1)
//
// Server Processor Management Interface Table definition.
//
typedef struct {
EFI_ACPI_DESCRIPTION_HEADER Header;
UINT8 Reserved_36;
UINT8 InterfaceType;
UINT16 SpecificationRevision;
UINT8 InterruptType;
UINT8 GPE;
UINT8 Reserved_42;
UINT8 PCIDeviceFlag;
UINT32 GlobalSystemInterrupt;
EFI_ACPI_2_0_GENERIC_ADDRESS_STRUCTURE BaseAddress;
UINT8 PCISegmentGroup_UID1;
UINT8 PCIBusNumber_UID2;
UINT8 PCIDeviceNumber_UID3;
UINT8 PCIFunctionNumber_UID4;
} EFI_ACPI_SERVER_PROCESSOR_MANAGEMENT_INTERFACE_DESCRIPTION_TABLE;
#pragma pack ()
//
// SPMI Revision
//
#define EFI_ACPI_SERVER_PROCESSOR_MANAGEMENT_INTERFACE_TABLE_REVISION 0x05
//
// Interface Type
//
#define EFI_ACPI_SPMI_INTERFACE_TYPE_RESERVED 0
#define EFI_ACPI_SPMI_INTERFACE_TYPE_KCS 1
#define EFI_ACPI_SPMI_INTERFACE_TYPE_SMIC 2
#define EFI_ACPI_SPMI_INTERFACE_TYPE_BT 3
#define EFI_ACPI_SPMI_INTERFACE_TYPE_SSIF 4
//
// SPMI Specfication Revision
//
#define EFI_ACPI_SPMI_SPECIFICATION_REVISION 0x0150
//
// SPMI Interrupt Type
//
#define EFI_ACPI_SPMI_INTERRUPT_TYPE_SCI 0x1
#define EFI_ACPI_SPMI_INTERRUPT_TYPE_IOAPIC 0x2
#endif
|