X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=IntelFrameworkPkg%2FInclude%2FProtocol%2FIncompatiblePciDeviceSupport.h;h=a763399395fbd73a127cfc4b83f635ab62a108cc;hp=6b74a74ab95e2581c6e305dc7dcca5e0fc5a5d9a;hb=21d2b17f9864a9891c19299d58d56bcdcaf273a7;hpb=f45527ebee5b0047a3200987d9490d4be368f553 diff --git a/IntelFrameworkPkg/Include/Protocol/IncompatiblePciDeviceSupport.h b/IntelFrameworkPkg/Include/Protocol/IncompatiblePciDeviceSupport.h index 6b74a74ab9..a763399395 100644 --- a/IntelFrameworkPkg/Include/Protocol/IncompatiblePciDeviceSupport.h +++ b/IntelFrameworkPkg/Include/Protocol/IncompatiblePciDeviceSupport.h @@ -15,7 +15,7 @@ (DXE) driver and must be made available before the Boot Device Selection (BDS) phase. The PCI bus driver will look for the presence of this protocol before it begins PCI enumeration. - Copyright (c) 2007, Intel Corporation + Copyright (c) 2007 - 2009, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -24,8 +24,6 @@ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. - Module Name: IncompatiblePciDeviceSupport.h - @par Revision Reference: This protocol is defined in Framework of EFI PCI Platform Support Specification. Version 0.9. @@ -35,7 +33,6 @@ #ifndef _INCOMPATIBLE_PCI_DEVICE_SUPPORT_H_ #define _INCOMPATIBLE_PCI_DEVICE_SUPPORT_H_ -#include #define EFI_INCOMPATIBLE_PCI_DEVICE_SUPPORT_PROTOCOL_GUID \ {0xeb23f55a, 0x7863, 0x4ac2, {0x8d, 0x3d, 0x95, 0x65, 0x35, 0xde, 0x03, 0x75} } @@ -47,9 +44,9 @@ typedef struct _EFI_INCOMPATIBLE_PCI_DEVICE_SUPPORT_PROTOCOL EFI_INCOMPATIBLE_PC resource configuration requirements for an incompatible PCI device. @param This Pointer to the EFI_INCOMPATIBLE_PCI_DEVICE_SUPPORT_PROTOCOL instance. - @param VendorID A unique ID to identify the manufacturer of the PCI device. - @param DeviceID A unique ID to identify the particular PCI device. - @param RevisionID A PCI device-specific revision identifier. + @param VendorId A unique ID to identify the manufacturer of the PCI device. + @param DeviceId A unique ID to identify the particular PCI device. + @param RevisionId A PCI device-specific revision identifier. @param SubsystemVendorId Specifies the subsystem vendor ID. @param SubsystemDeviceId Specifies the subsystem device ID. @param Configuration A list of ACPI resource descriptors that detail @@ -61,25 +58,25 @@ typedef struct _EFI_INCOMPATIBLE_PCI_DEVICE_SUPPORT_PROTOCOL EFI_INCOMPATIBLE_PC typedef EFI_STATUS (EFIAPI *EFI_INCOMPATIBLE_PCI_DEVICE_SUPPORT_CHECK_DEVICE)( - IN EFI_INCOMPATIBLE_PCI_DEVICE_SUPPORT_PROTOCOL *This, + IN EFI_INCOMPATIBLE_PCI_DEVICE_SUPPORT_PROTOCOL *This, IN UINTN VendorId, IN UINTN DeviceId, - IN UINTN Revision, - IN UINTN SubVendorId,OPTIONAL - IN UINTN SubDeviceId,OPTIONAL + IN UINTN RevisionId, + IN UINTN SubsystemVendorId, + IN UINTN SubsystemDeviceId, OUT VOID **Configuration ); -// -// Interface structure for the Incompatible PCI Device Support Protocol -// -struct _EFI_INCOMPATIBLE_PCI_DEVICE_SUPPORT_PROTOCOL { /// -/// Returns a list of ACPI resource descriptors that detail any special -/// resource configuration requirements if the specified device is a recognized -/// incompatible PCI device. +/// Interface structure for the Incompatible PCI Device Support Protocol /// +struct _EFI_INCOMPATIBLE_PCI_DEVICE_SUPPORT_PROTOCOL { + /// + /// Returns a list of ACPI resource descriptors that detail any special + /// resource configuration requirements if the specified device is a recognized + /// incompatible PCI device. + /// EFI_INCOMPATIBLE_PCI_DEVICE_SUPPORT_CHECK_DEVICE CheckDevice; };