]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/IndustryStandard/PciExpress30.h
MdePkg: add missing #defines for decoding PCIe 2.1 extended capability structures
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / PciExpress30.h
1 /** @file
2 Support for the PCI Express 3.0 standard.
3
4 This header file may not define all structures. Please extend as required.
5
6 Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>
7 This program and the accompanying materials
8 are licensed and made available under the terms and conditions of the BSD License
9 which accompanies this distribution. The full text of the license may be found at
10 http://opensource.org/licenses/bsd-license.php
11
12 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14
15 **/
16
17 #ifndef _PCIEXPRESS30_H_
18 #define _PCIEXPRESS30_H_
19
20 #include "PciExpress21.h"
21
22 #define PCI_EXPRESS_EXTENDED_CAPABILITY_SECONDARY_PCIE_ID 0x0019
23 #define PCI_EXPRESS_EXTENDED_CAPABILITY_SECONDARY_PCIE_VER1 0x1
24
25 typedef struct {
26 PCI_EXPRESS_EXTENDED_CAPABILITIES_HEADER Header;
27 UINT32 LinkControl3;
28 UINT32 LaneErrorStatus;
29 UINT16 EqualizationControl[2];
30 } PCI_EXPRESS_EXTENDED_CAPABILITIES_SECONDARY_PCIE;
31
32 #endif