2 Support for PCI 3.0 standard.
4 Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
5 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
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.
19 #include <IndustryStandard/Pci23.h>
22 /// Definitions of PCI class bytes and manipulation macros.
24 #define PCI_CLASS_MASS_STORAGE_SATADPA 0x06
25 #define PCI_IF_MASS_STORAGE_SATA 0x00
26 #define PCI_IF_MASS_STORAGE_AHCI 0x01
29 Macro that checks whether device is a SATA controller.
31 @param _p Specified device.
33 @retval TRUE Device is a SATA controller.
34 @retval FALSE Device is not a SATA controller.
37 #define IS_PCI_SATADPA(_p) IS_CLASS2 (_p, PCI_CLASS_MASS_STORAGE, PCI_CLASS_MASS_STORAGE_SATADPA)
40 /// PCI Capability List IDs and records
42 #define EFI_PCI_CAPABILITY_ID_PCIEXP 0x10
47 /// PCI Data Structure Format
48 /// Section 5.1.2, PCI Firmware Specification, Revision 3.0
51 UINT32 Signature
; ///< "PCIR"
54 UINT16 DeviceListOffset
;
62 UINT16 MaxRuntimeImageLength
;
63 UINT16 ConfigUtilityCodeHeaderOffset
;
64 UINT16 DMTFCLPEntryPointOffset
;
65 } PCI_3_0_DATA_STRUCTURE
;