]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Include/IndustryStandard/Pci30.h
Fix file headers and a few comments
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / Pci30.h
CommitLineData
a7ed1e2e 1/** @file\r
2 Support for PCI 3.0 standard.\r
3\r
bc14bdb3 4 Copyright (c) 2006 - 2008, Intel Corporation \r
a7ed1e2e 5 All rights reserved. This program and the accompanying materials \r
6 are licensed and made available under the terms and conditions of the BSD License \r
7 which accompanies this distribution. The full text of the license may be found at \r
8 http://opensource.org/licenses/bsd-license.php \r
9\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
12\r
a7ed1e2e 13**/\r
14\r
842f5579
A
15#ifndef __PCI30_H__\r
16#define __PCI30_H__\r
a7ed1e2e 17\r
bc14bdb3 18\r
19#include <IndustryStandard/Pci23.h>\r
20\r
21///\r
22/// Definitions of PCI class bytes and manipulation macros.\r
23///\r
a7ed1e2e 24#define PCI_CLASS_MASS_STORAGE_SATADPA 0x06\r
bc14bdb3 25#define PCI_IF_MASS_STORAGE_SATA 0x00\r
26#define PCI_IF_MASS_STORAGE_AHCI 0x01\r
27\r
28///\r
29/// PCI Capability List IDs and records\r
30///\r
31#define EFI_PCI_CAPABILITY_ID_PCIEXP 0x10\r
a7ed1e2e 32\r
766f4bc1 33#pragma pack(1)\r
34\r
bc14bdb3 35///\r
427987f5 36/// PCI Data Structure Format\r
37/// Section 5.1.2, PCI Firmware Specification, Revision 3.0\r
bc14bdb3 38///\r
a7ed1e2e 39typedef struct {\r
bc14bdb3 40 UINT32 Signature; ///< "PCIR"\r
a7ed1e2e 41 UINT16 VendorId;\r
42 UINT16 DeviceId;\r
43 UINT16 DeviceListOffset;\r
44 UINT16 Length;\r
45 UINT8 Revision;\r
46 UINT8 ClassCode[3];\r
47 UINT16 ImageLength;\r
48 UINT16 CodeRevision;\r
49 UINT8 CodeType;\r
50 UINT8 Indicator;\r
51 UINT16 MaxRuntimeImageLength;\r
52 UINT16 ConfigUtilityCodeHeaderOffset;\r
53 UINT16 DMTFCLPEntryPointOffset;\r
54} PCI_3_0_DATA_STRUCTURE;\r
55\r
766f4bc1 56#pragma pack()\r
57\r
a7ed1e2e 58#endif\r