diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-07-07 04:00:44 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-07-07 04:00:44 +0000 |
commit | 9eb130ff8cd00411d5b84a7950bf03fa93ed267c (patch) | |
tree | 12820a3b135f6bb70c4a26595c78bc41813057f7 /IntelFrameworkModulePkg/Include | |
parent | 7bfed576b0f351ac62c280f0f040060d14788dc3 (diff) | |
download | edk2-9eb130ff8cd00411d5b84a7950bf03fa93ed267c.tar.gz edk2-9eb130ff8cd00411d5b84a7950bf03fa93ed267c.tar.bz2 edk2-9eb130ff8cd00411d5b84a7950bf03fa93ed267c.zip |
Retired PciIncompatibleDeviceSupportLib from IntelFrameworkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8773 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Include')
-rw-r--r-- | IntelFrameworkModulePkg/Include/Library/PciIncompatibleDeviceSupportLib.h | 146 |
1 files changed, 0 insertions, 146 deletions
diff --git a/IntelFrameworkModulePkg/Include/Library/PciIncompatibleDeviceSupportLib.h b/IntelFrameworkModulePkg/Include/Library/PciIncompatibleDeviceSupportLib.h deleted file mode 100644 index f490ae4106..0000000000 --- a/IntelFrameworkModulePkg/Include/Library/PciIncompatibleDeviceSupportLib.h +++ /dev/null @@ -1,146 +0,0 @@ -/** @file
- PCI Incompatible device support Libary. Platform can implement an
- instance to support the incompatible PCI devices.
-
-Copyright (c) 2006 - 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
-http://opensource.org/licenses/bsd-license.php
-
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-
-**/
-
-#ifndef __PCI_INCOMPATIBLE_DEVICE_SUPPORT_LIB_H__
-#define __PCI_INCOMPATIBLE_DEVICE_SUPPORT_LIB_H__
-
-#define PCI_REGISTER_READ 0xfffffffffffffff1ULL
-#define PCI_REGISTER_WRITE 0xfffffffffffffff2ULL
-#define VALUE_NOCARE 0xffffffffffffffffULL
-
-//
-// PCI device device information
-//
-typedef struct {
- UINT64 VendorID;
- UINT64 DeviceID;
- UINT64 RevisionID;
- UINT64 SubsystemVendorID;
- UINT64 SubsystemID;
-} EFI_PCI_DEVICE_INFO;
-
-
-//
-// store hardcode value of resgister
-//
-typedef struct {
- UINT64 AndValue;
- UINT64 OrValue;
-} EFI_PCI_REGISTER_VALUE_DATA;
-
-//
-// store access width information
-//
-typedef struct {
- UINT64 StartOffset;
- UINT64 EndOffset;
- UINT64 Width;
-} EFI_PCI_REGISTER_ACCESS_DATA;
-
-
-//
-// ACPI resource descriptor
-//
-typedef struct {
- UINT64 ResType;
- UINT64 GenFlag;
- UINT64 SpecificFlag;
- UINT64 AddrSpaceGranularity;
- UINT64 AddrRangeMin;
- UINT64 AddrRangeMax;
- UINT64 AddrTranslationOffset;
- UINT64 AddrLen;
-} EFI_PCI_RESOUCE_DESCRIPTOR;
-
-/**
- Check the incompatible device list for ACPI resource update and return
- the configuration.
-
- This function searches the incompatible device list according to request
- information. If the PCI device belongs to the devices list, corresponding
- configuration informtion will be returned, in the meantime return EFI_SUCCESS.
-
- @param PciDeviceInfo A pointer to PCI device information.
- @param Configuration Returned information.
-
- @retval EFI_SUCCESS If check incompatible device successfully.
- @retval EFI_ABORTED No any resource type.
- @retval EFI_OUT_OF_RESOURCES No memory available.
- @retval EFI_UNSUPPORTED Invalid Tag encounted.
-
-**/
-EFI_STATUS
-EFIAPI
-PciResourceUpdateCheck (
- IN EFI_PCI_DEVICE_INFO *PciDeviceInfo,
- OUT VOID *Configuration
- );
-
-/**
- Check the incompatible device list and return configuraton register mask values.
-
- This function searches the incompatible device list according to request
- information. If the PCI device belongs to the devices list, corresponding
- configuration informtion will be returned, in the meantime return EFI_SUCCESS.
-
- @param PciDeviceInfo A pointer to EFI_PCI_DEVICE_INFO.
- @param AccessType Access Type, READ or WRITE.
- @param Offset The address within the PCI configuration space.
- @param Configuration Returned information.
-
- @retval EFI_SUCCESS If check incompatible device successfully.
- @retval EFI_UNSUPPORTED Failed to check incompatibility device.
-
-**/
-EFI_STATUS
-EFIAPI
-PciRegisterUpdateCheck (
- IN EFI_PCI_DEVICE_INFO *PciDeviceInfo,
- IN UINT64 AccessType,
- IN UINT64 Offset,
- OUT VOID *Configuration
- );
-
-/**
- Check the incompatible device list for access width incompatibility and
- return the configuration.
-
- This function searches the incompatible device list for access width
- incompatibility according to request information. If the PCI device
- belongs to the devices list, corresponding configuration informtion
- will be returned, in the meantime return EFI_SUCCESS.
-
- @param PciDeviceInfo A pointer to PCI device information.
- @param AccessType Access type, READ or WRITE.
- @param Offset The address within the PCI configuration space.
- @param AccessWidth Access width needs to check incompatibility.
- @param Configuration Returned information.
-
- @retval EFI_SUCCESS If check incompatible device successfully.
- @retval EFI_UNSUPPORTED Failed to check incompatibility device.
-
-**/
-EFI_STATUS
-EFIAPI
-PciRegisterAccessCheck (
- IN EFI_PCI_DEVICE_INFO *PciDeviceInfo,
- IN UINT64 AccessType,
- IN UINT64 Offset,
- IN UINT64 AccessWidth,
- OUT VOID *Configuration
- );
-
-#endif
-
|