]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/IndustryStandard/Pci30.h
Code Scrub the common includes in MdePkg.
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / Pci30.h
1 /** @file
2 Support for PCI 3.0 standard.
3
4 Copyright (c) 2006, Intel Corporation
5 All rights reserved. This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13 **/
14
15 #ifndef __PCI30_H__
16 #define __PCI30_H__
17
18 #define PCI_CLASS_MASS_STORAGE_SATADPA 0x06
19 #define PCI_CLASS_MASS_STORAGE_AHCI PCI_CLASS_MASS_STORAGE_SATADPA
20
21 #pragma pack(1)
22
23 typedef struct {
24 UINT32 Signature; // "PCIR"
25 UINT16 VendorId;
26 UINT16 DeviceId;
27 UINT16 DeviceListOffset;
28 UINT16 Length;
29 UINT8 Revision;
30 UINT8 ClassCode[3];
31 UINT16 ImageLength;
32 UINT16 CodeRevision;
33 UINT8 CodeType;
34 UINT8 Indicator;
35 UINT16 MaxRuntimeImageLength;
36 UINT16 ConfigUtilityCodeHeaderOffset;
37 UINT16 DMTFCLPEntryPointOffset;
38 } PCI_3_0_DATA_STRUCTURE;
39
40 #pragma pack()
41
42
43 #include <IndustryStandard/Pci23.h>
44
45 #endif