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