]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Include/Library/PciIncompatibleDeviceSupportLib.h
Due to SmBios2.6 spec section 3.3.8.5 doesn't enumerate 24-way set-associative for...
[mirror_edk2.git] / IntelFrameworkModulePkg / Include / Library / PciIncompatibleDeviceSupportLib.h
index a518991a79af123da136a26ce03266a34e3bdecc..f490ae4106e5de59ee908e275ae6de676b841880 100644 (file)
@@ -1,15 +1,15 @@
 /** @file\r
-  PCI Incompatible device support Libary. Platform can implement an \r
+  PCI Incompatible device support Libary. Platform can implement an\r
   instance to support the incompatible PCI devices.\r
 \r
-Copyright (c) 2006 - 2009, Intel Corporation                                                         \r
-All rights reserved. This program and the accompanying materials                          \r
-are licensed and made available under the terms and conditions of the BSD License         \r
-which accompanies this distribution.  The full text of the license may be found at        \r
-http://opensource.org/licenses/bsd-license.php                                            \r
-                                                                                          \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.  \r
+Copyright (c) 2006 - 2009, Intel Corporation\r
+All rights reserved. This program and the accompanying materials\r
+are licensed and made available under the terms and conditions of the BSD License\r
+which accompanies this distribution.  The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php\r
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
 **/\r
 \r
@@ -65,20 +65,23 @@ typedef struct {
 } EFI_PCI_RESOUCE_DESCRIPTOR;\r
 \r
 /**\r
-  Checks the incompatible device list for ACPI resource update and return\r
+  Check the incompatible device list for ACPI resource update and return\r
   the configuration.\r
 \r
   This function searches the incompatible device list according to request\r
   information. If the PCI device belongs to the devices list, corresponding\r
   configuration informtion will be returned, in the meantime return EFI_SUCCESS.\r
 \r
-  @param  PciDeviceInfo       A pointer to PCI device information.\r
-  @param  Configuration       Returned information.\r
+  @param  PciDeviceInfo        A pointer to PCI device information.\r
+  @param  Configuration        Returned information.\r
+\r
+  @retval EFI_SUCCESS          If check incompatible device successfully.\r
+  @retval EFI_ABORTED          No any resource type.\r
+  @retval EFI_OUT_OF_RESOURCES No memory available.\r
+  @retval EFI_UNSUPPORTED      Invalid Tag encounted.\r
 \r
-  @retval EFI_SUCCESS         The incompatible device is supported.\r
-  @retval EFI_UNSUPPORTED     The incompatible device is not supported.\r
 **/\r
-RETURN_STATUS\r
+EFI_STATUS\r
 EFIAPI\r
 PciResourceUpdateCheck (\r
   IN  EFI_PCI_DEVICE_INFO           *PciDeviceInfo,\r
@@ -86,7 +89,7 @@ PciResourceUpdateCheck (
   );\r
 \r
 /**\r
-  Checks the incompatible device list and return configuration register mask values.\r
+  Check the incompatible device list and return configuraton register mask values.\r
 \r
   This function searches the incompatible device list according to request\r
   information. If the PCI device belongs to the devices list, corresponding\r
@@ -97,10 +100,11 @@ PciResourceUpdateCheck (
   @param  Offset              The address within the PCI configuration space.\r
   @param  Configuration       Returned information.\r
 \r
-  @retval EFI_SUCCESS         The incompatible device is supported.\r
-  @retval EFI_UNSUPPORTED     The incompatible device is not supported.\r
+  @retval EFI_SUCCESS         If check incompatible device successfully.\r
+  @retval EFI_UNSUPPORTED     Failed to check incompatibility device.\r
+\r
 **/\r
-RETURN_STATUS\r
+EFI_STATUS\r
 EFIAPI\r
 PciRegisterUpdateCheck (\r
   IN  EFI_PCI_DEVICE_INFO           *PciDeviceInfo,\r
@@ -110,8 +114,8 @@ PciRegisterUpdateCheck (
   );\r
 \r
 /**\r
-  Checks the incompatible device list for access width incompatibility and\r
-  return the configuration\r
+  Check the incompatible device list for access width incompatibility and\r
+  return the configuration.\r
 \r
   This function searches the incompatible device list for access width\r
   incompatibility according to request information. If the PCI device\r
@@ -124,10 +128,11 @@ PciRegisterUpdateCheck (
   @param  AccessWidth         Access width needs to check incompatibility.\r
   @param  Configuration       Returned information.\r
 \r
-  @retval EFI_SUCCESS         The incompatible device is supported.\r
-  @retval EFI_UNSUPPORTED     The incompatible device is not supported.\r
+  @retval EFI_SUCCESS         If check incompatible device successfully.\r
+  @retval EFI_UNSUPPORTED     Failed to check incompatibility device.\r
+\r
 **/\r
-RETURN_STATUS\r
+EFI_STATUS\r
 EFIAPI\r
 PciRegisterAccessCheck (\r
   IN  EFI_PCI_DEVICE_INFO           *PciDeviceInfo,\r