]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciPowerManagement.h
Using EFI_RESOUCE status defined in framework Pci Host bridge specification.
[mirror_edk2.git] / IntelFrameworkModulePkg / Bus / Pci / PciBusDxe / PciPowerManagement.h
index 1239eed2ec89fd6fa37eb7dcfe3dadee76ad1a33..9697a57050ac5aa8ea2c237a5a442d3d2a14e5b0 100644 (file)
@@ -1,4 +1,4 @@
-/**@file\r
+/** @file\r
 \r
 Copyright (c) 2006, Intel Corporation                                                         \r
 All rights reserved. This program and the accompanying materials                          \r
@@ -11,28 +11,22 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 **/\r
 \r
-#ifndef _EFI_PCI_POWER_MANAGEMENT_H\r
-#define _EFI_PCI_POWER_MANAGEMENT_H\r
+#ifndef _EFI_PCI_POWER_MANAGEMENT_H_\r
+#define _EFI_PCI_POWER_MANAGEMENT_H_\r
 \r
-EFI_STATUS\r
-ResetPowerManagementFeature (\r
-  IN PCI_IO_DEVICE *PciIoDevice\r
-  )\r
 /**\r
+  This function is intended to turn off PWE assertion and\r
+  put the device to D0 state if the device supports\r
+  PCI Power Management.\r
 \r
-Routine Description:\r
-\r
-  TODO: Add function description\r
-\r
-Arguments:\r
-\r
-  PciIoDevice - TODO: add argument description\r
-\r
-Returns:\r
-\r
-  TODO: add return values\r
+  @param PciIoDevice  Pci device instance\r
 \r
+  @retval EFI_UNSUPPORTED Device do not support power management\r
+  @retval EFI_SUCCESS     Success\r
 **/\r
-;\r
+EFI_STATUS\r
+ResetPowerManagementFeature (\r
+  IN PCI_IO_DEVICE *PciIoDevice\r
+  );\r
 \r
 #endif\r