]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Include/IndustryStandard/Pci30.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6240 6f19259b...
[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
373b5cf9 33#pragma pack(1)\r
a7ed1e2e 34\r
bc14bdb3 35///\r
36/// defined in PCI Firmware Specification\r
37///\r
a7ed1e2e 38typedef struct {\r
bc14bdb3 39 UINT32 Signature; ///< "PCIR"\r
a7ed1e2e 40 UINT16 VendorId;\r
41 UINT16 DeviceId;\r
42 UINT16 DeviceListOffset;\r
43 UINT16 Length;\r
44 UINT8 Revision;\r
45 UINT8 ClassCode[3];\r
46 UINT16 ImageLength;\r
47 UINT16 CodeRevision;\r
48 UINT8 CodeType;\r
49 UINT8 Indicator;\r
50 UINT16 MaxRuntimeImageLength;\r
51 UINT16 ConfigUtilityCodeHeaderOffset;\r
52 UINT16 DMTFCLPEntryPointOffset;\r
53} PCI_3_0_DATA_STRUCTURE;\r
54\r
373b5cf9 55#pragma pack()\r
a7ed1e2e 56\r
a7ed1e2e 57#endif\r