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