]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg: Clean ACPI 2.0 characters in UEFI spec
authorDandan Bi <dandan.bi@intel.com>
Fri, 16 Jun 2017 05:24:02 +0000 (13:24 +0800)
committerHao Wu <hao.a.wu@intel.com>
Tue, 20 Jun 2017 01:29:43 +0000 (09:29 +0800)
v2: Add some missing changes.

Cc: Liming Gao <liming.gao@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.c
MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.h
MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridge.h
MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c

index 3b3b53abced5493ad2abd7d4c74f1f3d037ac972..cc7125e4fc3c00f924fc7ea11d482f785219cd14 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   EFI PCI IO protocol functions implementation for PCI Bus module.\r
 \r
-Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>\r
 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
@@ -1838,12 +1838,12 @@ GetMmioAddressTranslationOffset (
                                 base address for resource range. The legal range for this field is 0..5.\r
   @param  Supports              A pointer to the mask of attributes that this PCI controller supports\r
                                 setting for this BAR with SetBarAttributes().\r
-  @param  Resources             A pointer to the ACPI 2.0 resource descriptors that describe the current\r
+  @param  Resources             A pointer to the resource descriptors that describe the current\r
                                 configuration of this BAR of the PCI controller.\r
 \r
   @retval EFI_SUCCESS           If Supports is not NULL, then the attributes that the PCI\r
                                 controller supports are returned in Supports. If Resources\r
-                                is not NULL, then the ACPI 2.0 resource descriptors that the PCI\r
+                                is not NULL, then the resource descriptors that the PCI\r
                                 controller is currently using are returned in Resources.\r
   @retval EFI_INVALID_PARAMETER Both Supports and Attributes are NULL.\r
   @retval EFI_UNSUPPORTED       BarIndex not valid for this PCI controller.\r
index ac2def5acf662726e7900359b4b4258466ecfb64..da3de3938e4b7bf5c10557f78d4d3087c600f64e 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   EFI PCI IO protocol functions declaration for PCI Bus module.\r
 \r
-Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>\r
 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
@@ -590,12 +590,12 @@ PciIoAttributes (
                                 base address for resource range. The legal range for this field is 0..5.\r
   @param  Supports              A pointer to the mask of attributes that this PCI controller supports\r
                                 setting for this BAR with SetBarAttributes().\r
-  @param  Resources             A pointer to the ACPI 2.0 resource descriptors that describe the current\r
+  @param  Resources             A pointer to the resource descriptors that describe the current\r
                                 configuration of this BAR of the PCI controller.\r
 \r
   @retval EFI_SUCCESS           If Supports is not NULL, then the attributes that the PCI\r
                                 controller supports are returned in Supports. If Resources\r
-                                is not NULL, then the ACPI 2.0 resource descriptors that the PCI\r
+                                is not NULL, then the resource descriptors that the PCI\r
                                 controller is currently using are returned in Resources.\r
   @retval EFI_INVALID_PARAMETER Both Supports and Attributes are NULL.\r
   @retval EFI_UNSUPPORTED       BarIndex not valid for this PCI controller.\r
index 1fec88b2f91343e4d5409dd63cdbff535acfb35d..d3dfb57fc651a37b30a4527f905e98c57616d11a 100644 (file)
@@ -2,7 +2,7 @@
 \r
   The PCI Root Bridge header file.\r
 \r
-Copyright (c) 1999 - 2016, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 1999 - 2017, Intel Corporation. All rights reserved.<BR>\r
 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
@@ -554,10 +554,10 @@ RootBridgeIoSetAttributes (
 /**\r
 \r
   Retrieves the current resource settings of this PCI root bridge\r
-  in the form of a set of ACPI 2.0 resource descriptor.\r
+  in the form of a set of ACPI resource descriptor.\r
 \r
   @param This       -  Pointer to the EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL instance.\r
-  @param Resources  -  Pointer to the ACPI 2.0 resource descriptor that\r
+  @param Resources  -  Pointer to the resource descriptor that\r
                        describe the current configuration of this PCI root\r
                        bridge.\r
 \r
index 8e4f03277245f6bb94902acf83005da92ed70426..dc06c16dc038d2f397547ce8af2d87e492a09750 100644 (file)
@@ -1560,20 +1560,19 @@ RootBridgeIoSetAttributes (
 \r
 /**\r
   Retrieves the current resource settings of this PCI root bridge in the form\r
-  of a set of ACPI 2.0 resource descriptors.\r
+  of a set of ACPI resource descriptors.\r
 \r
   There are only two resource descriptor types from the ACPI Specification that\r
   may be used to describe the current resources allocated to a PCI root bridge.\r
-  These are the QWORD Address Space Descriptor (ACPI 2.0 Section 6.4.3.5.1),\r
-  and the End Tag (ACPI 2.0 Section 6.4.2.8). The QWORD Address Space\r
-  Descriptor can describe memory, I/O, and bus number ranges for dynamic or\r
-  fixed resources. The configuration of a PCI root bridge is described with one\r
-  or more QWORD Address Space Descriptors followed by an End Tag.\r
+  These are the QWORD Address Space Descriptor, and the End Tag. The QWORD\r
+  Address Space Descriptor can describe memory, I/O, and bus number ranges for\r
+  dynamic or fixed resources. The configuration of a PCI root bridge is described\r
+  with one or more QWORD Address Space Descriptors followed by an End Tag.\r
 \r
   @param[in]   This        A pointer to the EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL.\r
-  @param[out]  Resources   A pointer to the ACPI 2.0 resource descriptors that\r
+  @param[out]  Resources   A pointer to the resource descriptors that\r
                            describe the current configuration of this PCI root\r
-                           bridge. The storage for the ACPI 2.0 resource\r
+                           bridge. The storage for the resource\r
                            descriptors is allocated by this function. The\r
                            caller must treat the return buffer as read-only\r
                            data, and the buffer must not be freed by the\r