]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Include/IndustryStandard/Pci30.h
Code Scrub the common includes in MdePkg.
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / Pci30.h
CommitLineData
a7ed1e2e 1/** @file\r
2 Support for PCI 3.0 standard.\r
3\r
4 Copyright (c) 2006, Intel Corporation \r
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
a7ed1e2e 18#define PCI_CLASS_MASS_STORAGE_SATADPA 0x06\r
877a3c7b 19#define PCI_CLASS_MASS_STORAGE_AHCI PCI_CLASS_MASS_STORAGE_SATADPA\r
a7ed1e2e 20\r
373b5cf9 21#pragma pack(1)\r
a7ed1e2e 22\r
23typedef struct {\r
24 UINT32 Signature; // "PCIR"\r
25 UINT16 VendorId;\r
26 UINT16 DeviceId;\r
27 UINT16 DeviceListOffset;\r
28 UINT16 Length;\r
29 UINT8 Revision;\r
30 UINT8 ClassCode[3];\r
31 UINT16 ImageLength;\r
32 UINT16 CodeRevision;\r
33 UINT8 CodeType;\r
34 UINT8 Indicator;\r
35 UINT16 MaxRuntimeImageLength;\r
36 UINT16 ConfigUtilityCodeHeaderOffset;\r
37 UINT16 DMTFCLPEntryPointOffset;\r
38} PCI_3_0_DATA_STRUCTURE;\r
39\r
373b5cf9 40#pragma pack()\r
a7ed1e2e 41\r
42\r
43#include <IndustryStandard/Pci23.h>\r
44\r
45#endif\r