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