]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Pci/PciBusDxe/PciHotPlugSupport.h
MdeModulePkg/PciBus: Correct typos
[mirror_edk2.git] / MdeModulePkg / Bus / Pci / PciBusDxe / PciHotPlugSupport.h
index a285d94c93ca4827b8e519469e3e2f01a59958e2..e8f7f678931c204f999e3f71704689a3e81f819f 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   PCI Hot Plug support functions declaration for PCI Bus module.\r
 \r
-Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2019, 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
@@ -31,7 +31,7 @@ typedef struct {
 } ROOT_HPC_DATA;\r
 \r
 //\r
-// Reference of some global variabes\r
+// Reference of some global variables\r
 //\r
 extern EFI_PCI_HOT_PLUG_INIT_PROTOCOL *gPciHotPlugInit;\r
 extern EFI_HPC_LOCATION               *gPciRootHpcPool;\r
@@ -52,7 +52,7 @@ PciHPCInitialized (
   );\r
 \r
 /**\r
-  Compare two device pathes to check if they are exactly same.\r
+  Compare two device paths to check if they are exactly same.\r
 \r
   @param DevicePath1    A pointer to the first device path data structure.\r
   @param DevicePath2    A pointer to the second device path data structure.\r
@@ -75,7 +75,7 @@ EfiCompareDevicePath (
   private data structure.\r
 \r
   @retval EFI_SUCCESS           They are same.\r
-  @retval EFI_UNSUPPORTED       No PCI Hot Plug controler on the platform.\r
+  @retval EFI_UNSUPPORTED       No PCI Hot Plug controller on the platform.\r
   @retval EFI_OUT_OF_RESOURCES  No memory to constructor root hot plug private\r
                                 data structure.\r
 \r
@@ -104,7 +104,7 @@ IsPciHotPlugBus (
 \r
   @param HpbDevicePath  A pointer to device path data structure to be tested.\r
   @param HpIndex        If HpIndex is not NULL, return the index of root hot\r
-                        plug in global array when TRUE is retuned.\r
+                        plug in global array when TRUE is returned.\r
 \r
   @retval TRUE          The device path is for root pci hot plug bus.\r
   @retval FALSE         The device path is not for root pci hot plug bus.\r
@@ -121,7 +121,7 @@ IsRootPciHotPlugBus (
 \r
   @param HpcDevicePath  A pointer to device path data structure to be tested.\r
   @param HpIndex        If HpIndex is not NULL, return the index of root hot\r
-                        plug in global array when TRUE is retuned.\r
+                        plug in global array when TRUE is returned.\r
 \r
   @retval TRUE          The device path is for root pci hot plug controller.\r
   @retval FALSE         The device path is not for root pci hot plug controller.\r
@@ -137,9 +137,9 @@ IsRootPciHotPlugController (
   Creating event object for PCI Hot Plug controller.\r
 \r
   @param  HpIndex   Index of hot plug device in global array.\r
-  @param  Event     The retuned event that invoke this function.\r
+  @param  Event     The returned event that invoke this function.\r
 \r
-  @return Status of create event invoken.\r
+  @return Status of create event.\r
 \r
 **/\r
 EFI_STATUS\r
@@ -188,7 +188,7 @@ IsSHPC (
 \r
   @param[in] PciIoDevice  The device being checked.\r
 \r
-  @retval TRUE   PciIoDevice is a PCIe port that accepts a hotplugged device.\r
+  @retval TRUE   PciIoDevice is a PCIe port that accepts a hot-plugged device.\r
   @retval FALSE  Otherwise.\r
 \r
 **/\r