b51f14f4 |
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 |
13 | Module Name: pci30.h\r |
14 | \r |
15 | **/\r |
16 | \r |
17 | #ifndef _PCI30_H\r |
18 | #define _PCI30_H\r |
19 | \r |
20 | //#include "pci23.h"\r |
21 | \r |
22 | #define PCI_CLASS_MASS_STORAGE_SATADPA 0x06\r |
23 | \r |
24 | #pragma pack(push, 1)\r |
25 | \r |
26 | typedef struct {\r |
27 | UINT32 Signature; // "PCIR"\r |
28 | UINT16 VendorId;\r |
29 | UINT16 DeviceId;\r |
30 | UINT16 DeviceListOffset;\r |
31 | UINT16 Length;\r |
32 | UINT8 Revision;\r |
33 | UINT8 ClassCode[3];\r |
34 | UINT16 ImageLength;\r |
35 | UINT16 CodeRevision;\r |
36 | UINT8 CodeType;\r |
37 | UINT8 Indicator;\r |
38 | UINT16 MaxRuntimeImageLength;\r |
39 | UINT16 ConfigUtilityCodeHeaderOffset;\r |
40 | UINT16 DMTFCLPEntryPointOffset;\r |
41 | } PCI_3_0_DATA_STRUCTURE;\r |
42 | \r |
43 | #pragma pack(pop)\r |
44 | \r |
45 | #endif\r |