]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Minor grammatical work--mostly adding periods. Items with ONLY period added did...
authormyronporter <myronporter@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 30 Jun 2010 00:13:25 +0000 (00:13 +0000)
committermyronporter <myronporter@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 30 Jun 2010 00:13:25 +0000 (00:13 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10615 6f19259b-4bc3-4df7-8a09-765794883524

62 files changed:
MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.c
MdePkg/Library/BasePcdLibNull/PcdLib.c
MdePkg/Library/BasePeCoffLib/BasePeCoff.c
MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c
MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLibInternals.h
MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.c
MdePkg/Library/DxeCoreHobLib/HobLib.c
MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.c
MdePkg/Library/DxeHobLib/HobLib.c
MdePkg/Library/DxeIoLibCpuIo2/IoHighLevel.c
MdePkg/Library/DxeIoLibCpuIo2/IoLibMmioBuffer.c
MdePkg/Library/DxePcdLib/DxePcdLib.c
MdePkg/Library/DxeRuntimePciExpressLib/PciExpressLib.c
MdePkg/Library/DxeServicesLib/DxeServicesLib.c
MdePkg/Library/DxeSmbusLib/DxeSmbusLib.c
MdePkg/Library/DxeSmbusLib/InternalSmbusLib.h
MdePkg/Library/DxeSmbusLib/SmbusLib.c
MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.c
MdePkg/Library/PeiDxePostCodeLibReportStatusCode/PostCode.c
MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c
MdePkg/Library/PeiHobLib/HobLib.c
MdePkg/Library/PeiIoLibCpuIo/IoHighLevel.c
MdePkg/Library/PeiMemoryAllocationLib/MemoryAllocationLib.c
MdePkg/Library/PeiMemoryLib/CompareMemWrapper.c
MdePkg/Library/PeiMemoryLib/CopyMemWrapper.c
MdePkg/Library/PeiMemoryLib/MemLib.c
MdePkg/Library/PeiMemoryLib/MemLibGeneric.c
MdePkg/Library/PeiMemoryLib/MemLibGuid.c
MdePkg/Library/PeiMemoryLib/MemLibInternals.h
MdePkg/Library/PeiMemoryLib/ScanMem8Wrapper.c
MdePkg/Library/PeiMemoryLib/SetMemWrapper.c
MdePkg/Library/PeiPcdLib/PeiPcdLib.c
MdePkg/Library/PeiPciLibPciCfg2/PciLib.c
MdePkg/Library/PeiPciSegmentLibPciCfg2/PciSegmentLib.c
MdePkg/Library/PeiServicesLib/PeiServicesLib.c
MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointer.c
MdePkg/Library/PeiSmbusLibSmbus2Ppi/InternalSmbusLib.h
MdePkg/Library/PeiSmbusLibSmbus2Ppi/PeiSmbusLib.c
MdePkg/Library/PeiSmbusLibSmbus2Ppi/SmbusLib.c
MdePkg/Library/PeimEntryPoint/PeimEntryPoint.c
MdePkg/Library/SmmIoLibSmmCpuIo2/IoHighLevel.c
MdePkg/Library/SmmIoLibSmmCpuIo2/IoLibMmioBuffer.c
MdePkg/Library/SmmLibNull/SmmLibNull.c
MdePkg/Library/SmmMemoryAllocationLib/MemoryAllocationLib.c
MdePkg/Library/SmmPciLibPciRootBridgeIo/PciLib.c
MdePkg/Library/UefiApplicationEntryPoint/ApplicationEntryPoint.c
MdePkg/Library/UefiDebugLibConOut/DebugLib.c
MdePkg/Library/UefiDebugLibStdErr/DebugLib.c
MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.c
MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c
MdePkg/Library/UefiDriverEntryPoint/DriverEntryPoint.c
MdePkg/Library/UefiLib/Console.c
MdePkg/Library/UefiLib/UefiDriverModel.c
MdePkg/Library/UefiLib/UefiLib.c
MdePkg/Library/UefiLib/UefiLibPrint.c
MdePkg/Library/UefiLib/UefiNotTiano.c
MdePkg/Library/UefiMemoryLib/MemLibGeneric.c
MdePkg/Library/UefiMemoryLib/MemLibInternals.h
MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c
MdePkg/Library/UefiRuntimeLib/RuntimeLib.c
MdePkg/Library/UefiSalLib/UefiSalLib.c
MdePkg/Library/UefiScsiLib/UefiScsiLib.c

index ce289d2d6cfde2a5b96c36d96d1f237290e69046..c3978c9b501dff39308c660ce10adda6d2cd9e51 100644 (file)
@@ -34,7 +34,7 @@ typedef struct {
   the registered guid and Handler list. When it is initialized, it will be directly returned. \r
   Or, HandlerInfo table will be initialized in this function.\r
 \r
-  @param[in, out]  InfoPointer   The pointer to the handler info structure.\r
+  @param[in, out]  InfoPointer   The pointer to the handler information structure.\r
 \r
   @retval  RETURN_SUCCESS            HandlerInfo table can be used to store guid and function tables.\r
   @retval  RETURN_OUT_OF_RESOURCES   HandlerInfo table address is not writable.\r
@@ -52,23 +52,23 @@ GetExtractGuidedSectionHandlerInfo (
   HandlerInfo = (EXTRACT_GUIDED_SECTION_HANDLER_INFO*)(VOID*)(UINTN) PcdGet64 (PcdGuidedExtractHandlerTableAddress);\r
 \r
   //\r
-  // First check whether the handler info structure is initialized.\r
+  // First check whether the handler information structure is initialized.\r
   //\r
   if (HandlerInfo->Signature == EXTRACT_HANDLER_INFO_SIGNATURE) {\r
     //\r
-    // The handler info has been initialized and is returned.\r
+    // The handler information has been initialized and is returned.\r
     //\r
     *InfoPointer = HandlerInfo;\r
     return RETURN_SUCCESS;\r
   }\r
 \r
   //\r
-  // Try to initialize the handler info structure\r
+  // Try to initialize the handler information structure\r
   //\r
   HandlerInfo->Signature = EXTRACT_HANDLER_INFO_SIGNATURE;\r
   if (HandlerInfo->Signature != EXTRACT_HANDLER_INFO_SIGNATURE) {\r
     //\r
-    // The handler info structure was not writeable because the memory is not ready.\r
+    // The handler information structure was not writeable because the memory is not ready.\r
     //\r
     *InfoPointer = NULL;\r
     return RETURN_OUT_OF_RESOURCES;\r
@@ -284,7 +284,7 @@ ExtractGuidedSectionGetInfo (
   for (Index = 0; Index < HandlerInfo->NumberOfExtractHandler; Index ++) {\r
     if (CompareGuid (HandlerInfo->ExtractHandlerGuidTable + Index, &(((EFI_GUID_DEFINED_SECTION *) InputSection)->SectionDefinitionGuid))) {\r
       //\r
-      // Call the match handler to get info for the input section data.\r
+      // Call the match handler to get information for the input section data.\r
       //\r
       return HandlerInfo->ExtractGetInfoHandlerTable [Index] (\r
                 InputSection,\r
index ad1dcf63e6833bb5570462c9a216502ea4384073..4823f5ad6716da6fe006632e76e2b27f490ffd01 100644 (file)
@@ -404,7 +404,7 @@ LibPcdGetExSize (
   @param[in]  TokenNumber   The PCD token number to set a current value for.\r
   @param[in]  Value         The 8-bit value to set.\r
 \r
-  @return Return the value been set.\r
+  @return Return the value that was set.\r
 \r
 **/\r
 UINT8\r
@@ -430,7 +430,7 @@ LibPcdSet8 (
   @param[in]  TokenNumber   The PCD token number to set a current value for.\r
   @param[in]  Value         The 16-bit value to set.\r
 \r
-  @return Return the value been set.\r
+  @return Return the value that was set.\r
 \r
 **/\r
 UINT16\r
@@ -456,7 +456,7 @@ LibPcdSet16 (
   @param[in]  TokenNumber   The PCD token number to set a current value for.\r
   @param[in]  Value         The 32-bit value to set.\r
 \r
-  @return Return the value been set.\r
+  @return Return the value that was set.\r
 \r
 **/\r
 UINT32\r
@@ -482,7 +482,7 @@ LibPcdSet32 (
   @param[in]  TokenNumber   The PCD token number to set a current value for.\r
   @param[in]  Value         The 64-bit value to set.\r
 \r
-  @return Return the value been set.\r
+  @return Return the value that was set.\r
 \r
 **/\r
 UINT64\r
@@ -545,7 +545,7 @@ LibPcdSetPtr (
   @param[in]  TokenNumber   The PCD token number to set a current value for.\r
   @param[in]  Value         The boolean value to set.\r
 \r
-  @return Return the value been set.\r
+  @return Return the value that was set.\r
 \r
 **/\r
 BOOLEAN\r
@@ -575,7 +575,7 @@ LibPcdSetBool (
   @param[in]  TokenNumber   The PCD token number to set a current value for.\r
   @param[in]  Value         The 8-bit value to set.\r
 \r
-  @return Return the value been set.\r
+  @return Return the value that was set.\r
 \r
 **/\r
 UINT8\r
@@ -606,7 +606,7 @@ LibPcdSetEx8 (
   @param[in]  TokenNumber   The PCD token number to set a current value for.\r
   @param[in]  Value         The 16-bit value to set.\r
 \r
-  @return Return the value been set.\r
+  @return Return the value that was set.\r
 \r
 **/\r
 UINT16\r
@@ -637,7 +637,7 @@ LibPcdSetEx16 (
   @param[in]  TokenNumber   The PCD token number to set a current value for.\r
   @param[in]  Value         The 32-bit value to set.\r
 \r
-  @return Return the value been set.\r
+  @return Return the value that was set.\r
 \r
 **/\r
 UINT32\r
@@ -667,7 +667,7 @@ LibPcdSetEx32 (
   @param[in]  TokenNumber   The PCD token number to set a current value for.\r
   @param[in]  Value         The 64-bit value to set.\r
 \r
-  @return Return the value been set.\r
+  @return Return the value that was set.\r
 \r
 **/\r
 UINT64\r
@@ -736,7 +736,7 @@ LibPcdSetExPtr (
   @param[in]  TokenNumber   The PCD token number to set a current value for.\r
   @param[in]  Value         The Boolean value to set.\r
 \r
-  @return Return the value been set.\r
+  @return Return the value that was set.\r
 \r
 **/\r
 BOOLEAN\r
index af8af8a0a81e766d19dd5b9b015fbb3ed4c4eb91..7337bc359a0aecea2f416e3993b2d87cfa6f1c04 100644 (file)
@@ -270,7 +270,7 @@ PeCoffLoaderGetImageInfo (
   // Obviously having base relocations with RELOCS_STRIPPED==1 is invalid.\r
   //\r
   // Look at the file header to determine if relocations have been stripped, and\r
-  // save this info in the image context for later use.\r
+  // save this information in the image context for later use.\r
   //\r
   if ((!(ImageContext->IsTeImage)) && ((Hdr.Pe32->FileHeader.Characteristics & EFI_IMAGE_FILE_RELOCS_STRIPPED) != 0)) {\r
     ImageContext->RelocationsStripped = TRUE;\r
@@ -831,7 +831,7 @@ PeCoffLoaderLoadImage (
   ImageContext->ImageError = IMAGE_ERROR_SUCCESS;\r
 \r
   //\r
-  // Copy the provided context info into our local version, get what we\r
+  // Copy the provided context information into our local version, get what we\r
   // can from the original image, and then use that to make sure everything\r
   // is legit.\r
   //\r
@@ -1079,7 +1079,7 @@ PeCoffLoaderLoadImage (
   ImageContext->FixupData = NULL;\r
 \r
   //\r
-  // Load the Codeview info if present\r
+  // Load the Codeview information if present\r
   //\r
   if (ImageContext->DebugDirectoryEntryRva != 0) {\r
     if (!(ImageContext->IsTeImage)) {\r
index cd5d8c8d8ba887bd4b6543bcae5abe2ad8fb8fdc..15c3325cd4eb2f3cd39a2d6acc3fa258039180c3 100644 (file)
@@ -27,7 +27,7 @@
 \r
   Shift mBitBuf NumOfBits left. Read in NumOfBits of bits from source.\r
 \r
-  @param  Sd        The global scratch data\r
+  @param  Sd        The global scratch data.\r
   @param  NumOfBits The number of bits to shift and read.\r
 \r
 **/\r
@@ -119,10 +119,10 @@ GetBits (
   and Position Set according to code length array.\r
   If TableBits > 16, then ASSERT ().\r
 \r
-  @param  Sd        The global scratch data\r
-  @param  NumOfChar The number of symbols in the symbol set\r
-  @param  BitLen    Code length array\r
-  @param  TableBits The width of the mapping table\r
+  @param  Sd        The global scratch data.\r
+  @param  NumOfChar The number of symbols in the symbol set.\r
+  @param  BitLen    Code length array.\r
+  @param  TableBits The width of the mapping table.\r
   @param  Table     The table to be created.\r
 \r
   @retval  0 OK.\r
@@ -262,7 +262,7 @@ MakeTable (
 \r
   Get a position value according to Position Huffman Table.\r
 \r
-  @param  Sd the global scratch data\r
+  @param  Sd The global scratch data.\r
 \r
   @return The position value decoded.\r
 \r
@@ -401,7 +401,7 @@ ReadPTLen (
   Read in and decode the Char&Len Set Code Length Array, then\r
   generate the Huffman Code mapping table for the Char&Len Set.\r
 \r
-  @param  Sd the global scratch data\r
+  @param  Sd The global scratch data.\r
 \r
 **/\r
 VOID\r
@@ -561,7 +561,7 @@ DecodeC (
 /**\r
   Decode the source data and put the resulting data into the destination buffer.\r
 \r
-  @param  Sd The global scratch data\r
+  @param  Sd The global scratch data.\r
 \r
 **/\r
 VOID\r
@@ -659,13 +659,13 @@ Done:
   @param  SourceSize      The size, in bytes, of the source buffer.\r
   @param  DestinationSize A pointer to the size, in bytes, of the uncompressed buffer\r
                           that will be generated when the compressed buffer specified\r
-                          by Source and SourceSize is decompressed..\r
+                          by Source and SourceSize is decompressed.\r
   @param  ScratchSize     A pointer to the size, in bytes, of the scratch buffer that\r
                           is required to decompress the compressed buffer specified \r
                           by Source and SourceSize.\r
 \r
   @retval  RETURN_SUCCESS The size of the uncompressed data was returned \r
-                          in DestinationSize and the size of the scratch \r
+                          in DestinationSize, and the size of the scratch \r
                           buffer was returned in ScratchSize.\r
   @retval  RETURN_INVALID_PARAMETER \r
                           The size of the uncompressed data or the size of \r
@@ -721,7 +721,7 @@ UefiDecompressGetInfo (
   If the required scratch buffer size > 0 and Scratch is NULL, then ASSERT().\r
 \r
   @param  Source      The source buffer containing the compressed data.\r
-  @param  Destination The destination buffer to store the decompressed data\r
+  @param  Destination The destination buffer to store the decompressed data.\r
   @param  Scratch     A temporary scratch buffer that is used to perform the decompression.\r
                       This is an optional parameter that may be NULL if the \r
                       required scratch buffer size is 0.\r
index 8e5143db7d3a0276bd056a9ce095541c7c8d6e74..358c598c043916b4db577cb464456acf12f2cb91 100644 (file)
@@ -63,7 +63,7 @@ typedef struct {
 \r
   ///\r
   /// The length of the field 'Position Set Code Length Array Size' in Block Header.\r
-  /// For UEFI 2.0 de/compression algorithm, mPBit = 4\r
+  /// For UEFI 2.0 de/compression algorithm, mPBit = 4.\r
   ///\r
   UINT8   mPBit;\r
 } SCRATCH_DATA;\r
@@ -73,7 +73,7 @@ typedef struct {
 \r
   Shift mBitBuf NumOfBits left. Read in NumOfBits of bits from source.\r
 \r
-  @param  Sd        The global scratch data\r
+  @param  Sd        The global scratch data.\r
   @param  NumOfBits The number of bits to shift and read.\r
 \r
 **/\r
@@ -109,10 +109,10 @@ GetBits (
   and Position Set according to code length array.\r
   If TableBits > 16, then ASSERT ().\r
 \r
-  @param  Sd        The global scratch data\r
-  @param  NumOfChar The number of symbols in the symbol set\r
-  @param  BitLen    Code length array\r
-  @param  TableBits The width of the mapping table\r
+  @param  Sd        The global scratch data.\r
+  @param  NumOfChar The number of symbols in the symbol set.\r
+  @param  BitLen    Code length array.\r
+  @param  TableBits The width of the mapping table.\r
   @param  Table     The table to be created.\r
 \r
   @retval  0 OK.\r
@@ -133,7 +133,7 @@ MakeTable (
 \r
   Get a position value according to Position Huffman Table.\r
 \r
-  @param  Sd the global scratch data\r
+  @param  Sd The global scratch data.\r
 \r
   @return The position value decoded.\r
 \r
@@ -172,7 +172,7 @@ ReadPTLen (
   Read in and decode the Char&Len Set Code Length Array, then\r
   generate the Huffman Code mapping table for the Char&Len Set.\r
 \r
-  @param  Sd the global scratch data\r
+  @param  Sd The global scratch data.\r
 \r
 **/\r
 VOID\r
@@ -200,7 +200,7 @@ DecodeC (
 /**\r
   Decode the source data and put the resulting data into the destination buffer.\r
 \r
-  @param  Sd The global scratch data\r
+  @param  Sd The global scratch data.\r
 \r
 **/\r
 VOID\r
index e2ffd3ff8908ac9182ace78c3e2c41485f588306..d3d8c4c47c51a3e6b172d85caf68f9b3c81d8a1b 100644 (file)
@@ -5,7 +5,7 @@ Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
 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
+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
index 5ffaf069fc0782d4bf882759096705e5e716d6a9..9fdb2b448a80539b1c46470e1a2d1332c55ee991 100644 (file)
@@ -5,7 +5,7 @@ Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
 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
+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
@@ -116,10 +116,10 @@ GetFirstHob (
   \r
   This function searches the first instance of a HOB from the starting HOB pointer. \r
   Such HOB should satisfy two conditions: \r
-  its HOB type is EFI_HOB_TYPE_GUID_EXTENSION and its GUID Name equals to the input Guid. \r
-  If there does not exist such HOB from the starting HOB pointer, it will return NULL. \r
+  its HOB type is EFI_HOB_TYPE_GUID_EXTENSION, and its GUID Name equals to the input Guid. \r
+  If such a HOB from the starting HOB pointer does not exist, it will return NULL. \r
   Caller is required to apply GET_GUID_HOB_DATA () and GET_GUID_HOB_DATA_SIZE ()\r
-  to extract the data section and its size info respectively.\r
+  to extract the data section and its size information, respectively.\r
   In contrast with macro GET_NEXT_HOB(), this function does not skip the starting HOB pointer\r
   unconditionally: it returns HobStart back if HobStart itself meets the requirement;\r
   caller is required to use GET_NEXT_HOB() if it wishes to skip current HobStart.\r
@@ -158,9 +158,9 @@ GetNextGuidHob (
   This function searches the first instance of a HOB among the whole HOB list. \r
   Such HOB should satisfy two conditions:\r
   its HOB type is EFI_HOB_TYPE_GUID_EXTENSION and its GUID Name equals to the input Guid.\r
-  If there does not exist such HOB from the starting HOB pointer, it will return NULL.\r
+  If such a HOB from the starting HOB pointer does not exist, it will return NULL.\r
   Caller is required to apply GET_GUID_HOB_DATA () and GET_GUID_HOB_DATA_SIZE ()\r
-  to extract the data section and its size info respectively.\r
+  to extract the data section and its size information, respectively.\r
   \r
   If the pointer to the HOB list is NULL, then ASSERT().\r
   If Guid is NULL, then ASSERT().\r
@@ -213,7 +213,7 @@ GetBootModeHob (
 \r
   This function builds a HOB for a loaded PE32 module.\r
   It can only be invoked during PEI phase;\r
-  for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.\r
+  for DXE phase, it will ASSERT() because PEI HOB is read-only for DXE phase.\r
   \r
   If ModuleName is NULL, then ASSERT().\r
   If there is no additional space for HOB creation, then ASSERT().\r
@@ -244,7 +244,7 @@ BuildModuleHob (
 \r
   This function builds a HOB that describes a chunk of system memory.\r
   It can only be invoked during PEI phase;\r
-  for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.\r
+  for DXE phase, it will ASSERT() because PEI HOB is read-only for DXE phase.\r
   \r
   If there is no additional space for HOB creation, then ASSERT().\r
 \r
@@ -276,8 +276,8 @@ BuildResourceDescriptorHob (
   This function builds a customized HOB tagged with a GUID for identification \r
   and returns the start address of GUID HOB data so that caller can fill the customized data. \r
   The HOB Header and Name field is already stripped.\r
-  It can only be invoked during PEI phase;\r
-  for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.\r
+  It can only be invoked during PEI phase.\r
+  For DXE phase, it will ASSERT() because PEI HOB is read-only for DXE phase.\r
   \r
   If Guid is NULL, then ASSERT().\r
   If there is no additional space for HOB creation, then ASSERT().\r
@@ -309,10 +309,10 @@ BuildGuidHob (
 \r
   This function builds a customized HOB tagged with a GUID for identification and copies the input\r
   data to the HOB data field and returns the start address of the GUID HOB data.  It can only be \r
-  invoked during PEI phase; for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.  \r
+  invoked during PEI phase; for DXE phase, it will ASSERT() because PEI HOB is read-only for DXE phase.  \r
   The HOB Header and Name field is already stripped.\r
-  It can only be invoked during PEI phase;\r
-  for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.\r
+  It can only be invoked during PEI phase.\r
+  For DXE phase, it will ASSERT() because PEI HOB is read-only for DXE phase.\r
   \r
   If Guid is NULL, then ASSERT().\r
   If Data is NULL and DataLength > 0, then ASSERT().\r
@@ -346,7 +346,7 @@ BuildGuidDataHob (
 \r
   This function builds a Firmware Volume HOB.\r
   It can only be invoked during PEI phase;\r
-  for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.\r
+  for DXE phase, it will ASSERT() because PEI HOB is read-only for DXE phase.\r
   \r
   If there is no additional space for HOB creation, then ASSERT().\r
 \r
@@ -372,7 +372,7 @@ BuildFvHob (
 \r
   This function builds a EFI_HOB_TYPE_FV2 HOB.\r
   It can only be invoked during PEI phase;\r
-  for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.\r
+  for DXE phase, it will ASSERT() because PEI HOB is read-only for DXE phase.\r
   \r
   If there is no additional space for HOB creation, then ASSERT().\r
 \r
@@ -399,7 +399,7 @@ BuildFv2Hob (
 \r
   This function builds a Capsule Volume HOB.\r
   It can only be invoked during PEI phase;\r
-  for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.\r
+  for DXE phase, it will ASSERT() because PEI HOB is read-only for DXE phase.\r
   \r
   If the platform does not support Capsule Volume HOBs, then ASSERT().\r
   If there is no additional space for HOB creation, then ASSERT().\r
@@ -426,7 +426,7 @@ BuildCvHob (
 \r
   This function builds a HOB for the CPU.\r
   It can only be invoked during PEI phase;\r
-  for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.\r
+  for DXE phase, it will ASSERT() because PEI HOB is read-only for DXE phase.\r
   \r
   If there is no additional space for HOB creation, then ASSERT().\r
 \r
@@ -452,7 +452,7 @@ BuildCpuHob (
 \r
   This function builds a HOB for the stack.\r
   It can only be invoked during PEI phase;\r
-  for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.\r
+  for DXE phase, it will ASSERT() because PEI HOB is read-only for DXE phase.\r
   \r
   If there is no additional space for HOB creation, then ASSERT().\r
 \r
@@ -478,7 +478,7 @@ BuildStackHob (
 \r
   This function builds a HOB for BSP store.\r
   It can only be invoked during PEI phase;\r
-  for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.\r
+  for DXE phase, it will ASSERT() because PEI HOB is read-only for DXE phase.\r
   \r
   If there is no additional space for HOB creation, then ASSERT().\r
 \r
@@ -506,7 +506,7 @@ BuildBspStoreHob (
 \r
   This function builds a HOB for the memory allocation.\r
   It can only be invoked during PEI phase;\r
-  for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.\r
+  for DXE phase, it will ASSERT() because PEI HOB is read-only for DXE phase.\r
   \r
   If there is no additional space for HOB creation, then ASSERT().\r
 \r
index c9cb612835d861726ef47818157511dce84f6238..1587e872fa2062dfb339bff7f10a1a0278ddee4b 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Provide generic extract guided section functions for Dxe phase.\r
 \r
-  Copyright (c) 2007 - 2008, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2007 - 2010, 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,8 +31,8 @@ EXTRACT_GUIDED_SECTION_GET_INFO_HANDLER *mExtractGetInfoHandlerTable = NULL;
 /**\r
   Reallocates more global memory to store the registered guid and Handler list.\r
 \r
-  @retval  RETURN_SUCCESS            Reallocate more global memory space to store guid and function tables.\r
-  @retval  RETURN_OUT_OF_RESOURCES   No enough memory to allocated.\r
+  @retval  RETURN_SUCCESS            Reallocated more global memory space to store guid and function tables.\r
+  @retval  RETURN_OUT_OF_RESOURCES   Not enough memory to allocate.\r
 **/\r
 RETURN_STATUS\r
 EFIAPI\r
@@ -103,8 +103,8 @@ Done:
   @param  ImageHandle   The firmware allocated handle for the EFI image.\r
   @param  SystemTable   A pointer to the EFI System Table.\r
 \r
-  @retval  RETURN_SUCCESS            Allocate the global memory space to store guid and function tables.\r
-  @retval  RETURN_OUT_OF_RESOURCES   No enough memory to allocated.\r
+  @retval  RETURN_SUCCESS            Allocated the global memory space to store guid and function tables.\r
+  @retval  RETURN_OUT_OF_RESOURCES   Not enough memory to allocate.\r
 **/\r
 RETURN_STATUS\r
 EFIAPI\r
@@ -127,7 +127,7 @@ DxeExtractGuidedSectionLibConstructor (
   @param[out]  ExtractHandlerGuidTable  A pointer to the array of GUIDs that have been registered through\r
                                         ExtractGuidedSectionRegisterHandlers().\r
 \r
-  @return the number of the supported extract guided Handler.\r
+  @return The number of the supported extract guided Handler.\r
 \r
 **/\r
 UINTN\r
@@ -242,7 +242,7 @@ ExtractGuidedSectionRegisterHandlers (
   @param[out] SectionAttribute   A pointer to the attributes of the GUIDed section.  See the Attributes field of\r
                                  EFI_GUID_DEFINED_SECTION in the PI Specification.\r
 \r
-  @retval  RETURN_SUCCESS      Get the required information successfully.\r
+  @retval  RETURN_SUCCESS      Successfully obtained the required information.\r
   @retval  RETURN_UNSUPPORTED  The GUID from the section specified by InputSection does not match any of\r
                                the GUIDs registered with ExtractGuidedSectionRegisterHandlers().\r
   @retval  Others              The return status from the handler associated with the GUID retrieved from\r
index e01dc80c6237e5637819e56e44fa6b662033eb9d..dfd4bed67aa3cf387a403a7a11bd00d0da34d9fd 100644 (file)
@@ -152,7 +152,7 @@ GetFirstHob (
   its HOB type is EFI_HOB_TYPE_GUID_EXTENSION and its GUID Name equals to the input Guid. \r
   If there does not exist such HOB from the starting HOB pointer, it will return NULL. \r
   Caller is required to apply GET_GUID_HOB_DATA () and GET_GUID_HOB_DATA_SIZE ()\r
-  to extract the data section and its size info respectively.\r
+  to extract the data section and its size information, respectively.\r
   In contrast with macro GET_NEXT_HOB(), this function does not skip the starting HOB pointer\r
   unconditionally: it returns HobStart back if HobStart itself meets the requirement;\r
   caller is required to use GET_NEXT_HOB() if it wishes to skip current HobStart.\r
@@ -193,7 +193,7 @@ GetNextGuidHob (
   its HOB type is EFI_HOB_TYPE_GUID_EXTENSION and its GUID Name equals to the input Guid.\r
   If there does not exist such HOB from the starting HOB pointer, it will return NULL.\r
   Caller is required to apply GET_GUID_HOB_DATA () and GET_GUID_HOB_DATA_SIZE ()\r
-  to extract the data section and its size info respectively.\r
+  to extract the data section and its size information, respectively.\r
   \r
   If the pointer to the HOB list is NULL, then ASSERT().\r
   If Guid is NULL, then ASSERT().\r
index aeeec98f8a2fd018202c4bc5fb55d483709b6596..29d4af58d661665b2327fa67d7eb4a09fdc70b1a 100644 (file)
@@ -1237,7 +1237,7 @@ MmioAndThenOr8 (
   If EndBit is greater than 7, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to read.\r
+  @param  Address   The MMIO register to read.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..7.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1269,7 +1269,7 @@ MmioBitFieldRead8 (
   If EndBit is greater than 7, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..7.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1310,7 +1310,7 @@ MmioBitFieldWrite8 (
   If EndBit is greater than 7, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..7.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1351,7 +1351,7 @@ MmioBitFieldOr8 (
   If EndBit is greater than 7, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..7.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1393,7 +1393,7 @@ MmioBitFieldAnd8 (
   If EndBit is greater than 7, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..7.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1519,7 +1519,7 @@ MmioAndThenOr16 (
   If EndBit is greater than 15, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to read.\r
+  @param  Address   The MMIO register to read.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..15.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1551,7 +1551,7 @@ MmioBitFieldRead16 (
   If EndBit is greater than 15, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..15.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1592,7 +1592,7 @@ MmioBitFieldWrite16 (
   If EndBit is greater than 15, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..15.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1633,7 +1633,7 @@ MmioBitFieldOr16 (
   If EndBit is greater than 15, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..15.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1675,7 +1675,7 @@ MmioBitFieldAnd16 (
   If EndBit is greater than 15, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..15.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1801,7 +1801,7 @@ MmioAndThenOr32 (
   If EndBit is greater than 31, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to read.\r
+  @param  Address   The MMIO register to read.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..31.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1833,7 +1833,7 @@ MmioBitFieldRead32 (
   If EndBit is greater than 31, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..31.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1874,7 +1874,7 @@ MmioBitFieldWrite32 (
   If EndBit is greater than 31, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..31.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1915,7 +1915,7 @@ MmioBitFieldOr32 (
   If EndBit is greater than 31, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..31.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1957,7 +1957,7 @@ MmioBitFieldAnd32 (
   If EndBit is greater than 31, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..31.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -2083,7 +2083,7 @@ MmioAndThenOr64 (
   If EndBit is greater than 63, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to read.\r
+  @param  Address   The MMIO register to read.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..63.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -2115,7 +2115,7 @@ MmioBitFieldRead64 (
   If EndBit is greater than 63, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..63.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -2156,7 +2156,7 @@ MmioBitFieldWrite64 (
   If EndBit is greater than 63, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..63.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -2197,7 +2197,7 @@ MmioBitFieldOr64 (
   If EndBit is greater than 63, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..63.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -2239,7 +2239,7 @@ MmioBitFieldAnd64 (
   If EndBit is greater than 63, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..63.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
index 82afc17e38cff40c6a8f775a9ff542c012a2c780..9e14c258c6e33ebbb2a475174f90291c686bf804 100644 (file)
@@ -74,7 +74,7 @@ MmioReadBuffer8 (
   @param  Length          The size in bytes of the copy.\r
   @param  Buffer          The pointer to a system memory buffer receiving the data read.\r
 \r
-  @return Buffer\r
+  @return Buffer.\r
 \r
 **/\r
 UINT16 *\r
@@ -125,7 +125,7 @@ MmioReadBuffer16 (
   @param  Length          The size in bytes of the copy.\r
   @param  Buffer          The pointer to a system memory buffer receiving the data read.\r
 \r
-  @return Buffer\r
+  @return Buffer.\r
 \r
 **/\r
 UINT32 *\r
@@ -177,7 +177,7 @@ MmioReadBuffer32 (
   @param  Length          The size in bytes of the copy.\r
   @param  Buffer          The pointer to a system memory buffer receiving the data read.\r
 \r
-  @return Buffer\r
+  @return Buffer.\r
 \r
 **/\r
 UINT64 *\r
@@ -222,10 +222,10 @@ MmioReadBuffer64 (
 \r
 \r
   @param  StartAddress    The starting address for the MMIO region to be copied to.\r
-  @param  Length     The size in bytes of the copy.\r
+  @param  Length          The size in bytes of the copy.\r
   @param  Buffer          The pointer to a system memory buffer containing the data to write.\r
 \r
-  @return Buffer\r
+  @return Buffer.\r
 \r
 **/\r
 UINT8 *\r
@@ -268,10 +268,10 @@ MmioWriteBuffer8 (
   If Buffer is not aligned on a 16-bit boundary, then ASSERT().\r
 \r
   @param  StartAddress    The starting address for the MMIO region to be copied to.\r
-  @param  Length     The size in bytes of the copy.\r
+  @param  Length          The size in bytes of the copy.\r
   @param  Buffer          The pointer to a system memory buffer containing the data to write.\r
 \r
-  @return Buffer\r
+  @return Buffer.\r
 \r
 **/\r
 UINT16 *\r
@@ -322,10 +322,10 @@ MmioWriteBuffer16 (
   If Buffer is not aligned on a 32-bit boundary, then ASSERT().\r
 \r
   @param  StartAddress    The starting address for the MMIO region to be copied to.\r
-  @param  Length     The size in bytes of the copy.\r
+  @param  Length          The size in bytes of the copy.\r
   @param  Buffer          The pointer to a system memory buffer containing the data to write.\r
 \r
-  @return Buffer\r
+  @return Buffer.\r
 \r
 **/\r
 UINT32 *\r
@@ -375,10 +375,10 @@ MmioWriteBuffer32 (
   If Buffer is not aligned on a 64-bit boundary, then ASSERT().\r
 \r
   @param  StartAddress    The starting address for the MMIO region to be copied to.\r
-  @param  Length     The size in bytes of the copy.\r
+  @param  Length          The size in bytes of the copy.\r
   @param  Buffer          The pointer to a system memory buffer containing the data to write.\r
 \r
-  @return Buffer\r
+  @return Buffer.\r
 \r
 **/\r
 UINT64 *\r
index 958f58a0d67adf84e64bedc17bfbb3f79bc5a460..3ab27f44839b5efbb7a0f4b348bf00d66913e1bd 100644 (file)
@@ -444,7 +444,7 @@ LibPcdGetExSize (
   @param[in]  TokenNumber   The PCD token number to set a current value for.\r
   @param[in]  Value         The 8-bit value to set.\r
 \r
-  @return Return the value been set.\r
+  @return Return the value that was set.\r
 \r
 **/\r
 UINT8\r
@@ -475,7 +475,7 @@ LibPcdSet8 (
   @param[in]  TokenNumber   The PCD token number to set a current value for.\r
   @param[in]  Value         The 16-bit value to set.\r
 \r
-  @return Return the value been set.\r
+  @return Return the value that was set.\r
 \r
 **/\r
 UINT16\r
@@ -506,7 +506,7 @@ LibPcdSet16 (
   @param[in]  TokenNumber   The PCD token number to set a current value for.\r
   @param[in]  Value         The 32-bit value to set.\r
 \r
-  @return Return the value been set.\r
+  @return Return the value that was set.\r
 \r
 **/\r
 UINT32\r
@@ -537,7 +537,7 @@ LibPcdSet32 (
   @param[in]  TokenNumber   The PCD token number to set a current value for.\r
   @param[in]  Value         The 64-bit value to set.\r
 \r
-  @return Return the value been set.\r
+  @return Return the value that was set.\r
 \r
 **/\r
 UINT64\r
@@ -618,7 +618,7 @@ LibPcdSetPtr (
   @param[in]  TokenNumber   The PCD token number to set a current value for.\r
   @param[in]  Value         The boolean value to set.\r
 \r
-  @return Return the value been set.\r
+  @return Return the value that was set.\r
 \r
 **/\r
 BOOLEAN\r
@@ -653,7 +653,7 @@ LibPcdSetBool (
   @param[in]  TokenNumber   The PCD token number to set a current value for.\r
   @param[in]  Value         The 8-bit value to set.\r
 \r
-  @return Return the value been set.\r
+  @return Return the value that was set.\r
 \r
 **/\r
 UINT8\r
@@ -690,7 +690,7 @@ LibPcdSetEx8 (
   @param[in]  TokenNumber   The PCD token number to set a current value for.\r
   @param[in]  Value         The 16-bit value to set.\r
 \r
-  @return Return the value been set.\r
+  @return Return the value that was set.\r
 \r
 **/\r
 UINT16\r
@@ -727,7 +727,7 @@ LibPcdSetEx16 (
   @param[in]  TokenNumber   The PCD token number to set a current value for.\r
   @param[in]  Value         The 32-bit value to set.\r
 \r
-  @return Return the value been set.\r
+  @return Return the value that was set.\r
 \r
 **/\r
 UINT32\r
@@ -763,7 +763,7 @@ LibPcdSetEx32 (
   @param[in]  TokenNumber   The PCD token number to set a current value for.\r
   @param[in]  Value         The 64-bit value to set.\r
 \r
-  @return Return the value been set.\r
+  @return Return the value that was set.\r
 \r
 **/\r
 UINT64\r
@@ -852,7 +852,7 @@ LibPcdSetExPtr (
   @param[in]  TokenNumber   The PCD token number to set a current value for.\r
   @param[in]  Value         The Boolean value to set.\r
 \r
-  @return Return the value been set.\r
+  @return Return the value that was set.\r
 \r
 **/\r
 BOOLEAN\r
@@ -992,7 +992,7 @@ LibPcdGetNextToken (
   If TokenSpaceGuid is NULL, then a pointer to the first PCD token spaces returned.\r
   If TokenSpaceGuid is the last PCD token space GUID in the list, then NULL is returned.\r
   \r
-  @param  TokenSpaceGuid  The pointer to the a PCD token space GUID\r
+  @param  TokenSpaceGuid  The pointer to the a PCD token space GUID.\r
 \r
   @return The next valid token namespace.\r
 \r
index 2ca30dd59815c0177f1a374fb0621ac7054ff1d6..fc276d583ef981c041124d4f0a559de5f15c89ac 100644 (file)
@@ -5,7 +5,7 @@
   All assertions for I/O operations are handled in MMIO functions in the IoLib\r
   Library.\r
 \r
-  Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2010, 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
@@ -45,22 +45,22 @@ typedef struct {
 EFI_EVENT                               mDxeRuntimePciExpressLibVirtualNotifyEvent = NULL;\r
 \r
 ///\r
-/// Module global that contains the base physical address of the PCI Express MMIO range\r
+/// Module global that contains the base physical address of the PCI Express MMIO range.\r
 ///\r
 UINTN                                   mDxeRuntimePciExpressLibPciExpressBaseAddress = 0;\r
 \r
 ///\r
-/// The number of PCI devices that have been registered for runtime access\r
+/// The number of PCI devices that have been registered for runtime access.\r
 ///\r
 UINTN                                   mDxeRuntimePciExpressLibNumberOfRuntimeRanges = 0;\r
 \r
 ///\r
-/// The table of PCI devices that have been registered for runtime access\r
+/// The table of PCI devices that have been registered for runtime access.\r
 ///\r
 PCI_EXPRESS_RUNTIME_REGISTRATION_TABLE  *mDxeRuntimePciExpressLibRegistrationTable = NULL;\r
 \r
 ///\r
-/// The table index of the most recent virtual address lookup\r
+/// The table index of the most recent virtual address lookup.\r
 ///\r
 UINTN                                   mDxeRuntimePciExpressLibLastRuntimeRange = 0;\r
 \r
@@ -69,8 +69,8 @@ UINTN                                   mDxeRuntimePciExpressLibLastRuntimeRange
   Convert the physical PCI Express MMIO addresses for all registered PCI devices\r
   to virtual addresses.\r
 \r
-  @param[in]    Event   The Event that is being processed\r
-  @param[in]    Context Event Context\r
+  @param[in]    Event   The event that is being processed.\r
+  @param[in]    Context The Event Context.\r
 **/\r
 VOID\r
 EFIAPI\r
index dc45b9984538732a90b303c0a1029b88cc209f47..d8e6b5cc4e404ccd86fa663d04fdeb9e860d0353 100644 (file)
@@ -40,7 +40,7 @@
   \r
   @param  ImageHandle         The firmware allocated handle for UEFI image.\r
 \r
-  @retval  EFI_HANDLE          The device handle from which the Image is loaded from.\r
+  @retval  EFI_HANDLE         The device handle from which the Image is loaded from.\r
 \r
 **/\r
 EFI_HANDLE\r
@@ -88,18 +88,25 @@ InternalImageHandleToFvHandle (
   If Buffer is NULL, then ASSERT();\r
   If Size is NULL, then ASSERT().\r
 \r
-  @param  FvHandle                The device handle that contains a instance of EFI_FIRMWARE_VOLUME2_PROTOCOL instance.\r
+  @param  FvHandle                The device handle that contains a instance of \r
+                                  EFI_FIRMWARE_VOLUME2_PROTOCOL instance.\r
   @param  NameGuid                The GUID name of a Firmware File.\r
   @param  SectionType             The Firmware Section type.\r
-  @param  SectionInstance         The instance number of Firmware Section to read from starting from 0.\r
-  @param  Buffer                  On output, Buffer contains the the data read from the section in the Firmware File found.\r
+  @param  SectionInstance         The instance number of Firmware Section to  \r
+                                  read from starting from 0.\r
+  @param  Buffer                  On output, Buffer contains the the data read \r
+                                  from the section in the Firmware File found.\r
   @param  Size                    On output, the size of Buffer.\r
 \r
   @retval  EFI_SUCCESS            The image is found and data and size is returned.\r
-  @retval  EFI_NOT_FOUND          The image specified by NameGuid and SectionType can't be found.\r
-  @retval  EFI_OUT_OF_RESOURCES   There were not enough resources to allocate the output data buffer or complete the operations.\r
-  @retval  EFI_DEVICE_ERROR       A hardware error occurs during reading from the Firmware Volume.\r
-  @retval  EFI_ACCESS_DENIED      The firmware volume containing the searched Firmware File is configured to disallow reads.\r
+  @retval  EFI_NOT_FOUND          The image specified by NameGuid and SectionType \r
+                                  can't be found.\r
+  @retval  EFI_OUT_OF_RESOURCES   There were not enough resources to allocate the \r
+                                  output data buffer or complete the operations.\r
+  @retval  EFI_DEVICE_ERROR       A hardware error occurs during reading from the \r
+                                  Firmware Volume.\r
+  @retval  EFI_ACCESS_DENIED      The firmware volume containing the searched \r
+                                  Firmware File is configured to disallow reads.\r
   \r
 **/\r
 EFI_STATUS\r
@@ -187,22 +194,31 @@ InternalGetSectionFromFv (
   If Buffer is NULL, then ASSERT().\r
   If Size is NULL, then ASSERT().\r
 \r
-  @param  FileType             Indicates the FV file type to search for within all available FVs.\r
-  @param  FileInstance         Indicates which file instance within all available FVs specified by FileType.\r
+  @param  FileType             Indicates the FV file type to search for within all \r
+                               available FVs.\r
+  @param  FileInstance         Indicates which file instance within all available \r
+                               FVs specified by FileType.\r
                                FileInstance starts from zero.\r
-  @param  SectionType          Indicates the FFS section type to search for within the FFS file \r
+  @param  SectionType          Indicates the FFS section type to search for \r
+                               within the FFS file \r
                                specified by FileType with FileInstance.\r
   @param  SectionInstance      Indicates which section instance within the FFS file \r
-                               specified by FileType with FileInstance to retrieve. SectionInstance starts from zero.\r
-  @param  Buffer               On output, a pointer to a callee allocated buffer containing the FFS file section that was found.\r
-                               Is it the caller's responsibility to free this buffer using FreePool().\r
+                               specified by FileType with FileInstance to retrieve. \r
+                               SectionInstance starts from zero.\r
+  @param  Buffer               On output, a pointer to a callee allocated buffer \r
+                               containing the FFS file section that was found.\r
+                               Is it the caller's responsibility to free this \r
+                               buffer using FreePool().\r
   @param  Size                 On output, a pointer to the size, in bytes, of Buffer.\r
 \r
   @retval  EFI_SUCCESS          The specified FFS section was returned.\r
   @retval  EFI_NOT_FOUND        The specified FFS section could not be found.\r
-  @retval  EFI_OUT_OF_RESOURCES There are not enough resources available to retrieve the matching FFS section.\r
-  @retval  EFI_DEVICE_ERROR     The FFS section could not be retrieves due to a device error.\r
-  @retval  EFI_ACCESS_DENIED    The FFS section could not be retrieves because the firmware volume that \r
+  @retval  EFI_OUT_OF_RESOURCES There are not enough resources available to retrieve \r
+                                the matching FFS section.\r
+  @retval  EFI_DEVICE_ERROR     The FFS section could not be retrieves due to a \r
+                                device error.\r
+  @retval  EFI_ACCESS_DENIED    The FFS section could not be retrieves because \r
+                                the firmware volume that \r
                                 contains the matching FFS section does not allow reads.\r
 **/\r
 EFI_STATUS\r
@@ -323,19 +339,26 @@ Done:
   If Size is NULL, then ASSERT().\r
 \r
 \r
-  @param  NameGuid             A pointer to to the FFS filename GUID to search for within \r
-                               any of the firmware volumes in the platform. \r
-  @param  SectionType          Indicates the FFS section type to search for within the FFS file specified by NameGuid.\r
-  @param  SectionInstance      Indicates which section instance within the FFS file specified by NameGuid to retrieve.\r
-  @param  Buffer               On output, a pointer to a callee allocated buffer containing the FFS file section that was found.  \r
-                               Is it the caller's responsibility to free this buffer using FreePool().\r
+  @param  NameGuid             A pointer to to the FFS filename GUID to search for  \r
+                               within any of the firmware volumes in the platform. \r
+  @param  SectionType          Indicates the FFS section type to search for within \r
+                               the FFS file specified by NameGuid.\r
+  @param  SectionInstance      Indicates which section instance within the FFS file \r
+                               specified by NameGuid to retrieve.\r
+  @param  Buffer               On output, a pointer to a callee allocated buffer \r
+                               containing the FFS file section that was found.  \r
+                               Is it the caller's responsibility to free this buffer \r
+                               using FreePool().\r
   @param  Size                 On output, a pointer to the size, in bytes, of Buffer.\r
 \r
   @retval  EFI_SUCCESS          The specified FFS section was returned.\r
   @retval  EFI_NOT_FOUND        The specified FFS section could not be found.\r
-  @retval  EFI_OUT_OF_RESOURCES There are not enough resources available to retrieve the matching FFS section.\r
-  @retval  EFI_DEVICE_ERROR     The FFS section could not be retrieves due to a device error.\r
-  @retval  EFI_ACCESS_DENIED    The FFS section could not be retrieves because the firmware volume that \r
+  @retval  EFI_OUT_OF_RESOURCES There are not enough resources available to \r
+                                retrieve the matching FFS section.\r
+  @retval  EFI_DEVICE_ERROR     The FFS section could not be retrieves due to a \r
+                                device error.\r
+  @retval  EFI_ACCESS_DENIED    The FFS section could not be retrieves because the \r
+                                firmware volume that \r
                                 contains the matching FFS section does not allow reads.\r
 **/\r
 EFI_STATUS\r
@@ -440,21 +463,29 @@ Done:
   If Buffer is NULL, then ASSERT().\r
   If Size is NULL, then ASSERT().\r
 \r
-  @param  NameGuid             A pointer to to the FFS filename GUID to search for within \r
-                               the firmware volumes that the currently executing module was loaded from.\r
-  @param  SectionType          Indicates the FFS section type to search for within the FFS file specified by NameGuid.\r
-  @param  SectionInstance      Indicates which section instance within the FFS file specified by NameGuid to retrieve.\r
-  @param  Buffer               On output, a pointer to a callee allocated buffer containing the FFS file section that was found.  \r
-                               Is it the caller's responsibility to free this buffer using FreePool().\r
+  @param  NameGuid             A pointer to to the FFS filename GUID to search for \r
+                               within the firmware volumes that the currently \r
+                               executing module was loaded from.\r
+  @param  SectionType          Indicates the FFS section type to search for within \r
+                               the FFS file specified by NameGuid.\r
+  @param  SectionInstance      Indicates which section instance within the FFS file \r
+                               specified by NameGuid to retrieve.\r
+  @param  Buffer               On output, a pointer to a callee allocated buffer \r
+                               containing the FFS file section that was found.  \r
+                               Is it the caller's responsibility to free this buffer \r
+                               using FreePool().\r
   @param  Size                 On output, a pointer to the size, in bytes, of Buffer.\r
 \r
 \r
   @retval  EFI_SUCCESS          The specified FFS section was returned.\r
   @retval  EFI_NOT_FOUND        The specified FFS section could not be found.\r
-  @retval  EFI_OUT_OF_RESOURCES There are not enough resources available to retrieve the matching FFS section.\r
-  @retval  EFI_DEVICE_ERROR     The FFS section could not be retrieves due to a device error.\r
-  @retval  EFI_ACCESS_DENIED    The FFS section could not be retrieves because the firmware volume that \r
-                                contains the matching FFS section does not allow reads.  \r
+  @retval  EFI_OUT_OF_RESOURCES There are not enough resources available to retrieve \r
+                                the matching FFS section.\r
+  @retval  EFI_DEVICE_ERROR     The FFS section could not be retrieves due to a \r
+                                device error.\r
+  @retval  EFI_ACCESS_DENIED    The FFS section could not be retrieves because the \r
+                                firmware volume that contains the matching FFS \r
+                                section does not allow reads.  \r
 **/\r
 EFI_STATUS\r
 EFIAPI\r
@@ -496,20 +527,27 @@ GetSectionFromFv (
   If Size is NULL, then ASSERT().\r
 \r
 \r
-  @param  SectionType          Indicates the FFS section type to search for within the FFS file \r
-                               that the currently executing module was loaded from.\r
-  @param  SectionInstance      Indicates which section instance to retrieve within the FFS file \r
-                               that the currently executing module was loaded from.\r
-  @param  Buffer               On output, a pointer to a callee allocated buffer containing the FFS file section that was found.  \r
-                               Is it the caller's responsibility to free this buffer using FreePool().\r
+  @param  SectionType          Indicates the FFS section type to search for within \r
+                               the FFS file that the currently executing module \r
+                               was loaded from.\r
+  @param  SectionInstance      Indicates which section instance to retrieve within \r
+                               the FFS file that the currently executing module \r
+                               was loaded from.\r
+  @param  Buffer               On output, a pointer to a callee allocated buffer \r
+                               containing the FFS file section that was found.  \r
+                               Is it the caller's responsibility to free this buffer \r
+                               using FreePool().\r
   @param  Size                 On output, a pointer to the size, in bytes, of Buffer.\r
 \r
   @retval  EFI_SUCCESS          The specified FFS section was returned.\r
   @retval  EFI_NOT_FOUND        The specified FFS section could not be found.\r
-  @retval  EFI_OUT_OF_RESOURCES There are not enough resources available to retrieve the matching FFS section.\r
-  @retval  EFI_DEVICE_ERROR     The FFS section could not be retrieves due to a device error.\r
-  @retval  EFI_ACCESS_DENIED    The FFS section could not be retrieves because the firmware volume that \r
-                                contains the matching FFS section does not allow reads.  \r
+  @retval  EFI_OUT_OF_RESOURCES There are not enough resources available to retrieve \r
+                                the matching FFS section.\r
+  @retval  EFI_DEVICE_ERROR     The FFS section could not be retrieves due to a \r
+                                device error.\r
+  @retval  EFI_ACCESS_DENIED    The FFS section could not be retrieves because the \r
+                                firmware volume that contains the matching FFS \r
+                                section does not allow reads.  \r
   \r
 **/\r
 EFI_STATUS\r
@@ -544,17 +582,20 @@ GetSectionFromFfs (
   If FileSize is NULL, then NULL is returned.\r
   If AuthenticationStatus is NULL, then NULL is returned.\r
 \r
-  @param[in]       BootPolicy           Policy for Open Image File.If TRUE, indicates that the request \r
-                                        originates from the boot manager, and that the boot manager is\r
-                                        attempting to load FilePath as a boot selection. If FALSE, \r
-                                        then FilePath must match an exact file to be loaded.\r
-  @param[in]       FilePath             The pointer to the device path of the file that is absracted to\r
-                                        the file buffer.\r
-  @param[out]      FileSize             The pointer to the size of the abstracted file buffer.\r
-  @param[out]      AuthenticationStatus The pointer to a caller-allocated UINT32 in which the authentication\r
-                                        status is returned.\r
-\r
-  @retval NULL   File is NULL, or FileSize is NULL. Or the file can't be found.\r
+  @param[in]       BootPolicy           Policy for Open Image File.If TRUE, indicates \r
+                                        that the request originates from the boot \r
+                                        manager, and that the boot manager is\r
+                                        attempting to load FilePath as a boot\r
+                                        selection. If FALSE, then FilePath must \r
+                                        match an exact file to be loaded.\r
+  @param[in]       FilePath             The pointer to the device path of the file\r
+                                        that is absracted to the file buffer.\r
+  @param[out]      FileSize             The pointer to the size of the abstracted \r
+                                        file buffer.\r
+  @param[out]      AuthenticationStatus The pointer to a caller-allocated UINT32 \r
+                                        in which the authentication status is returned.\r
+\r
+  @retval NULL   File is NULL, or FileSize is NULL. Or, the file can't be found.\r
   @retval other  The abstracted file buffer. The caller is responsible to free memory.\r
 **/\r
 VOID *\r
index ab3bd47aa01384e8e72ac0f6faf245311d2afc0f..985085c136de3f9e5622e2a135a5d402858328bd 100644 (file)
@@ -1,11 +1,11 @@
 /** @file\r
 Implementation of SmBusLib class library for DXE phase.\r
 \r
-Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2010, 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
-http://opensource.org/licenses/bsd-license.php\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
@@ -57,14 +57,16 @@ SmbusLibConstructor (
   as defined in the SmBus Specification. The data can either be of\r
   the Length byte, word, or a block of data.\r
 \r
-  @param  SmbusOperation  Signifies which particular SMBus hardware protocol instance that it will use to\r
-                          execute the SMBus transactions.\r
+  @param  SmbusOperation  Signifies which particular SMBus hardware protocol instance \r
+                          that it will use to execute the SMBus transactions.\r
   @param  SmBusAddress    The address that encodes the SMBUS Slave Address,\r
                           SMBUS Command, SMBUS Data Length, and PEC.\r
-  @param  Length          Signifies the number of bytes that this operation will do. The maximum number of\r
-                          bytes can be revision specific and operation specific.\r
-  @param  Buffer          Contains the value of data to execute to the SMBus slave device. Not all operations\r
-                          require this argument. The length of this buffer is identified by Length.\r
+  @param  Length          Signifies the number of bytes that this operation will do. \r
+                          The maximum number of bytes can be revision specific \r
+                          and operation specific.\r
+  @param  Buffer          Contains the value of data to execute to the SMBus slave \r
+                          device. Not all operations require this argument. The \r
+                          length of this buffer is identified by Length.\r
   @param  Status          Return status for the executed command.\r
                           This is an optional parameter and may be NULL.\r
 \r
index 203ca50855c44b0f207ca044b0ab9a01b09270f0..da7e58fc78a749528f2dab4139e6efef0ffc9b9f 100644 (file)
@@ -1,11 +1,11 @@
 /** @file\r
 Internal header file for Smbus library.\r
 \r
-Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2010, 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
-http://opensource.org/licenses/bsd-license.php\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
@@ -38,14 +38,16 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
   as defined in the SmBus Specification. The data can either be of\r
   the Length byte, word, or a block of data.\r
 \r
-  @param  SmbusOperation  Signifies which particular SMBus hardware protocol instance that it will use to\r
-                          execute the SMBus transactions.\r
+  @param  SmbusOperation  Signifies which particular SMBus hardware protocol instance \r
+                          that it will use toexecute the SMBus transactions.\r
   @param  SmBusAddress    The address that encodes the SMBUS Slave Address,\r
                           SMBUS Command, SMBUS Data Length, and PEC.\r
-  @param  Length          Signifies the number of bytes that this operation will do. The maximum number of\r
-                          bytes can be revision specific and operation specific.\r
-  @param  Buffer          Contains the value of data to execute to the SMBus slave device. Not all operations\r
-                          require this argument. The length of this buffer is identified by Length.\r
+  @param  Length          Signifies the number of bytes that this operation will \r
+                          do. The maximum number of bytes can be revision specific \r
+                          and operation specific.\r
+  @param  Buffer          Contains the value of data to execute to the SMBus slave\r
+                          device. Not all operations require this argument. The \r
+                          length of this buffer is identified by Length.\r
   @param  Status          Return status for the executed command.\r
                           This is an optional parameter and may be NULL.\r
 \r
index 58733e6ee4c59ff6729c9a33ebd21cbfb83472e0..fe1a0944dc0ebab67f76ca484eaad6015460515f 100644 (file)
@@ -1,11 +1,11 @@
 /** @file\r
 Implementation of SmBusLib class library for DXE phase.\r
 \r
-Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2010, 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
-http://opensource.org/licenses/bsd-license.php\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
@@ -30,13 +30,15 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
                         SMBUS Command, SMBUS Data Length, and PEC.\r
   @param  Status        Return status for the executed command.\r
                         This is an optional parameter and may be NULL.\r
-                        RETURN_SUCCESS  The SMBUS command was executed.\r
-                        RETURN_TIMEOUT  A timeout occurred while executing the SMBUS command.\r
-                        RETURN_DEVICE_ERROR The request was not completed because a failure\r
-                        reflected in the Host Status Register bit.  Device errors are a result\r
-                        of a transaction collision, illegal command field, unclaimed cycle\r
-                        (host initiated), or bus errors (collisions).\r
-                        RETURN_UNSUPPORTED  The SMBus operation is not supported.\r
+                        RETURN_SUCCESS:  The SMBUS command was executed.\r
+                        RETURN_TIMEOUT:  A timeout occurred while executing the \r
+                        SMBUS command. \r
+                        RETURN_DEVICE_ERROR: The request was not \r
+                        completed because a failure reflected in the Host Status \r
+                        Register bit.  Device errors are a result of a transaction \r
+                        collision, illegal command field, unclaimed cycle (host \r
+                        initiated), or bus errors (collisions). \r
+                        RETURN_UNSUPPORTED: The SMBus operation is not supported.\r
 \r
 **/\r
 VOID\r
@@ -69,13 +71,15 @@ SmBusQuickRead (
                         SMBUS Command, SMBUS Data Length, and PEC.\r
   @param  Status        Return status for the executed command.\r
                         This is an optional parameter and may be NULL.\r
-                        RETURN_SUCCESS The SMBUS command was executed.\r
-                        RETURN_TIMEOUT A timeout occurred while executing the SMBUS command.\r
-                        RETURN_DEVICE_ERROR  The request was not completed because a failure\r
-                        reflected in the Host Status Register bit.  Device errors are a result\r
-                        of a transaction collision, illegal command field, unclaimed cycle\r
-                        (host initiated), or bus errors (collisions).\r
-                        RETURN_UNSUPPORTED  The SMBus operation is not supported.\r
+                        RETURN_SUCCESS: The SMBUS command was executed.\r
+                        RETURN_TIMEOUT: A timeout occurred while executing the \r
+                        SMBUS command.\r
+                        RETURN_DEVICE_ERROR:  The request was not completed because \r
+                        a failure reflected in the Host Status Register bit.  \r
+                        Device errors are a result of a transaction collision, \r
+                        illegal command field, unclaimed cycle (host initiated), \r
+                        or bus errors (collisions).\r
+                        RETURN_UNSUPPORTED:  The SMBus operation is not supported.\r
 \r
 **/\r
 VOID\r
@@ -108,14 +112,16 @@ SmBusQuickWrite (
                         SMBUS Command, SMBUS Data Length, and PEC.\r
   @param  Status        Return status for the executed command.\r
                         This is an optional parameter and may be NULL.\r
-                        RETURN_SUCCESS The SMBUS command was executed.\r
-                        RETURN_TIMEOUT A timeout occurred while executing the SMBUS command.\r
-                        RETURN_DEVICE_ERROR  The request was not completed because a failure\r
-                        reflected in the Host Status Register bit.  Device errors are a result\r
-                        of a transaction collision, illegal command field, unclaimed cycle\r
-                        (host initiated), or bus errors (collisions).\r
-                        RETURN_CRC_ERROR  The checksum is not correct (PEC is incorrect)\r
-                        RETURN_UNSUPPORTED  The SMBus operation is not supported.\r
+                        RETURN_SUCCESS: The SMBUS command was executed.\r
+                        RETURN_TIMEOUT: A timeout occurred while executing the \r
+                        SMBUS command.\r
+                        RETURN_DEVICE_ERROR:  The request was not completed because \r
+                        a failure reflected in the Host Status Register bit.  Device\r
+                        errors are a result of a transaction collision, illegal \r
+                        command field, unclaimed cycle(host initiated), or bus \r
+                        errors (collisions).\r
+                        RETURN_CRC_ERROR:  The checksum is not correct. (PEC is incorrect.)\r
+                        RETURN_UNSUPPORTED:  The SMBus operation is not supported.\r
 \r
   @return The byte received from the SMBUS.\r
 \r
@@ -154,14 +160,16 @@ SmBusReceiveByte (
   @param  Value         The 8-bit value to send.\r
   @param  Status        Return status for the executed command.\r
                         This is an optional parameter and may be NULL.\r
-                        RETURN_SUCCESS The SMBUS command was executed.\r
-                        RETURN_TIMEOUT A timeout occurred while executing the SMBUS command.\r
-                        RETURN_DEVICE_ERROR  The request was not completed because a failure\r
-                        reflected in the Host Status Register bit.  Device errors are a result\r
-                        of a transaction collision, illegal command field, unclaimed cycle\r
-                        (host initiated), or bus errors (collisions).\r
-                        RETURN_CRC_ERROR  The checksum is not correct (PEC is incorrect)\r
-                        RETURN_UNSUPPORTED  The SMBus operation is not supported.\r
+                        RETURN_SUCCESS: The SMBUS command was executed.\r
+                        RETURN_TIMEOUT: A timeout occurred while executing the \r
+                        SMBUS command.\r
+                        RETURN_DEVICE_ERROR:  The request was not completed because\r
+                        a failure reflected in the Host Status Register bit.  Device \r
+                        errors are a result of a transaction collision, illegal \r
+                        command field, unclaimed cycle(host initiated), or bus \r
+                        errors (collisions).\r
+                        RETURN_CRC_ERROR:  The checksum is not correct (PEC is incorrect)\r
+                        RETURN_UNSUPPORTED:  The SMBus operation is not supported.\r
 \r
   @return The parameter of Value.\r
 \r
@@ -196,18 +204,20 @@ SmBusSendByte (
   If Length in SmBusAddress is not zero, then ASSERT().\r
   If any reserved bits of SmBusAddress are set, then ASSERT().\r
 \r
-  @param  SmBusAddress    The address that encodes the SMBUS Slave Address,\r
-                          SMBUS Command, SMBUS Data Length, and PEC.\r
+  @param  SmBusAddress  The address that encodes the SMBUS Slave Address,\r
+                        SMBUS Command, SMBUS Data Length, and PEC.\r
   @param  Status        Return status for the executed command.\r
                         This is an optional parameter and may be NULL.\r
-                        RETURN_SUCCESS The SMBUS command was executed.\r
-                        RETURN_TIMEOUT A timeout occurred while executing the SMBUS command.\r
-                        RETURN_DEVICE_ERROR  The request was not completed because a failure\r
-                        reflected in the Host Status Register bit.  Device errors are a result\r
-                        of a transaction collision, illegal command field, unclaimed cycle\r
-                        (host initiated), or bus errors (collisions).\r
-                        RETURN_CRC_ERROR  The checksum is not correct (PEC is incorrect)\r
-                        RETURN_UNSUPPORTED  The SMBus operation is not supported.\r
+                        RETURN_SUCCESS: The SMBUS command was executed.\r
+                        RETURN_TIMEOUT: A timeout occurred while executing the \r
+                        SMBUS command.\r
+                        RETURN_DEVICE_ERROR:  The request was not completed because \r
+                        a failurereflected in the Host Status Register bit.  Device \r
+                        errors are a result of a transaction collision, illegal \r
+                        command field, unclaimed cycle (host initiated), or bus \r
+                        errors (collisions).\r
+                        RETURN_CRC_ERROR:  The checksum is not correct (PEC is incorrect)\r
+                        RETURN_UNSUPPORTED:  The SMBus operation is not supported.\r
 \r
   @return The byte read from the SMBUS.\r
 \r
@@ -245,14 +255,16 @@ SmBusReadDataByte (
   @param  Value         The 8-bit value to write.\r
   @param  Status        Return status for the executed command.\r
                         This is an optional parameter and may be NULL.\r
-                        RETURN_SUCCESS The SMBUS command was executed.\r
-                        RETURN_TIMEOUT A timeout occurred while executing the SMBUS command.\r
-                        RETURN_DEVICE_ERROR  The request was not completed because a failure\r
-                        reflected in the Host Status Register bit.  Device errors are a result\r
-                        of a transaction collision, illegal command field, unclaimed cycle\r
-                        (host initiated), or bus errors (collisions).\r
-                        RETURN_CRC_ERROR  The checksum is not correct (PEC is incorrect)\r
-                        RETURN_UNSUPPORTED  The SMBus operation is not supported.\r
+                        RETURN_SUCCESS: The SMBUS command was executed.\r
+                        RETURN_TIMEOUT: A timeout occurred while executing the \r
+                        SMBUS command.\r
+                        RETURN_DEVICE_ERROR:  The request was not completed because \r
+                        a failure reflected in the Host Status Register bit.  Device \r
+                        errors are a result of a transaction collision, illegal \r
+                        command field, unclaimed cycle host initiated), or bus \r
+                        errors (collisions).\r
+                        RETURN_CRC_ERROR:  The checksum is not correct. (PEC is incorrect.)\r
+                        RETURN_UNSUPPORTED:  The SMBus operation is not supported.\r
 \r
   @return The parameter of Value.\r
 \r
@@ -290,14 +302,17 @@ SmBusWriteDataByte (
                         SMBUS Command, SMBUS Data Length, and PEC.\r
   @param  Status        Return status for the executed command.\r
                         This is an optional parameter and may be NULL.\r
-                        RETURN_SUCCESS The SMBUS command was executed.\r
-                        RETURN_TIMEOUT A timeout occurred while executing the SMBUS command.\r
-                        RETURN_DEVICE_ERROR  The request was not completed because a failure\r
-                        reflected in the Host Status Register bit.  Device errors are a result\r
-                        of a transaction collision, illegal command field, unclaimed cycle\r
-                        (host initiated), or bus errors (collisions).\r
-                        RETURN_CRC_ERROR  The checksum is not correct (PEC is incorrect)\r
-                        RETURN_UNSUPPORTED  The SMBus operation is not supported.\r
+                        RETURN_SUCCESS: The SMBUS command was executed.\r
+                        RETURN_TIMEOUT: A timeout occurred while executing the \r
+                        SMBUS command.\r
+                        RETURN_DEVICE_ERROR:  The request was not completed because \r
+                        a failure reflected in the Host Status Register bit.  \r
+                        Device errors are a result of a transaction collision, \r
+                        illegal command field, unclaimed cycle (host initiated), \r
+                        or bus errors (collisions).\r
+                        RETURN_CRC_ERROR:  The checksum is not correct. (PEC is \r
+                        incorrect.)\r
+                        RETURN_UNSUPPORTED:  The SMBus operation is not supported.\r
 \r
   @return The byte read from the SMBUS.\r
 \r
@@ -335,14 +350,17 @@ SmBusReadDataWord (
   @param  Value         The 16-bit value to write.\r
   @param  Status        Return status for the executed command.\r
                         This is an optional parameter and may be NULL.\r
-                        RETURN_SUCCESS The SMBUS command was executed.\r
-                        RETURN_TIMEOUT A timeout occurred while executing the SMBUS command.\r
-                        RETURN_DEVICE_ERROR  The request was not completed because a failure\r
-                        reflected in the Host Status Register bit.  Device errors are a result\r
-                        of a transaction collision, illegal command field, unclaimed cycle\r
-                        (host initiated), or bus errors (collisions).\r
-                        RETURN_CRC_ERROR  The checksum is not correct (PEC is incorrect)\r
-                        RETURN_UNSUPPORTED  The SMBus operation is not supported.\r
+                        RETURN_SUCCESS: The SMBUS command was executed.\r
+                        RETURN_TIMEOUT: A timeout occurred while executing the SMBUS \r
+                        command.\r
+                        RETURN_DEVICE_ERROR:  The request was not completed because \r
+                        a failure reflected in the Host Status Register bit.  \r
+                        Device errors are a result of a transaction collision, \r
+                        illegal command field, unclaimed cycle (host initiated), \r
+                        or bus errors (collisions).\r
+                        RETURN_CRC_ERROR:  The checksum is not correct. \r
+                        (PEC is incorrect.)\r
+                        RETURN_UNSUPPORTED:  The SMBus operation is not supported.\r
 \r
   @return The parameter of Value.\r
 \r
@@ -382,14 +400,17 @@ SmBusWriteDataWord (
   @param  Value         The 16-bit value to write.\r
   @param  Status        Return status for the executed command.\r
                         This is an optional parameter and may be NULL.\r
-                        RETURN_SUCCESS The SMBUS command was executed.\r
-                        RETURN_TIMEOUT A timeout occurred while executing the SMBUS command.\r
-                        RETURN_DEVICE_ERROR  The request was not completed because a failure\r
-                        reflected in the Host Status Register bit.  Device errors are a result\r
-                        of a transaction collision, illegal command field, unclaimed cycle\r
-                        (host initiated), or bus errors (collisions).\r
-                        RETURN_CRC_ERROR  The checksum is not correct (PEC is incorrect)\r
-                        RETURN_UNSUPPORTED  The SMBus operation is not supported.\r
+                        RETURN_SUCCESS: The SMBUS command was executed.\r
+                        RETURN_TIMEOUT: A timeout occurred while executing the \r
+                        SMBUS command.\r
+                        RETURN_DEVICE_ERROR:  The request was not completed because \r
+                        a failure reflected in the Host Status Register bit.  \r
+                        Device errors are a result of a transaction collision, \r
+                        illegal command field, unclaimed cycle (host initiated), \r
+                        or bus errors (collisions).\r
+                        RETURN_CRC_ERROR:  The checksum is not correct. (PEC is \r
+                        incorrect.)\r
+                        RETURN_UNSUPPORTED:  The SMBus operation is not supported.\r
 \r
   @return The 16-bit value returned by the process call command.\r
 \r
@@ -426,17 +447,21 @@ SmBusProcessCall (
 \r
   @param  SmBusAddress  The address that encodes the SMBUS Slave Address,\r
                         SMBUS Command, SMBUS Data Length, and PEC.\r
-  @param  Buffer        The pointer to the buffer to store the bytes read from the SMBUS.\r
+  @param  Buffer        The pointer to the buffer to store the bytes read from \r
+                        the SMBUS.\r
   @param  Status        Return status for the executed command.\r
                         This is an optional parameter and may be NULL.\r
-                        RETURN_SUCCESS The SMBUS command was executed.\r
-                        RETURN_TIMEOUT A timeout occurred while executing the SMBUS command.\r
-                        RETURN_DEVICE_ERROR  The request was not completed because a failure\r
-                        reflected in the Host Status Register bit.  Device errors are a result\r
-                        of a transaction collision, illegal command field, unclaimed cycle\r
-                        (host initiated), or bus errors (collisions).\r
-                        RETURN_CRC_ERROR  The checksum is not correct (PEC is incorrect)\r
-                        RETURN_UNSUPPORTED  The SMBus operation is not supported.\r
+                        RETURN_SUCCESS: The SMBUS command was executed.\r
+                        RETURN_TIMEOUT: A timeout occurred while executing the SMBUS \r
+                        command.\r
+                        RETURN_DEVICE_ERROR:  The request was not completed because \r
+                        a failure reflected in the Host Status Register bit.  Device \r
+                        errors are a result of a transaction collision, illegal \r
+                        command field, unclaimed cycle (host initiated), or bus \r
+                        errors (collisions).\r
+                        RETURN_CRC_ERROR:  The checksum is not correct. (PEC is \r
+                        incorrect.)\r
+                        RETURN_UNSUPPORTED:  The SMBus operation is not supported.\r
 \r
   @return The number of bytes read.\r
 \r
@@ -470,16 +495,20 @@ SmBusReadBlock (
 \r
   @param  SmBusAddress  The address that encodes the SMBUS Slave Address,\r
                         MBUS Command, SMBUS Data Length, and PEC.\r
-  @param  Buffer        The pointer to the buffer to store the bytes read from the SMBUS.\r
+  @param  Buffer        The pointer to the buffer to store the bytes read from \r
+                        the SMBUS.\r
   @param  Status        Return status for the executed command.\r
                         This is an optional parameter and may be NULL.\r
-                        RETURN_TIMEOUT A timeout occurred while executing the SMBUS command.\r
-                        RETURN_DEVICE_ERROR  The request was not completed because a failure\r
-                        reflected in the Host Status Register bit.  Device errors are a result\r
-                        of a transaction collision, illegal command field, unclaimed cycle\r
-                        (host initiated), or bus errors (collisions).\r
-                        RETURN_CRC_ERROR  The checksum is not correct (PEC is incorrect)\r
-                        RETURN_UNSUPPORTED  The SMBus operation is not supported.\r
+                        RETURN_TIMEOUT: A timeout occurred while executing the \r
+                        SMBUS command.\r
+                        RETURN_DEVICE_ERROR:  The request was not completed because \r
+                        a failure reflected in the Host Status Register bit.  Device \r
+                        errors are a result of a transaction collision, illegal \r
+                        command field, unclaimed cycle (host initiated), or bus \r
+                        errors (collisions).\r
+                        RETURN_CRC_ERROR:  The checksum is not correct. (PEC is \r
+                        incorrect.)\r
+                        RETURN_UNSUPPORTED:  The SMBus operation is not supported.\r
 \r
   @return The number of bytes written.\r
 \r
@@ -523,13 +552,16 @@ SmBusWriteBlock (
   @param  ReadBuffer    The pointer to the buffer of bytes to read from the SMBUS.\r
   @param  Status        Return status for the executed command.\r
                         This is an optional parameter and may be NULL.\r
-                        RETURN_TIMEOUT A timeout occurred while executing the SMBUS command.\r
-                        RETURN_DEVICE_ERROR  The request was not completed because a failure\r
-                        reflected in the Host Status Register bit.  Device errors are a result\r
-                        of a transaction collision, illegal command field, unclaimed cycle\r
-                        (host initiated), or bus errors (collisions).\r
-                        RETURN_CRC_ERROR  The checksum is not correct (PEC is incorrect)\r
-                        RETURN_UNSUPPORTED  The SMBus operation is not supported.\r
+                        RETURN_TIMEOUT: A timeout occurred while executing the \r
+                        SMBUS command.\r
+                        RETURN_DEVICE_ERROR: The request was not completed because \r
+                        a failure reflected in the Host Status Register bit.  Device \r
+                        errors are a result of a transaction collision, illegal \r
+                        command field, unclaimed cycle (host initiated), or bus \r
+                        errors (collisions).\r
+                        RETURN_CRC_ERROR:  The checksum is not correct. (PEC is \r
+                        incorrect.)\r
+                        RETURN_UNSUPPORTED:  The SMBus operation is not supported.\r
 \r
   @return The number of bytes written.\r
 \r
index 698739825c457ba33e046ac9cdfffea3dea67489..5662ccff15f0db3a874a98397a921760019b46a2 100644 (file)
@@ -1,11 +1,11 @@
 /** @file\r
   Entry point to a the PEI Core.\r
 \r
-Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2010, 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
-http://opensource.org/licenses/bsd-license.php\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
@@ -39,17 +39,19 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
   the PEI Services Table and the file handle for the PEI Core itself have been established.\r
   If ProcessModuleEntryPointList() returns, then ASSERT() and halt the system.\r
 \r
-  @param SecCoreData  Points to a data structure containing information about the PEI\r
-                      core's operating environment, such as the size and location of\r
-                      temporary RAM, the stack location and the BFV location. \r
-\r
-  @param PpiList      Points to a list of one or more PPI descriptors to be installed\r
-                      initially by the PEI core. An empty PPI list consists of a single\r
-                      descriptor with the end-tag EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST.\r
-                      As part of its initialization phase, the PEI Foundation will add\r
-                      these SEC-hosted PPIs to its PPI database such that both the PEI\r
-                      Foundation and any modules can leverage the associated service calls\r
-                      and/or code in these early PPIs.\r
+  @param SecCoreData  Points to a data structure containing information about the \r
+                      PEI core's operating environment, such as the size and \r
+                      location of temporary RAM, the stack location and the BFV \r
+                      location.\r
+                      \r
+  @param PpiList      Points to a list of one or more PPI descriptors to be \r
+                      installed initially by the PEI core. An empty PPI list \r
+                      consists of a single descriptor with the end-tag \r
+                      EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST.\r
+                      As part of its initialization phase, the PEI Foundation will\r
+                      add these SEC-hosted PPIs to its PPI database, such that both \r
+                      the PEI Foundation and any modules can leverage the associated \r
+                      service calls and/or code in these early PPIs.\r
 \r
 **/\r
 VOID\r
@@ -79,12 +81,13 @@ _ModuleEntryPoint(
                       the stack location and the BFV location. \r
 \r
   @param PpiList      Points to a list of one or more PPI descriptors to be installed\r
-                      initially by the PEI core.  An empty PPI list consists of a single\r
-                      descriptor with the end-tag EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST.\r
-                      As part of its initialization phase, the PEI Foundation will add these\r
-                      SEC-hosted PPIs to its PPI database such that both the PEI Foundation\r
-                      and any modules can leverage the associated service calls and/or code\r
-                      in these early PPIs.\r
+                      initially by the PEI core.  An empty PPI list consists of \r
+                      a single descriptor with the end-tag \r
+                      EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST.\r
+                      As part of its initialization phase, the PEI Foundation will \r
+                      add these SEC-hosted PPIs to its PPI database, such that both \r
+                      the PEI Foundationand any modules can leverage the associated \r
+                      service calls and/or code in these early PPIs.\r
 \r
 **/\r
 VOID\r
index 42cd8bde35b4d7c9565f5f10e3022bdcc8618e29..e4a05d091b29eeb03e891953df38bab3c345664b 100644 (file)
@@ -2,7 +2,7 @@
   Post code library instace bases on report status code library\r
   PostCode Library for PEIMs and DXE drivers that send PostCode to ReportStatusCode\r
 \r
-  Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2010, 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
index f23e25a2a18afbe432d0d8ceb8225fbaa2668f10..099d7cc24c688d4d9c916667e992631c640a40f7 100644 (file)
@@ -34,7 +34,7 @@ typedef struct {
   Build guid hob for the global memory to store the registered guid and Handler list.\r
   If GuidHob exists, HandlerInfo will be directly got from Guid hob data.\r
 \r
-  @param[in, out]  InfoPointer   The pointer to pei handler info structure.\r
+  @param[in, out]  InfoPointer   The pointer to pei handler information structure.\r
 \r
   @retval  RETURN_SUCCESS            Build Guid hob for the global memory space to store guid and function tables.\r
   @retval  RETURN_OUT_OF_RESOURCES   No enough memory to allocated.\r
@@ -48,7 +48,7 @@ PeiGetExtractGuidedSectionHandlerInfo (
   EFI_PEI_HOB_POINTERS                    Hob;\r
   \r
   //\r
-  // First try to get handler info from guid hob specified by CallerId.\r
+  // First try to get handler information from guid hob specified by CallerId.\r
   //\r
   Hob.Raw = GetNextHob (EFI_HOB_TYPE_GUID_EXTENSION, GetHobList ());\r
   while (Hob.Raw != NULL) {\r
@@ -313,7 +313,7 @@ ExtractGuidedSectionGetInfo (
   for (Index = 0; Index < HandlerInfo->NumberOfExtractHandler; Index ++) {\r
     if (CompareGuid (HandlerInfo->ExtractHandlerGuidTable + Index, &(((EFI_GUID_DEFINED_SECTION *) InputSection)->SectionDefinitionGuid))) {\r
       //\r
-      // Call the match handler to get info for the input section data.\r
+      // Call the match handler to get information for the input section data.\r
       //\r
       return HandlerInfo->ExtractGetInfoHandlerTable [Index] (\r
                 InputSection,\r
index 6e3de1f598b6b281b96894fa2411329febaf6c25..8e1eddcce6fcfcddf628dccf8f4006c7d2033437 100644 (file)
@@ -1,11 +1,11 @@
 /** @file\r
   Provide Hob Library functions for Pei phase.\r
 \r
-Copyright (c) 2007 - 2009, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2007 - 2010, 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
-http://opensource.org/licenses/bsd-license.php\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
@@ -127,7 +127,7 @@ GetFirstHob (
   its HOB type is EFI_HOB_TYPE_GUID_EXTENSION and its GUID Name equals to the input Guid. \r
   If there does not exist such HOB from the starting HOB pointer, it will return NULL. \r
   Caller is required to apply GET_GUID_HOB_DATA () and GET_GUID_HOB_DATA_SIZE ()\r
-  to extract the data section and its size info respectively.\r
+  to extract the data section and its size information, respectively.\r
   In contrast with macro GET_NEXT_HOB(), this function does not skip the starting HOB pointer\r
   unconditionally: it returns HobStart back if HobStart itself meets the requirement;\r
   caller is required to use GET_NEXT_HOB() if it wishes to skip current HobStart.\r
@@ -168,7 +168,7 @@ GetNextGuidHob (
   its HOB type is EFI_HOB_TYPE_GUID_EXTENSION and its GUID Name equals to the input Guid.\r
   If there does not exist such HOB from the starting HOB pointer, it will return NULL.\r
   Caller is required to apply GET_GUID_HOB_DATA () and GET_GUID_HOB_DATA_SIZE ()\r
-  to extract the data section and its size info respectively.\r
+  to extract the data section and its size information, respectively.\r
   \r
   If the pointer to the HOB list is NULL, then ASSERT().\r
   If Guid is NULL, then ASSERT().\r
@@ -198,7 +198,7 @@ GetFirstGuidHob (
 \r
   If the pointer to the HOB list is NULL, then ASSERT().\r
   \r
-  @param  VOID\r
+  @param  VOID.\r
 \r
   @return The Boot Mode.\r
 \r
@@ -579,7 +579,7 @@ BuildStackHob (
 \r
   @param  BaseAddress   The 64 bit physical address of the BSP.\r
   @param  Length        The length of the BSP store in bytes.\r
-  @param  MemoryType    Type of memory allocated by this HOB.\r
+  @param  MemoryType    The type of memory allocated by this HOB.\r
 \r
 **/\r
 VOID\r
@@ -619,7 +619,7 @@ BuildBspStoreHob (
 \r
   @param  BaseAddress   The 64 bit physical address of the memory.\r
   @param  Length        The length of the memory allocation in bytes.\r
-  @param  MemoryType    Type of memory allocated by this HOB.\r
+  @param  MemoryType    The type of memory allocated by this HOB.\r
 \r
 **/\r
 VOID\r
index 9a0adaf1426f3110d40b71010d94603511e5e2f9..f5e554f9e8520c901e4d0328034e4c67826d80d7 100644 (file)
@@ -1265,7 +1265,7 @@ MmioAndThenOr8 (
   If EndBit is greater than 7, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to read.\r
+  @param  Address   The MMIO register to read.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..7.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1297,7 +1297,7 @@ MmioBitFieldRead8 (
   If EndBit is greater than 7, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..7.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1338,7 +1338,7 @@ MmioBitFieldWrite8 (
   If EndBit is greater than 7, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..7.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1379,7 +1379,7 @@ MmioBitFieldOr8 (
   If EndBit is greater than 7, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..7.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1421,7 +1421,7 @@ MmioBitFieldAnd8 (
   If EndBit is greater than 7, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..7.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1550,7 +1550,7 @@ MmioAndThenOr16 (
   If EndBit is greater than 15, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to read.\r
+  @param  Address   The MMIO register to read.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..15.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1583,7 +1583,7 @@ MmioBitFieldRead16 (
   If EndBit is greater than 15, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..15.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1625,7 +1625,7 @@ MmioBitFieldWrite16 (
   If EndBit is greater than 15, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..15.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1667,7 +1667,7 @@ MmioBitFieldOr16 (
   If EndBit is greater than 15, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..15.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1710,7 +1710,7 @@ MmioBitFieldAnd16 (
   If EndBit is greater than 15, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..15.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1839,7 +1839,7 @@ MmioAndThenOr32 (
   If EndBit is greater than 31, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to read.\r
+  @param  Address   The MMIO register to read.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..31.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1872,7 +1872,7 @@ MmioBitFieldRead32 (
   If EndBit is greater than 31, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..31.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1914,7 +1914,7 @@ MmioBitFieldWrite32 (
   If EndBit is greater than 31, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..31.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1956,7 +1956,7 @@ MmioBitFieldOr32 (
   If EndBit is greater than 31, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..31.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1999,7 +1999,7 @@ MmioBitFieldAnd32 (
   If EndBit is greater than 31, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..31.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -2128,7 +2128,7 @@ MmioAndThenOr64 (
   If EndBit is greater than 63, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to read.\r
+  @param  Address   The MMIO register to read.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..63.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -2161,7 +2161,7 @@ MmioBitFieldRead64 (
   If EndBit is greater than 63, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..63.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -2288,7 +2288,7 @@ MmioBitFieldAnd64 (
   If EndBit is greater than 63, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..63.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
index d4e3c228852344aea4f5003174fbb6bb3c885e27..531ad7472fc72cb5355057abdd03488115b79c1a 100644 (file)
@@ -2,7 +2,7 @@
   Support routines for memory allocation routines \r
   based on PeiService for PEI phase drivers.\r
 \r
-  Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2010, 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
@@ -163,7 +163,8 @@ FreePages (
 \r
   @param  MemoryType            The type of memory to allocate.\r
   @param  Pages                 The number of 4 KB pages to allocate.\r
-  @param  Alignment             The requested alignment of the allocation.  Must be a power of two.\r
+  @param  Alignment             The requested alignment of the allocation.  \r
+                                Must be a power of two.\r
                                 If Alignment is zero, then byte alignment is used.\r
 \r
   @return A pointer to the allocated buffer or NULL if allocation fails.\r
@@ -214,7 +215,8 @@ InternalAllocateAlignedPages (
   If Alignment is not a power of two and Alignment is not zero, then ASSERT().\r
 \r
   @param  Pages                 The number of 4 KB pages to allocate.\r
-  @param  Alignment             The requested alignment of the allocation.  Must be a power of two.\r
+  @param  Alignment             The requested alignment of the allocation.  \r
+                                Must be a power of two.\r
                                 If Alignment is zero, then byte alignment is used.\r
 \r
   @return A pointer to the allocated buffer or NULL if allocation fails.\r
@@ -241,7 +243,8 @@ AllocateAlignedPages (
   If Alignment is not a power of two and Alignment is not zero, then ASSERT().\r
 \r
   @param  Pages                 The number of 4 KB pages to allocate.\r
-  @param  Alignment             The requested alignment of the allocation.  Must be a power of two.\r
+  @param  Alignment             The requested alignment of the allocation.  \r
+                                Must be a power of two.\r
                                 If Alignment is zero, then byte alignment is used.\r
 \r
   @return A pointer to the allocated buffer or NULL if allocation fails.\r
@@ -268,7 +271,8 @@ AllocateAlignedRuntimePages (
   If Alignment is not a power of two and Alignment is not zero, then ASSERT().\r
 \r
   @param  Pages                 The number of 4 KB pages to allocate.\r
-  @param  Alignment             The requested alignment of the allocation.  Must be a power of two.\r
+  @param  Alignment             The requested alignment of the allocation.  \r
+                                Must be a power of two.\r
                                 If Alignment is zero, then byte alignment is used.\r
 \r
   @return A pointer to the allocated buffer or NULL if allocation fails.\r
@@ -654,8 +658,8 @@ AllocateReservedCopyPool (
   @param  PoolType       The type of pool to allocate.\r
   @param  OldSize        The size, in bytes, of OldBuffer.\r
   @param  NewSize        The size, in bytes, of the buffer to reallocate.\r
-  @param  OldBuffer      The buffer to copy to the allocated buffer.  This is an optional \r
-                         parameter that may be NULL.\r
+  @param  OldBuffer      The buffer to copy to the allocated buffer.  This is an \r
+                         optional parameter that may be NULL.\r
 \r
   @return A pointer to the allocated buffer or NULL if allocation fails.\r
 \r
@@ -757,8 +761,8 @@ ReallocateRuntimePool (
 \r
   @param  OldSize        The size, in bytes, of OldBuffer.\r
   @param  NewSize        The size, in bytes, of the buffer to reallocate.\r
-  @param  OldBuffer      The buffer to copy to the allocated buffer.  This is an optional \r
-                         parameter that may be NULL.\r
+  @param  OldBuffer      The buffer to copy to the allocated buffer.  This is an \r
+                         optional parameter that may be NULL.\r
 \r
   @return A pointer to the allocated buffer or NULL if allocation fails.\r
 \r
index 3e74647aa3eed8a1f249b0b66fddf695fae7176f..f525c17bae9e9ce961190613dfe521d0733d73c6 100644 (file)
@@ -11,7 +11,7 @@
     PeiMemoryLib\r
     UefiMemoryLib\r
 \r
-Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2010, 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
index 21ea2d4ef47859ae0f6f7fdd108f10df9a66ba38..9b76f0f1e1e742b7cdb44cf8463ea7259a079b3f 100644 (file)
@@ -12,7 +12,7 @@
     PeiMemoryLib\r
     UefiMemoryLib\r
 \r
-  Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2010, 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
index fc86964b183ffdbad33a747d9c4c8bd82ba66bf0..4f1f01749c60dc51a9aef8d1224318a8fc3f0e04 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Base Memory Library functions implementation bases on PeiServcie.\r
 \r
-  Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2010, 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
@@ -48,7 +48,7 @@ InternalMemCopyMem (
   This function wraps the gPS->SetMem ().\r
   \r
   @param  Buffer    Memory to set.\r
-  @param  Size    The number of bytes to set.\r
+  @param  Size      The number of bytes to set.\r
   @param  Value     Value of the set operation.\r
 \r
   @return Buffer.\r
index f68272f2ae2801b4289a6e704020de4e8c44bdae..db56b503d55767f70d7861c2f7dfd2bcabf7b7b0 100644 (file)
@@ -6,7 +6,7 @@
     PeiMemoryLib\r
     UefiMemoryLib\r
 \r
-  Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2010, 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
@@ -26,7 +26,7 @@
   @param  Length  The count of 16-bit value to fill.\r
   @param  Value   The value with which to fill Length bytes of Buffer.\r
 \r
-  @return Buffer\r
+  @return Buffer.\r
 \r
 **/\r
 VOID *\r
@@ -50,7 +50,7 @@ InternalMemSetMem16 (
   @param  Length  The count of 32-bit value to fill.\r
   @param  Value   The value with which to fill Length bytes of Buffer.\r
 \r
-  @return Buffer\r
+  @return Buffer.\r
 \r
 **/\r
 VOID *\r
@@ -74,7 +74,7 @@ InternalMemSetMem32 (
   @param  Length  The count of 64-bit value to fill.\r
   @param  Value   The value with which to fill Length bytes of Buffer.\r
 \r
-  @return Buffer\r
+  @return Buffer.\r
 \r
 **/\r
 VOID *\r
@@ -94,10 +94,10 @@ InternalMemSetMem64 (
 /**\r
   Set Buffer to 0 for Size bytes.\r
 \r
-  @param  Buffer Memory to set.\r
+  @param  Buffer The memory to set.\r
   @param  Length The number of bytes to set\r
 \r
-  @return Buffer\r
+  @return Buffer.\r
 \r
 **/\r
 VOID *\r
@@ -113,9 +113,9 @@ InternalMemZeroMem (
 /**\r
   Compares two memory buffers of a given length.\r
 \r
-  @param  DestinationBuffer First memory buffer\r
-  @param  SourceBuffer      Second memory buffer\r
-  @param  Length            Length of DestinationBuffer and SourceBuffer memory\r
+  @param  DestinationBuffer The first memory buffer\r
+  @param  SourceBuffer      The second memory buffer\r
+  @param  Length            The length of DestinationBuffer and SourceBuffer memory\r
                             regions to compare. Must be non-zero.\r
 \r
   @return 0                 All Length bytes of the two buffers are identical.\r
@@ -147,7 +147,7 @@ InternalMemCompareMem (
   @param  Length  The count of 8-bit value to scan. Must be non-zero.\r
   @param  Value   The value to search for in the target buffer.\r
 \r
-  @return The pointer to the first occurrence or NULL if not found.\r
+  @return The pointer to the first occurrence, or NULL if not found.\r
 \r
 **/\r
 CONST VOID *\r
@@ -177,7 +177,7 @@ InternalMemScanMem8 (
   @param  Length  The count of 16-bit value to scan. Must be non-zero.\r
   @param  Value   The value to search for in the target buffer.\r
 \r
-  @return The pointer to the first occurrence or NULL if not found.\r
+  @return The pointer to the first occurrence, or NULL if not found.\r
 \r
 **/\r
 CONST VOID *\r
@@ -207,7 +207,7 @@ InternalMemScanMem16 (
   @param  Length  The count of 32-bit value to scan. Must be non-zero.\r
   @param  Value   The value to search for in the target buffer.\r
 \r
-  @return The pointer to the first occurrence or NULL if not found.\r
+  @return The pointer to the first occurrence, or NULL if not found.\r
 \r
 **/\r
 CONST VOID *\r
@@ -237,7 +237,7 @@ InternalMemScanMem32 (
   @param  Length  The count of 64-bit value to scan. Must be non-zero.\r
   @param  Value   The value to search for in the target buffer.\r
 \r
-  @return The pointer to the first occurrence or NULL if not found.\r
+  @return The pointer to the first occurrence, or NULL if not found.\r
 \r
 **/\r
 CONST VOID *\r
index 6f6edd0d8ff2738a5b728202ca0493106a9c1ff9..c04af6e112dd6c82c535ae50e8a207b210059ee3 100644 (file)
@@ -12,7 +12,7 @@
     PeiMemoryLib\r
     UefiMemoryLib\r
 \r
-  Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2010, 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
index 131d17d26e814965de4b86dcc31a1e08488139ab..8a1e1dff904b6e1efb7b16cea73fd2c0153b8fe2 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Declaration of internal functions for Base Memory Library.\r
 \r
-  Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2010, 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
@@ -47,7 +47,7 @@ InternalMemCopyMem (
 \r
   This function wraps the (*PeiServices)->SetMem ().\r
   \r
-  @param  Buffer    Memory to set.\r
+  @param  Buffer    The memory to set.\r
   @param  Size      The number of bytes to set.\r
   @param  Value     Value of the set operation.\r
 \r
@@ -119,7 +119,7 @@ InternalMemSetMem64 (
 /**\r
   Set Buffer to 0 for Size bytes.\r
 \r
-  @param  Buffer Memory to set.\r
+  @param  Buffer The memory to set.\r
   @param  Length The number of bytes to set\r
 \r
   @return Buffer\r
@@ -135,9 +135,9 @@ InternalMemZeroMem (
 /**\r
   Compares two memory buffers of a given length.\r
 \r
-  @param  DestinationBuffer First memory buffer\r
-  @param  SourceBuffer      Second memory buffer\r
-  @param  Length            Length of DestinationBuffer and SourceBuffer memory\r
+  @param  DestinationBuffer The first memory buffer\r
+  @param  SourceBuffer      The second memory buffer\r
+  @param  Length            The length of DestinationBuffer and SourceBuffer memory\r
                             regions to compare. Must be non-zero.\r
 \r
   @return 0                 All Length bytes of the two buffers are identical.\r
@@ -161,7 +161,7 @@ InternalMemCompareMem (
   @param  Length  The count of 8-bit value to scan. Must be non-zero.\r
   @param  Value   The value to search for in the target buffer.\r
 \r
-  @return The pointer to the first occurrence or NULL if not found.\r
+  @return The pointer to the first occurrence, or NULL if not found.\r
 \r
 **/\r
 CONST VOID *\r
@@ -180,7 +180,7 @@ InternalMemScanMem8 (
   @param  Length  The count of 16-bit value to scan. Must be non-zero.\r
   @param  Value   The value to search for in the target buffer.\r
 \r
-  @return The pointer to the first occurrence or NULL if not found.\r
+  @return The pointer to the first occurrence, or NULL if not found.\r
 \r
 **/\r
 CONST VOID *\r
@@ -199,7 +199,7 @@ InternalMemScanMem16 (
   @param  Length  The count of 32-bit value to scan. Must be non-zero.\r
   @param  Value   The value to search for in the target buffer.\r
 \r
-  @return The pointer to the first occurrence or NULL if not found.\r
+  @return The pointer to the first occurrence, or NULL if not found.\r
 \r
 **/\r
 CONST VOID *\r
@@ -218,7 +218,7 @@ InternalMemScanMem32 (
   @param  Length  The count of 64-bit value to scan. Must be non-zero.\r
   @param  Value   The value to search for in the target buffer.\r
 \r
-  @return The pointer to the first occurrence or NULL if not found.\r
+  @return The pointer to the first occurrence, or NULL if not found.\r
 \r
 **/\r
 CONST VOID *\r
index 7fee8ae6d89d91299198cf0a0323e37c6dc9a1e7..efbbe20a7089b102963adf9b08932a76787d40a3 100644 (file)
@@ -12,7 +12,7 @@
     PeiMemoryLib\r
     UefiMemoryLib\r
 \r
-  Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2010, 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
index 6efa407d3dfb079b94e61622fd088fbe6989a169..8a3392718f46845728c28cd228b6e138cd1825c5 100644 (file)
@@ -12,7 +12,7 @@
     PeiMemoryLib\r
     UefiMemoryLib\r
 \r
-  Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2010, 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
@@ -32,7 +32,7 @@
   \r
   If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().\r
 \r
-  @param  Buffer    Memory to set.\r
+  @param  Buffer    The memory to set.\r
   @param  Length    The number of bytes to set.\r
   @param  Value     The value with which to fill Length bytes of Buffer.\r
 \r
index 817764c4ca5b0b3dbb32213aef79473260f2dc01..4d91799025a46ccc346dacfc1068b6a49e3799d0 100644 (file)
@@ -78,8 +78,8 @@ GetPiPcdPpiPointer (
   Sets the current SKU in the PCD database to the value specified by SkuId.  SkuId is returned.\r
   If SkuId >= PCD_MAX_SKU_ID, then ASSERT(). \r
 \r
-  @param  SkuId   The SKU value that will be used when the PCD service retrieves and sets values\r
-                  associated with a PCD token.\r
+  @param  SkuId   The SKU value that will be used when the PCD service retrieves \r
+                  and sets values associated with a PCD token.\r
 \r
   @return  Return the SKU ID that just be set.\r
 \r
@@ -446,7 +446,7 @@ LibPcdGetExSize (
   @param[in]  TokenNumber   The PCD token number to set a current value for.\r
   @param[in]  Value         The 8-bit value to set.\r
 \r
-  @return Return the value been set.\r
+  @return Return the value that was set.\r
 \r
 **/\r
 UINT8\r
@@ -476,7 +476,7 @@ LibPcdSet8 (
   @param[in]  TokenNumber   The PCD token number to set a current value for.\r
   @param[in]  Value         The 16-bit value to set.\r
 \r
-  @return Return the value been set.\r
+  @return Return the value that was set.\r
 \r
 **/\r
 UINT16\r
@@ -506,7 +506,7 @@ LibPcdSet16 (
   @param[in]  TokenNumber   The PCD token number to set a current value for.\r
   @param[in]  Value         The 32-bit value to set.\r
 \r
-  @return Return the value been set.\r
+  @return Return the value that was set.\r
 \r
 **/\r
 UINT32\r
@@ -536,7 +536,7 @@ LibPcdSet32 (
   @param[in]  TokenNumber   The PCD token number to set a current value for.\r
   @param[in]  Value         The 64-bit value to set.\r
 \r
-  @return Return the value been set.\r
+  @return Return the value that was set.\r
 \r
 **/\r
 UINT64\r
@@ -615,7 +615,7 @@ LibPcdSetPtr (
   @param[in]  TokenNumber   The PCD token number to set a current value for.\r
   @param[in]  Value         The boolean value to set.\r
 \r
-  @return Return the value been set.\r
+  @return Return the value that was set.\r
 \r
 **/\r
 BOOLEAN\r
@@ -649,7 +649,7 @@ LibPcdSetBool (
   @param[in]  TokenNumber   The PCD token number to set a current value for.\r
   @param[in]  Value         The 8-bit value to set.\r
 \r
-  @return Return the value been set.\r
+  @return Return the value that was set.\r
 \r
 **/\r
 UINT8\r
@@ -686,7 +686,7 @@ LibPcdSetEx8 (
   @param[in]  TokenNumber   The PCD token number to set a current value for.\r
   @param[in]  Value         The 16-bit value to set.\r
 \r
-  @return Return the value been set.\r
+  @return Return the value that was set.\r
 \r
 **/\r
 UINT16\r
@@ -721,7 +721,7 @@ LibPcdSetEx16 (
   @param[in]  TokenNumber   The PCD token number to set a current value for.\r
   @param[in]  Value         The 32-bit value to set.\r
 \r
-  @return Return the value been set.\r
+  @return Return the value that was set.\r
 \r
 **/\r
 UINT32\r
@@ -757,7 +757,7 @@ LibPcdSetEx32 (
   @param[in]  TokenNumber   The PCD token number to set a current value for.\r
   @param[in]  Value         The 64-bit value to set.\r
 \r
-  @return Return the value been set.\r
+  @return Return the value that was set.\r
 \r
 **/\r
 UINT64\r
@@ -842,7 +842,7 @@ LibPcdSetExPtr (
   @param[in]  TokenNumber   The PCD token number to set a current value for.\r
   @param[in]  Value         The Boolean value to set.\r
 \r
-  @return Return the value been set.\r
+  @return Return the value that was set.\r
 \r
 **/\r
 BOOLEAN\r
@@ -873,9 +873,9 @@ LibPcdSetExBool (
   If Guid is NULL, then the default token space is used.\r
   If NotificationFunction is NULL, then ASSERT().\r
 \r
-  @param[in]  Guid                  The pointer to a 128-bit unique value that designates which \r
-                                    namespace to set a value from.  If NULL, then the default \r
-                                    token space is used.\r
+  @param[in]  Guid                  The pointer to a 128-bit unique value that \r
+                                    designates which namespace to set a value from.  \r
+                                    If NULL, then the default token space is used.\r
   @param[in]  TokenNumber           The PCD token number to monitor.\r
   @param[in]  NotificationFunction  The function to call when the token \r
                                     specified by Guid and TokenNumber is set.\r
index 98ac2059332a27ea405d9041d858cdccfb8afea8..0eef525261807c74d9d627854a07ae3cbb1f83a5 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   PCI Library using PCI CFG2 PPI.\r
 \r
-  Copyright (c) 2007 - 2009, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials are\r
   licensed and made available under the terms and conditions of\r
   the BSD License which accompanies this distribution.  The full\r
@@ -53,7 +53,7 @@
 \r
   @param  Address The address that encodes the PCI Bus, Device, Function and\r
                   Register.\r
-  @param  Width   Width of data to read\r
+  @param  Width   The width of data to read\r
 \r
   @return The value read from the PCI configuration register.\r
 \r
@@ -95,7 +95,7 @@ PeiPciLibPciCfg2ReadWorker (
 \r
   @param  Address The address that encodes the PCI Bus, Device, Function and\r
                   Register.\r
-  @param  Width   Width of data to write\r
+  @param  Width   The width of data to write\r
   @param  Data    The value to write.\r
 \r
   @return The value written to the PCI configuration register.\r
index 0d960c5b936799984792da4febc9d5fc39fb2591..8330243b1ec37ed871b6e451735bc025b35955a8 100644 (file)
@@ -49,7 +49,8 @@
 \r
   This internal function retrieves PCI CFG2 PPI from PPI database.\r
 \r
-  @param  Address       The address that encodes the PCI Segment, Bus, Device, Function and Register.\r
+  @param  Address       The address that encodes the PCI Segment, Bus, Device, \r
+                        Function and Register.\r
 \r
   @return The pointer to PCI CFG2 PPI.\r
 \r
@@ -94,7 +95,7 @@ InternalGetPciCfg2Ppi (
 \r
   @param  Address The address that encodes the PCI Bus, Device, Function and\r
                   Register.\r
-  @param  Width   Width of data to read\r
+  @param  Width   The width of data to read\r
 \r
   @return The value read from the PCI configuration register.\r
 \r
@@ -132,7 +133,7 @@ PeiPciSegmentLibPciCfg2ReadWorker (
 \r
   @param  Address The address that encodes the PCI Bus, Device, Function and\r
                   Register.\r
-  @param  Width   Width of data to write\r
+  @param  Width   The width of data to write\r
   @param  Data    The value to write.\r
 \r
   @return The value written to the PCI configuration register.\r
@@ -197,7 +198,8 @@ PciSegmentRegisterForRuntimeAccess (
   \r
   If any reserved bits in Address are set, then ASSERT().\r
   \r
-  @param  Address   The address that encodes the PCI Segment, Bus, Device, Function, and Register.\r
+  @param  Address   The address that encodes the PCI Segment, Bus, Device, Function, \r
+                    and Register.\r
 \r
   @return The 8-bit PCI configuration register specified by Address.\r
 \r
@@ -646,7 +648,7 @@ PciSegmentAnd16 (
   If Address is not aligned on a 16-bit boundary, then ASSERT().\r
 \r
   @param  Address   The address that encodes the PCI Segment, Bus, Device, Function, and Register.\r
-  @param  AndData    The value to AND with the PCI configuration register.\r
+  @param  AndData   The value to AND with the PCI configuration register.\r
   @param  OrData    The value to OR with the PCI configuration register.\r
 \r
   @return The value written to the PCI configuration register.\r
@@ -867,7 +869,8 @@ PciSegmentBitFieldAndThenOr16 (
   If any reserved bits in Address are set, then ASSERT().\r
   If Address is not aligned on a 32-bit boundary, then ASSERT().\r
 \r
-  @param  Address   The address that encodes the PCI Segment, Bus, Device, Function, and Register.\r
+  @param  Address   The address that encodes the PCI Segment, Bus, Device, Function, \r
+                    and Register.\r
 \r
   @return The 32-bit PCI configuration register specified by Address.\r
 \r
@@ -892,7 +895,8 @@ PciSegmentRead32 (
   If any reserved bits in Address are set, then ASSERT().\r
   If Address is not aligned on a 32-bit boundary, then ASSERT().\r
 \r
-  @param  Address     The address that encodes the PCI Segment, Bus, Device, Function, and Register.\r
+  @param  Address     The address that encodes the PCI Segment, Bus, Device, \r
+                      Function, and Register.\r
   @param  Value       The value to write.\r
 \r
   @return The parameter of Value.\r
@@ -950,7 +954,8 @@ PciSegmentOr32 (
   If any reserved bits in Address are set, then ASSERT().\r
   If Address is not aligned on a 32-bit boundary, then ASSERT().\r
 \r
-  @param  Address   The address that encodes the PCI Segment, Bus, Device, Function, and Register.\r
+  @param  Address   The address that encodes the PCI Segment, Bus, Device, Function, \r
+                    and Register.\r
   @param  AndData   The value to AND with the PCI configuration register.\r
 \r
   @return The value written to the PCI configuration register.\r
@@ -980,7 +985,8 @@ PciSegmentAnd32 (
   If any reserved bits in Address are set, then ASSERT().\r
   If Address is not aligned on a 32-bit boundary, then ASSERT().\r
 \r
-  @param  Address   The address that encodes the PCI Segment, Bus, Device, Function, and Register.\r
+  @param  Address   The address that encodes the PCI Segment, Bus, Device, Function,\r
+                    and Register.\r
   @param  AndData   The value to AND with the PCI configuration register.\r
   @param  OrData    The value to OR with the PCI configuration register.\r
 \r
@@ -1213,8 +1219,8 @@ PciSegmentBitFieldAndThenOr32 (
   If ((StartAddress & 0xFFF) + Size) > 0x1000, then ASSERT().\r
   If Size > 0 and Buffer is NULL, then ASSERT().\r
 \r
-  @param  StartAddress  The starting address that encodes the PCI Segment, Bus, Device,\r
-                        Function and Register.\r
+  @param  StartAddress  The starting address that encodes the PCI Segment, Bus, \r
+                        Device, Function and Register.\r
   @param  Size          The size in bytes of the transfer.\r
   @param  Buffer        The pointer to a buffer receiving the data read.\r
 \r
@@ -1312,8 +1318,8 @@ PciSegmentReadBuffer (
   If ((StartAddress & 0xFFF) + Size) > 0x1000, then ASSERT().\r
   If Size > 0 and Buffer is NULL, then ASSERT().\r
 \r
-  @param  StartAddress  The starting address that encodes the PCI Segment, Bus, Device,\r
-                        Function and Register.\r
+  @param  StartAddress  The starting address that encodes the PCI Segment, Bus, \r
+                        Device, Function and Register.\r
   @param  Size          The size in bytes of the transfer.\r
   @param  Buffer        The pointer to a buffer containing the data to write.\r
 \r
index b47bc3ca4bb18cd6f17304b041af8c685db29ddf..835325cc38d727bfe9cf908edc717e0b538e811e 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Implementation for PEI Services Library.\r
 \r
-  Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2010, 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
@@ -117,13 +117,14 @@ PeiServicesLocatePpi (
   This service enables PEIMs to register a given service to be invoked when another service is\r
   installed or reinstalled.\r
 \r
-  @param  NotifyList            A pointer to the list of notification interfaces that the caller\r
-                                shall install.\r
+  @param  NotifyList            A pointer to the list of notification interfaces \r
+                                that the caller shall install.\r
 \r
   @retval EFI_SUCCESS           The interface was successfully installed.\r
   @retval EFI_INVALID_PARAMETER The NotifyList pointer is NULL.\r
-  @retval EFI_INVALID_PARAMETER Any of the PEI notify descriptors in the list do not have the\r
-                                EFI_PEI_PPI_DESCRIPTOR_NOTIFY_TYPES bit set in the Flags field.\r
+  @retval EFI_INVALID_PARAMETER Any of the PEI notify descriptors in the list do\r
+                                 not have the EFI_PEI_PPI_DESCRIPTOR_NOTIFY_TYPES\r
+                                 bit set in the Flags field.\r
   @retval EFI_OUT_OF_RESOURCES  There is no additional space in the PPI database.\r
 \r
 **/\r
@@ -183,8 +184,9 @@ PeiServicesSetBootMode (
 /**\r
   This service enables a PEIM to ascertain the address of the list of HOBs in memory.\r
 \r
-  @param  HobList               A pointer to the list of HOBs that the PEI Foundation will initialize.\r
-\r
+  @param  HobList               A pointer to the list of HOBs that the PEI Foundation \r
+                                will initialize.\r
+  \r
   @retval EFI_SUCCESS           The list was successfully returned.\r
   @retval EFI_NOT_AVAILABLE_YET The HOB list is not yet published.\r
 \r
@@ -206,7 +208,8 @@ PeiServicesGetHobList (
 \r
   @param  Type                  The type of HOB to be installed.\r
   @param  Length                The length of the HOB to be added.\r
-  @param  Hob                   The address of a pointer that will contain the HOB header.\r
+  @param  Hob                   The address of a pointer that will contain the \r
+                                HOB header.\r
 \r
   @retval EFI_SUCCESS           The HOB was successfully created.\r
   @retval EFI_OUT_OF_RESOURCES  There is no additional space for HOB creation.\r
@@ -229,9 +232,10 @@ PeiServicesCreateHob (
 /**\r
   This service enables PEIMs to discover additional firmware volumes.\r
 \r
-  @param  Instance              This instance of the firmware volume to find.  The value 0 is the\r
-                                Boot Firmware Volume (BFV).\r
-  @param  VolumeHandle          Handle of the firmware volume header of the volume to return.\r
+  @param  Instance              This instance of the firmware volume to find.  The \r
+                                value 0 is the Boot Firmware Volume (BFV).\r
+  @param  VolumeHandle          Handle of the firmware volume header of the volume\r
+                                to return.\r
 \r
   @retval EFI_SUCCESS           The volume was found.\r
   @retval EFI_NOT_FOUND         The volume was not found.\r
@@ -255,8 +259,9 @@ PeiServicesFfsFindNextVolume (
   This service enables PEIMs to discover additional firmware files.\r
 \r
   @param  SearchType            A filter to find files only of this type.\r
-  @param  VolumeHandle          The pointer to the firmware volume header of the volume to search.\r
-                                This parameter must point to a valid FFS volume.\r
+  @param  VolumeHandle          The pointer to the firmware volume header of the \r
+                                volume to search. This parameter must point to a \r
+                                valid FFS volume. \r
   @param  FileHandle            Handle of the current file from which to begin searching.\r
 \r
   @retval EFI_SUCCESS           The file was found.\r
@@ -282,8 +287,8 @@ PeiServicesFfsFindNextFile (
   This service enables PEIMs to discover sections of a given type within a valid FFS file.\r
 \r
   @param  SectionType           The value of the section type to find.\r
-  @param  FileHandle            A pointer to the file header that contains the set of sections to\r
-                                be searched.\r
+  @param  FileHandle            A pointer to the file header that contains the set \r
+                                of sections to be searched.\r
   @param  SectionData           A pointer to the discovered section, if successful.\r
 \r
   @retval EFI_SUCCESS           The section was found.\r
@@ -330,8 +335,8 @@ PeiServicesInstallPeiMemory (
 }\r
 \r
 /**\r
-  This service enables PEIMs to allocate memory after the permanent memory has been installed by a\r
-  PEIM.\r
+  This service enables PEIMs to allocate memory after the permanent memory has been\r
+   installed by a PEIM.\r
 \r
   @param  MemoryType            Type of memory to allocate.\r
   @param  Pages                 The number of pages to allocate.\r
@@ -361,8 +366,8 @@ PeiServicesAllocatePages (
   This service allocates memory from the Hand-Off Block (HOB) heap.\r
 \r
   @param  Size                  The number of bytes to allocate from the pool.\r
-  @param  Buffer                If the call succeeds, a pointer to a pointer to the allocate\r
-                                buffer; undefined otherwise.\r
+  @param  Buffer                If the call succeeds, a pointer to a pointer to \r
+                                the allocate buffer; otherwise, undefined.\r
 \r
   @retval EFI_SUCCESS           The allocation was successful\r
   @retval EFI_OUT_OF_RESOURCES  There is not enough heap to allocate the requested size.\r
@@ -401,21 +406,21 @@ PeiServicesResetSystem (
 }\r
 \r
 /**\r
-  This service is a wrapper for the PEI Service RegisterForShadow(), except the pointer to the PEI Services \r
-  Table has been removed.  See the Platform Initialization Pre-EFI Initialization Core Interface \r
-  Specification for details. \r
+  This service is a wrapper for the PEI Service RegisterForShadow(), except the \r
+  pointer to the PEI Services Table has been removed.  See the Platform \r
+  Initialization Pre-EFI Initialization Core Interface Specification for details. \r
 \r
-  @param FileHandle   PEIM's file handle. Must be the currently\r
-                      executing PEIM.\r
+  @param FileHandle             PEIM's file handle. Must be the currently\r
+                                executing PEIM.\r
   \r
-  @retval EFI_SUCCESS   The PEIM was successfully registered for\r
-                        shadowing.\r
+  @retval EFI_SUCCESS           The PEIM was successfully registered for\r
+                                shadowing.\r
 \r
   @retval EFI_ALREADY_STARTED   The PEIM was previously\r
                                 registered for shadowing.\r
 \r
-  @retval EFI_NOT_FOUND   The FileHandle does not refer to a\r
-                          valid file handle.\r
+  @retval EFI_NOT_FOUND         The FileHandle does not refer to a\r
+                                valid file handle.\r
 **/\r
 EFI_STATUS\r
 EFIAPI\r
@@ -431,17 +436,17 @@ PeiServicesRegisterForShadow (
   Table has been removed.  See the Platform Initialization Pre-EFI Initialization Core Interface \r
   Specification for details. \r
 \r
-  @param FileHandle   Handle of the file.\r
+  @param FileHandle              The handle of the file.\r
 \r
-  @param FileInfo     Upon exit, points to the file's\r
-                      information.\r
+  @param FileInfo                 Upon exit, points to the file's\r
+                                  information.\r
 \r
   @retval EFI_SUCCESS             File information returned.\r
   \r
   @retval EFI_INVALID_PARAMETER   If FileHandle does not\r
                                   represent a valid file.\r
   \r
-  @retval EFI_INVALID_PARAMETER   If FileInfo is NULL.\r
+  @retval EFI_INVALID_PARAMETER   FileInfo is NULL.\r
   \r
 **/\r
 EFI_STATUS\r
@@ -460,13 +465,13 @@ PeiServicesFfsGetFileInfo (
   Table has been removed.  See the Platform Initialization Pre-EFI Initialization Core Interface \r
   Specification for details. \r
 \r
-  @param FileName       A pointer to the name of the file to\r
-                        find within the firmware volume.\r
+  @param FileName                 A pointer to the name of the file to\r
+                                  find within the firmware volume.\r
 \r
-  @param VolumeHandle   The firmware volume to search FileHandle\r
-                        Upon exit, points to the found file's\r
-                        handle or NULL if it could not be found.\r
-  @param FileHandle     The pointer to found file handle \r
+  @param VolumeHandle             The firmware volume to search FileHandle\r
+                                  Upon exit, points to the found file's\r
+                                  handle or NULL if it could not be found.\r
+  @param FileHandle               The pointer to found file handle \r
 \r
   @retval EFI_SUCCESS             File was found.\r
 \r
@@ -493,10 +498,10 @@ PeiServicesFfsFindFileByName (
   Table has been removed.  See the Platform Initialization Pre-EFI Initialization Core Interface \r
   Specification for details. \r
 \r
-  @param VolumeHandle   Handle of the volume.\r
+  @param VolumeHandle             Handle of the volume.\r
 \r
-  @param VolumeInfo     Upon exit, points to the volume's\r
-                        information.\r
+  @param VolumeInfo               Upon exit, points to the volume's\r
+                                  information.\r
 \r
   @retval EFI_SUCCESS             File information returned.\r
   \r
@@ -525,20 +530,26 @@ PeiServicesFfsGetVolumeInfo (
   If the EFI_PEI_FIRMWARE_VOLUME_INFO_PPI can not be installed, then ASSERT().\r
 \r
   \r
-  @param  FvFormat             Unique identifier of the format of the memory-mapped firmware volume.\r
-                               This parameter is optional and may be NULL.  \r
-                               If NULL is specified, the EFI_FIRMWARE_FILE_SYSTEM2_GUID format is assumed.\r
-  @param  FvInfo               Points to a buffer which allows the EFI_PEI_FIRMWARE_VOLUME_PPI to process the volume. \r
-                               The format of this buffer is specific to the FvFormat. For memory-mapped firmware volumes, \r
-                               this typically points to the first byte of the firmware volume.\r
-  @param  FvInfoSize           The size, in bytes, of FvInfo. For memory-mapped firmware volumes, \r
-                               this is typically the size of the firmware volume.\r
-  @param  ParentFvName         If the new firmware volume originated from a file in a different firmware volume, \r
-                               then this parameter specifies the GUID name of the originating firmware volume.\r
-                               Otherwise, this parameter must be NULL.\r
-  @param  ParentFileName       If the new firmware volume originated from a file in a different firmware volume, \r
-                               then this parameter specifies the GUID file name of the originating firmware file.\r
-                               Otherwise, this parameter must be NULL.\r
+  @param  FvFormat             Unique identifier of the format of the memory-mapped \r
+                               firmware volume.  This parameter is optional and \r
+                               may be NULL.  If NULL is specified, the \r
+                               EFI_FIRMWARE_FILE_SYSTEM2_GUID format is assumed.\r
+  @param  FvInfo               Points to a buffer which allows the \r
+                               EFI_PEI_FIRMWARE_VOLUME_PPI to process the volume. \r
+                               The format of this buffer is specific to the FvFormat. \r
+                               For memory-mapped firmware volumes, this typically \r
+                               points to the first byte of the firmware volume.\r
+  @param  FvInfoSize           The size, in bytes, of FvInfo. For memory-mapped \r
+                               firmware volumes, this is typically the size of \r
+                               the firmware volume.\r
+  @param  ParentFvName         If the new firmware volume originated from a file \r
+                               in a different firmware volume, then this parameter \r
+                               specifies the GUID name of the originating firmware\r
+                               volume. Otherwise, this parameter must be NULL.\r
+  @param  ParentFileName       If the new firmware volume originated from a file \r
+                               in a different firmware volume, then this parameter \r
+                               specifies the GUID file name of the originating \r
+                               firmware file. Otherwise, this parameter must be NULL.\r
 **/\r
 VOID\r
 EFIAPI\r
index 7ed0c29bfab1f95f98a21865ff4f89f2ac2dce37..9b02316af4545eb572b0361568749a1c8a544a9e 100644 (file)
@@ -4,7 +4,7 @@
   This library is used for PEIM which does executed from flash device directly but\r
   executed in memory.\r
 \r
-  Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2010, 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
@@ -71,10 +71,10 @@ GetPeiServicesTablePointer (
   The constructor function caches the pointer to PEI services.\r
   It will always return EFI_SUCCESS.\r
 \r
-  @param  FileHandle   Handle of FFS header the loaded driver.\r
-  @param  PeiServices The pointer to the PEI services.\r
+  @param  FileHandle   The handle of FFS header the loaded driver.\r
+  @param  PeiServices  The pointer to the PEI services.\r
 \r
-  @retval EFI_SUCCESS   The constructor always returns EFI_SUCCESS.\r
+  @retval EFI_SUCCESS  The constructor always returns EFI_SUCCESS.\r
 \r
 **/\r
 EFI_STATUS\r
index 158b1a0f1503a05a8b064dd8b34e157455463dca..00f8078f7628462581c4181e8baca742c8e59832 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
 Internal header file for Smbus library.\r
 \r
-Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2010, 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
@@ -52,14 +52,16 @@ InternalGetSmbusPpi (
   as defined in the SmBus Specification. The data can either be of\r
   the Length byte, word, or a block of data.\r
 \r
-  @param  SmbusOperation  Signifies which particular SMBus hardware protocol instance that it will use to\r
-                          execute the SMBus transactions.\r
+  @param  SmbusOperation  Signifies which particular SMBus hardware protocol \r
+                          instance that it will use to execute the SMBus transactions.\r
   @param  SmBusAddress    The address that encodes the SMBUS Slave Address,\r
                           SMBUS Command, SMBUS Data Length, and PEC.\r
-  @param  Length          Signifies the number of bytes that this operation will do. The maximum number of\r
-                          bytes can be revision specific and operation specific.\r
-  @param  Buffer          Contains the value of data to execute to the SMBus slave device. Not all operations\r
-                          require this argument. The length of this buffer is identified by Length.\r
+  @param  Length          Signifies the number of bytes that this operation will \r
+                          do. The maximum number of bytes can be revision specific \r
+                          and operation specific.\r
+  @param  Buffer          Contains the value of data to execute to the SMBus slave \r
+                          device. Not all operations require this argument. The \r
+                          length of this buffer is identified by Length.\r
   @param  Status          Return status for the executed command.\r
                           This is an optional parameter and may be NULL.\r
 \r
index 330ba459758cf954bb089a209bb7380ae2aa470b..5821e9bb6d8066acaf7e9931c927ae946214e211 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
 Implementation of SmBusLib class library for PEI phase.\r
 \r
-Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2010, 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
@@ -46,14 +46,16 @@ InternalGetSmbusPpi (
   as defined in the SmBus Specification. The data can either be of\r
   the Length byte, word, or a block of data.\r
 \r
-  @param  SmbusOperation  Signifies which particular SMBus hardware protocol instance that it will use to\r
-                          execute the SMBus transactions.\r
+  @param  SmbusOperation  Signifies which particular SMBus hardware protocol instance \r
+                          that it will use to execute the SMBus transactions.\r
   @param  SmBusAddress    The address that encodes the SMBUS Slave Address,\r
                           SMBUS Command, SMBUS Data Length, and PEC.\r
-  @param  Length          Signifies the number of bytes that this operation will do. The maximum number of\r
-                          bytes can be revision specific and operation specific.\r
-  @param  Buffer          Contains the value of data to execute to the SMBus slave device. Not all operations\r
-                          require this argument. The length of this buffer is identified by Length.\r
+  @param  Length          Signifies the number of bytes that this operation will \r
+                          do. The maximum number of bytes can be revision specific \r
+                          and operation specific.\r
+  @param  Buffer          Contains the value of data to execute to the SMBus slave \r
+                          device. Not all operations require this argument. The \r
+                          length of this buffer is identified by Length.\r
   @param  Status          Return status for the executed command.\r
                           This is an optional parameter and may be NULL.\r
 \r
index 2d070ec5447356e3f6fba50ac8c685915b00076e..42e9513f5788c9c2469069b60b1e2509f75e4183 100644 (file)
@@ -30,13 +30,15 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
                         SMBUS Command, SMBUS Data Length, and PEC.\r
   @param  Status        Return status for the executed command.\r
                         This is an optional parameter and may be NULL.\r
-                        RETURN_SUCCESS  The SMBUS command was executed.\r
-                        RETURN_TIMEOUT  A timeout occurred while executing the SMBUS command.\r
-                        RETURN_DEVICE_ERROR The request was not completed because a failure\r
-                        reflected in the Host Status Register bit.  Device errors are a result\r
-                        of a transaction collision, illegal command field, unclaimed cycle\r
+                        RETURN_SUCCESS:  The SMBUS command was executed.\r
+                        RETURN_TIMEOUT:  A timeout occurred while executing the \r
+                        SMBUS command.\r
+                        RETURN_DEVICE_ERROR: The request was not completed because \r
+                        a failure reflected in the Host Status Register bit.  \r
+                        Device errors are a result of a transaction collision, \r
+                        illegal command field, unclaimed cycle\r
                         (host initiated), or bus errors (collisions).\r
-                        RETURN_UNSUPPORTED  The SMBus operation is not supported.\r
+                        RETURN_UNSUPPORTED:  The SMBus operation is not supported.\r
 \r
 **/\r
 VOID\r
@@ -69,13 +71,15 @@ SmBusQuickRead (
                         SMBUS Command, SMBUS Data Length, and PEC.\r
   @param  Status        Return status for the executed command.\r
                         This is an optional parameter and may be NULL.\r
-                        RETURN_SUCCESS The SMBUS command was executed.\r
-                        RETURN_TIMEOUT A timeout occurred while executing the SMBUS command.\r
-                        RETURN_DEVICE_ERROR  The request was not completed because a failure\r
-                        reflected in the Host Status Register bit.  Device errors are a result\r
-                        of a transaction collision, illegal command field, unclaimed cycle\r
-                        (host initiated), or bus errors (collisions).\r
-                        RETURN_UNSUPPORTED  The SMBus operation is not supported.\r
+                        RETURN_SUCCESS: The SMBUS command was executed.\r
+                        RETURN_TIMEOUT: A timeout occurred while executing the \r
+                        SMBUS command.\r
+                        RETURN_DEVICE_ERROR:  The request was not completed because \r
+                        a failure reflected in the Host Status Register bit.  Device \r
+                        errors are a result of a transaction collision, illegal \r
+                        command field, unclaimed cycle (host initiated), or bus \r
+                        errors (collisions).\r
+                        RETURN_UNSUPPORTED::  The SMBus operation is not supported.\r
 \r
 **/\r
 VOID\r
@@ -108,14 +112,16 @@ SmBusQuickWrite (
                         SMBUS Command, SMBUS Data Length, and PEC.\r
   @param  Status        Return status for the executed command.\r
                         This is an optional parameter and may be NULL.\r
-                        RETURN_SUCCESS The SMBUS command was executed.\r
-                        RETURN_TIMEOUT A timeout occurred while executing the SMBUS command.\r
-                        RETURN_DEVICE_ERROR  The request was not completed because a failure\r
-                        reflected in the Host Status Register bit.  Device errors are a result\r
-                        of a transaction collision, illegal command field, unclaimed cycle\r
-                        (host initiated), or bus errors (collisions).\r
-                        RETURN_CRC_ERROR  The checksum is not correct (PEC is incorrect)\r
-                        RETURN_UNSUPPORTED  The SMBus operation is not supported.\r
+                        RETURN_SUCCESS: The SMBUS command was executed.\r
+                        RETURN_TIMEOUT: A timeout occurred while executing the \r
+                        SMBUS command.\r
+                        RETURN_DEVICE_ERROR:  The request was not completed because \r
+                        a failure reflected in the Host Status Register bit.  \r
+                        Device errors are a result of a transaction collision, \r
+                        illegal command field, unclaimed cycle (host initiated),\r
+                        or bus errors (collisions).\r
+                        RETURN_CRC_ERROR:  The checksum is not correct. (PEC is incorrect.)\r
+                        RETURN_UNSUPPORTED:  The SMBus operation is not supported.\r
 \r
   @return The byte received from the SMBUS.\r
 \r
@@ -154,14 +160,16 @@ SmBusReceiveByte (
   @param  Value         The 8-bit value to send.\r
   @param  Status        Return status for the executed command.\r
                         This is an optional parameter and may be NULL.\r
-                        RETURN_SUCCESS The SMBUS command was executed.\r
-                        RETURN_TIMEOUT A timeout occurred while executing the SMBUS command.\r
-                        RETURN_DEVICE_ERROR  The request was not completed because a failure\r
-                        reflected in the Host Status Register bit.  Device errors are a result\r
-                        of a transaction collision, illegal command field, unclaimed cycle\r
-                        (host initiated), or bus errors (collisions).\r
-                        RETURN_CRC_ERROR  The checksum is not correct (PEC is incorrect)\r
-                        RETURN_UNSUPPORTED  The SMBus operation is not supported.\r
+                        RETURN_SUCCESS: The SMBUS command was executed.\r
+                        RETURN_TIMEOUT: A timeout occurred while executing the \r
+                        SMBUS command.\r
+                        RETURN_DEVICE_ERROR:  The request was not completed because \r
+                        a failure reflected in the Host Status Register bit.  Device \r
+                        errors are a result of a transaction collision, illegal \r
+                        command field, unclaimed cycle (host initiated), or bus \r
+                        errors (collisions).\r
+                        RETURN_CRC_ERROR:  The checksum is not correct. (PEC is incorrect.)\r
+                        RETURN_UNSUPPORTED:  The SMBus operation is not supported.\r
 \r
   @return The parameter of Value.\r
 \r
@@ -200,14 +208,16 @@ SmBusSendByte (
                           SMBUS Command, SMBUS Data Length, and PEC.\r
   @param  Status        Return status for the executed command.\r
                         This is an optional parameter and may be NULL.\r
-                        RETURN_SUCCESS The SMBUS command was executed.\r
-                        RETURN_TIMEOUT A timeout occurred while executing the SMBUS command.\r
-                        RETURN_DEVICE_ERROR  The request was not completed because a failure\r
-                        reflected in the Host Status Register bit.  Device errors are a result\r
-                        of a transaction collision, illegal command field, unclaimed cycle\r
-                        (host initiated), or bus errors (collisions).\r
-                        RETURN_CRC_ERROR  The checksum is not correct (PEC is incorrect)\r
-                        RETURN_UNSUPPORTED  The SMBus operation is not supported.\r
+                        RETURN_SUCCESS: The SMBUS command was executed.\r
+                        RETURN_TIMEOUT: A timeout occurred while executing the \r
+                        SMBUS command.\r
+                        RETURN_DEVICE_ERROR:  The request was not completed because \r
+                        a failure reflected in the Host Status Register bit.  \r
+                        Device errors are a result of a transaction collision, \r
+                        illegal command field, unclaimed cycle (host initiated),\r
+                       or bus errors (collisions).\r
+                        RETURN_CRC_ERROR:  The checksum is not correct. (PEC is incorrect.)\r
+                        RETURN_UNSUPPORTED:  The SMBus operation is not supported.\r
 \r
   @return The byte read from the SMBUS.\r
 \r
@@ -245,14 +255,16 @@ SmBusReadDataByte (
   @param  Value         The 8-bit value to write.\r
   @param  Status        Return status for the executed command.\r
                         This is an optional parameter and may be NULL.\r
-                        RETURN_SUCCESS The SMBUS command was executed.\r
-                        RETURN_TIMEOUT A timeout occurred while executing the SMBUS command.\r
-                        RETURN_DEVICE_ERROR  The request was not completed because a failure\r
-                        reflected in the Host Status Register bit.  Device errors are a result\r
-                        of a transaction collision, illegal command field, unclaimed cycle\r
-                        (host initiated), or bus errors (collisions).\r
-                        RETURN_CRC_ERROR  The checksum is not correct (PEC is incorrect)\r
-                        RETURN_UNSUPPORTED  The SMBus operation is not supported.\r
+                        RETURN_SUCCESS: The SMBUS command was executed.\r
+                        RETURN_TIMEOUT: A timeout occurred while executing the \r
+                        SMBUS command.\r
+                        RETURN_DEVICE_ERROR:  The request was not completed because \r
+                        a failure reflected in the Host Status Register bit.  \r
+                        Device errors are a result of a transaction collision, \r
+                        illegal command field, unclaimed cycle (host initiated),\r
+                        or bus errors (collisions).\r
+                        RETURN_CRC_ERROR:  The checksum is not correct. (PEC is incorrect.)\r
+                        RETURN_UNSUPPORTED:  The SMBus operation is not supported.\r
 \r
   @return The parameter of Value.\r
 \r
@@ -290,14 +302,16 @@ SmBusWriteDataByte (
                         SMBUS Command, SMBUS Data Length, and PEC.\r
   @param  Status        Return status for the executed command.\r
                         This is an optional parameter and may be NULL.\r
-                        RETURN_SUCCESS The SMBUS command was executed.\r
-                        RETURN_TIMEOUT A timeout occurred while executing the SMBUS command.\r
-                        RETURN_DEVICE_ERROR  The request was not completed because a failure\r
-                        reflected in the Host Status Register bit.  Device errors are a result\r
-                        of a transaction collision, illegal command field, unclaimed cycle\r
-                        (host initiated), or bus errors (collisions).\r
-                        RETURN_CRC_ERROR  The checksum is not correct (PEC is incorrect)\r
-                        RETURN_UNSUPPORTED  The SMBus operation is not supported.\r
+                        RETURN_SUCCESS: The SMBUS command was executed.\r
+                        RETURN_TIMEOUT: A timeout occurred while executing the \r
+                        SMBUS command.\r
+                        RETURN_DEVICE_ERROR:  The request was not completed because \r
+                        a failure reflected in the Host Status Register bit.  \r
+                        Device errors are a result of a transaction collision, \r
+                        illegal command field, unclaimed cycle (host initiated),\r
+                        or bus errors (collisions).\r
+                        RETURN_CRC_ERROR:  The checksum is not correct. (PEC is incorrect.)\r
+                        RETURN_UNSUPPORTED:  The SMBus operation is not supported.\r
 \r
   @return The byte read from the SMBUS.\r
 \r
@@ -335,14 +349,16 @@ SmBusReadDataWord (
   @param  Value         The 16-bit value to write.\r
   @param  Status        Return status for the executed command.\r
                         This is an optional parameter and may be NULL.\r
-                        RETURN_SUCCESS The SMBUS command was executed.\r
-                        RETURN_TIMEOUT A timeout occurred while executing the SMBUS command.\r
-                        RETURN_DEVICE_ERROR  The request was not completed because a failure\r
-                        reflected in the Host Status Register bit.  Device errors are a result\r
-                        of a transaction collision, illegal command field, unclaimed cycle\r
-                        (host initiated), or bus errors (collisions).\r
-                        RETURN_CRC_ERROR  The checksum is not correct (PEC is incorrect)\r
-                        RETURN_UNSUPPORTED  The SMBus operation is not supported.\r
+                        RETURN_SUCCESS: The SMBUS command was executed.\r
+                        RETURN_TIMEOUT: A timeout occurred while executing the \r
+                        SMBUS command.\r
+                        RETURN_DEVICE_ERROR:  The request was not completed because \r
+                        a failure reflected in the Host Status Register bit.  \r
+                        Device errors are a result of a transaction collision, \r
+                        illegal command field, unclaimed cycle (host initiated),\r
+                        or bus errors (collisions).\r
+                        RETURN_CRC_ERROR:  The checksum is not correct. (PEC is incorrect.)\r
+                        RETURN_UNSUPPORTED:  The SMBus operation is not supported.\r
 \r
   @return The parameter of Value.\r
 \r
@@ -382,14 +398,16 @@ SmBusWriteDataWord (
   @param  Value         The 16-bit value to write.\r
   @param  Status        Return status for the executed command.\r
                         This is an optional parameter and may be NULL.\r
-                        RETURN_SUCCESS The SMBUS command was executed.\r
-                        RETURN_TIMEOUT A timeout occurred while executing the SMBUS command.\r
-                        RETURN_DEVICE_ERROR  The request was not completed because a failure\r
-                        reflected in the Host Status Register bit.  Device errors are a result\r
-                        of a transaction collision, illegal command field, unclaimed cycle\r
-                        (host initiated), or bus errors (collisions).\r
-                        RETURN_CRC_ERROR  The checksum is not correct (PEC is incorrect)\r
-                        RETURN_UNSUPPORTED  The SMBus operation is not supported.\r
+                        RETURN_SUCCESS: The SMBUS command was executed.\r
+                        RETURN_TIMEOUT: A timeout occurred while executing the \r
+                        SMBUS command.\r
+                        RETURN_DEVICE_ERROR:  The request was not completed because \r
+                        a failure reflected in the Host Status Register bit.  \r
+                        Device errors are a result of a transaction collision, \r
+                        illegal command field, unclaimed cycle (host initiated),\r
+                        or bus errors (collisions).\r
+                        RETURN_CRC_ERROR:  The checksum is not correct. (PEC is incorrect.)\r
+                        RETURN_UNSUPPORTED:  The SMBus operation is not supported.\r
 \r
   @return The 16-bit value returned by the process call command.\r
 \r
@@ -429,14 +447,16 @@ SmBusProcessCall (
   @param  Buffer        The pointer to the buffer to store the bytes read from the SMBUS.\r
   @param  Status        Return status for the executed command.\r
                         This is an optional parameter and may be NULL.\r
-                        RETURN_SUCCESS The SMBUS command was executed.\r
-                        RETURN_TIMEOUT A timeout occurred while executing the SMBUS command.\r
-                        RETURN_DEVICE_ERROR  The request was not completed because a failure\r
-                        reflected in the Host Status Register bit.  Device errors are a result\r
-                        of a transaction collision, illegal command field, unclaimed cycle\r
-                        (host initiated), or bus errors (collisions).\r
-                        RETURN_CRC_ERROR  The checksum is not correct (PEC is incorrect)\r
-                        RETURN_UNSUPPORTED  The SMBus operation is not supported.\r
+                        RETURN_SUCCESS: The SMBUS command was executed.\r
+                        RETURN_TIMEOUT: A timeout occurred while executing the \r
+                        SMBUS command.\r
+                        RETURN_DEVICE_ERROR:  The request was not completed because \r
+                        a failure reflected in the Host Status Register bit.  \r
+                        Device errors are a result of a transaction collision, \r
+                        illegal command field, unclaimed cycle (host initiated), \r
+                        or bus errors (collisions).\r
+                        RETURN_CRC_ERROR:  The checksum is not correct. (PEC is incorrect.)\r
+                        RETURN_UNSUPPORTED:  The SMBus operation is not supported.\r
 \r
   @return The number of bytes read.\r
 \r
@@ -473,13 +493,15 @@ SmBusReadBlock (
   @param  Buffer        The pointer to the buffer to store the bytes read from the SMBUS.\r
   @param  Status        Return status for the executed command.\r
                         This is an optional parameter and may be NULL.\r
-                        RETURN_TIMEOUT A timeout occurred while executing the SMBUS command.\r
-                        RETURN_DEVICE_ERROR  The request was not completed because a failure\r
-                        reflected in the Host Status Register bit.  Device errors are a result\r
-                        of a transaction collision, illegal command field, unclaimed cycle\r
-                        (host initiated), or bus errors (collisions).\r
-                        RETURN_CRC_ERROR  The checksum is not correct (PEC is incorrect)\r
-                        RETURN_UNSUPPORTED  The SMBus operation is not supported.\r
+                        RETURN_TIMEOUT: A timeout occurred while executing the \r
+                        SMBUS command.\r
+                        RETURN_DEVICE_ERROR:  The request was not completed because \r
+                        a failure reflected in the Host Status Register bit.  \r
+                        Device errors are a result of a transaction collision, \r
+                        illegal command field, unclaimed cycle (host initiated), \r
+                        or bus errors (collisions).\r
+                        RETURN_CRC_ERROR:  The checksum is not correct (PEC is incorrect)\r
+                        RETURN_UNSUPPORTED:  The SMBus operation is not supported.\r
 \r
   @return The number of bytes written.\r
 \r
@@ -523,13 +545,15 @@ SmBusWriteBlock (
   @param  ReadBuffer    The pointer to the buffer of bytes to read from the SMBUS.\r
   @param  Status        Return status for the executed command.\r
                         This is an optional parameter and may be NULL.\r
-                        RETURN_TIMEOUT A timeout occurred while executing the SMBUS command.\r
-                        RETURN_DEVICE_ERROR  The request was not completed because a failure\r
-                        reflected in the Host Status Register bit.  Device errors are a result\r
-                        of a transaction collision, illegal command field, unclaimed cycle\r
-                        (host initiated), or bus errors (collisions).\r
-                        RETURN_CRC_ERROR  The checksum is not correct (PEC is incorrect)\r
-                        RETURN_UNSUPPORTED  The SMBus operation is not supported.\r
+                        RETURN_TIMEOUT: A timeout occurred while executing the \r
+                        SMBUS command.\r
+                        RETURN_DEVICE_ERROR:  The request was not completed because \r
+                        a failure reflected in the Host Status Register bit.  \r
+                        Device errors are a result of a transaction collision, \r
+                        illegal command field, unclaimed cycle (host initiated), \r
+                        or bus errors (collisions).\r
+                        RETURN_CRC_ERROR  The checksum is not correct. (PEC is incorrect.)\r
+                        RETURN_UNSUPPORTED:  The SMBus operation is not supported.\r
 \r
   @return The number of bytes written.\r
 \r
index 57ae73c07b3998283d95ab8d99edf31ac58766ae..83a1bd8ccc328480242876a09b8926a6905aa635 100644 (file)
@@ -5,7 +5,7 @@ Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
 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
+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
index 0f3b3755aae89c2e1214061be02ad8b8a60f2cc3..5d2697e2707acb42f77d11e08cafe7b598831215 100644 (file)
@@ -1242,7 +1242,7 @@ MmioAndThenOr8 (
   If EndBit is greater than 7, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to read.\r
+  @param  Address   The MMIO register to read.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..7.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1274,7 +1274,7 @@ MmioBitFieldRead8 (
   If EndBit is greater than 7, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..7.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1315,7 +1315,7 @@ MmioBitFieldWrite8 (
   If EndBit is greater than 7, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..7.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1356,7 +1356,7 @@ MmioBitFieldOr8 (
   If EndBit is greater than 7, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..7.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1398,7 +1398,7 @@ MmioBitFieldAnd8 (
   If EndBit is greater than 7, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..7.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1524,7 +1524,7 @@ MmioAndThenOr16 (
   If EndBit is greater than 15, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to read.\r
+  @param  Address   The MMIO register to read.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..15.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1556,7 +1556,7 @@ MmioBitFieldRead16 (
   If EndBit is greater than 15, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..15.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1597,7 +1597,7 @@ MmioBitFieldWrite16 (
   If EndBit is greater than 15, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..15.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1638,7 +1638,7 @@ MmioBitFieldOr16 (
   If EndBit is greater than 15, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..15.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1680,7 +1680,7 @@ MmioBitFieldAnd16 (
   If EndBit is greater than 15, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..15.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1806,7 +1806,7 @@ MmioAndThenOr32 (
   If EndBit is greater than 31, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to read.\r
+  @param  Address   The MMIO register to read.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..31.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1838,7 +1838,7 @@ MmioBitFieldRead32 (
   If EndBit is greater than 31, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..31.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1879,7 +1879,7 @@ MmioBitFieldWrite32 (
   If EndBit is greater than 31, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..31.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1920,7 +1920,7 @@ MmioBitFieldOr32 (
   If EndBit is greater than 31, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..31.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -1962,7 +1962,7 @@ MmioBitFieldAnd32 (
   If EndBit is greater than 31, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..31.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -2088,7 +2088,7 @@ MmioAndThenOr64 (
   If EndBit is greater than 63, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to read.\r
+  @param  Address   The MMIO register to read.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..63.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -2120,7 +2120,7 @@ MmioBitFieldRead64 (
   If EndBit is greater than 63, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..63.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -2161,7 +2161,7 @@ MmioBitFieldWrite64 (
   If EndBit is greater than 63, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..63.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -2202,7 +2202,7 @@ MmioBitFieldOr64 (
   If EndBit is greater than 63, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..63.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
@@ -2244,7 +2244,7 @@ MmioBitFieldAnd64 (
   If EndBit is greater than 63, then ASSERT().\r
   If EndBit is less than StartBit, then ASSERT().\r
 \r
-  @param  Address   MMIO register to write.\r
+  @param  Address   The MMIO register to write.\r
   @param  StartBit  The ordinal of the least significant bit in the bit field.\r
                     Range 0..63.\r
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
index ce1f93043ab51dca6cc3a829d86f455e0daba179..8682d51dab82b5c9ca4e05130427ebd63c59437f 100644 (file)
@@ -222,8 +222,9 @@ MmioReadBuffer64 (
 \r
 \r
   @param  StartAddress    The starting address for the MMIO region to be copied to.\r
-  @param  Length     The size in bytes of the copy.\r
-  @param  Buffer          The pointer to a system memory buffer containing the data to write.\r
+  @param  Length          The size in bytes of the copy.\r
+  @param  Buffer          The pointer to a system memory buffer containing the \r
+                          data to write.\r
 \r
   @return Buffer\r
 \r
@@ -268,8 +269,9 @@ MmioWriteBuffer8 (
   If Buffer is not aligned on a 16-bit boundary, then ASSERT().\r
 \r
   @param  StartAddress    The starting address for the MMIO region to be copied to.\r
-  @param  Length     The size in bytes of the copy.\r
-  @param  Buffer          The pointer to a system memory buffer containing the data to write.\r
+  @param  Length          The size in bytes of the copy.\r
+  @param  Buffer          The pointer to a system memory buffer containing the \r
+                          data to write.\r
 \r
   @return Buffer\r
 \r
@@ -322,8 +324,9 @@ MmioWriteBuffer16 (
   If Buffer is not aligned on a 32-bit boundary, then ASSERT().\r
 \r
   @param  StartAddress    The starting address for the MMIO region to be copied to.\r
-  @param  Length     The size in bytes of the copy.\r
-  @param  Buffer          The pointer to a system memory buffer containing the data to write.\r
+  @param  Length          The size in bytes of the copy.\r
+  @param  Buffer          The pointer to a system memory buffer containing the \r
+                          data to write.\r
 \r
   @return Buffer\r
 \r
@@ -375,8 +378,9 @@ MmioWriteBuffer32 (
   If Buffer is not aligned on a 64-bit boundary, then ASSERT().\r
 \r
   @param  StartAddress    The starting address for the MMIO region to be copied to.\r
-  @param  Length     The size in bytes of the copy.\r
-  @param  Buffer          The pointer to a system memory buffer containing the data to write.\r
+  @param  Length          The size in bytes of the copy.\r
+  @param  Buffer          The pointer to a system memory buffer containing the \r
+                          data to write.\r
 \r
   @return Buffer\r
 \r
index a481c4ebd5472ea67e0077ea0b8af2d50450f565..60c8adb13306f60a3b30b54346a5c6bf16b1b035 100644 (file)
@@ -51,11 +51,12 @@ TriggerRuntimeSoftwareSmi (
 /**\r
   Test if a boot time software SMI happened.  \r
 \r
-  This function tests if a software SMM interrupt happened. If a software SMM interrupt happened and\r
-  it was triggered at boot time, it returns TRUE. Otherwise, it returns FALSE.\r
+  This function tests if a software SMM interrupt happened. If a software SMM \r
+  interrupt happened and it was triggered at boot time, it returns TRUE. Otherwise, \r
+  it returns FALSE.\r
 \r
   @retval TRUE   A software SMI triggered at boot time happened.\r
-  @retval FLASE  No software SMI happened or the software SMI was triggered at run time.\r
+  @retval FALSE  No software SMI happened or the software SMI was triggered at run time.\r
 \r
 **/\r
 BOOLEAN\r
@@ -71,11 +72,12 @@ IsBootServiceSoftwareSmi (
 /**\r
   Test if a run time software SMI happened.  \r
 \r
-  This function tests if a software SMM interrupt happened. If a software SMM interrupt happened and\r
-  it was triggered at run time, it returns TRUE. Otherwise, it returns FALSE.\r
+  This function tests if a software SMM interrupt happened. If a software SMM \r
+  interrupt happened and it was triggered at run time, it returns TRUE. Otherwise, \r
+  it returns FALSE.\r
 \r
   @retval TRUE   A software SMI triggered at run time happened.\r
-  @retval FLASE  No software SMI happened or the software SMI was triggered at boot time.\r
+  @retval FALSE  No software SMI happened or the software SMI was triggered at boot time.\r
 \r
 **/\r
 BOOLEAN\r
index 3a539e36432aa6903c2fd5a398ce22a85d9819bc..f8ab33a44ac28536f0d8181e29ac04f0e1832d77 100644 (file)
 /**\r
   Allocates one or more 4KB pages of a certain memory type.\r
 \r
-  Allocates the number of 4KB pages of a certain memory type and returns a pointer to the allocated\r
-  buffer.  The buffer returned is aligned on a 4KB boundary.  If Pages is 0, then NULL is returned.\r
-  If there is not enough memory remaining to satisfy the request, then NULL is returned.\r
+  Allocates the number of 4KB pages of a certain memory type and returns a pointer \r
+  to the allocated buffer.  The buffer returned is aligned on a 4KB boundary.  If \r
+  Pages is 0, then NULL is returned.   If there is not enough memory remaining to \r
+  satisfy the request, then NULL is returned.\r
 \r
   @param  MemoryType            The type of memory to allocate.\r
   @param  Pages                 The number of 4 KB pages to allocate.\r
@@ -65,10 +66,10 @@ InternalAllocatePages (
 /**\r
   Allocates one or more 4KB pages of type EfiBootServicesData.\r
 \r
-  Allocates the number of 4KB pages of type EfiBootServicesData and returns a pointer to the\r
-  allocated buffer.  The buffer returned is aligned on a 4KB boundary.  If Pages is 0, then NULL\r
-  is returned.  If there is not enough memory remaining to satisfy the request, then NULL is\r
-  returned.\r
+  Allocates the number of 4KB pages of type EfiBootServicesData and returns a pointer \r
+  to the allocated buffer.  The buffer returned is aligned on a 4KB boundary.  If \r
+  Pages is 0, then NULL is returned.  If there is not enough memory remaining to \r
+  satisfy the request, then NULL is returned.\r
 \r
   @param  Pages                 The number of 4 KB pages to allocate.\r
 \r
@@ -87,10 +88,10 @@ AllocatePages (
 /**\r
   Allocates one or more 4KB pages of type EfiRuntimeServicesData.\r
 \r
-  Allocates the number of 4KB pages of type EfiRuntimeServicesData and returns a pointer to the\r
-  allocated buffer.  The buffer returned is aligned on a 4KB boundary.  If Pages is 0, then NULL\r
-  is returned.  If there is not enough memory remaining to satisfy the request, then NULL is\r
-  returned.\r
+  Allocates the number of 4KB pages of type EfiRuntimeServicesData and returns a \r
+  pointer to the allocated buffer.  The buffer returned is aligned on a 4KB boundary.  \r
+  If Pages is 0, then NULL is returned.  If there is not enough memory remaining \r
+  to satisfy the request, then NULL is returned.\r
 \r
   @param  Pages                 The number of 4 KB pages to allocate.\r
 \r
@@ -109,10 +110,10 @@ AllocateRuntimePages (
 /**\r
   Allocates one or more 4KB pages of type EfiReservedMemoryType.\r
 \r
-  Allocates the number of 4KB pages of type EfiReservedMemoryType and returns a pointer to the\r
-  allocated buffer.  The buffer returned is aligned on a 4KB boundary.  If Pages is 0, then NULL\r
-  is returned.  If there is not enough memory remaining to satisfy the request, then NULL is\r
-  returned.\r
+  Allocates the number of 4KB pages of type EfiReservedMemoryType and returns a \r
+  pointer to the allocated buffer.  The buffer returned is aligned on a 4KB boundary.  \r
+  If Pages is 0, then NULL is returned.  If there is not enough memory remaining \r
+  to satisfy the request, then NULL is returned.\r
 \r
   @param  Pages                 The number of 4 KB pages to allocate.\r
 \r
@@ -132,13 +133,13 @@ AllocateReservedPages (
   Frees one or more 4KB pages that were previously allocated with one of the page allocation\r
   functions in the Memory Allocation Library.\r
 \r
-  Frees the number of 4KB pages specified by Pages from the buffer specified by Buffer.  Buffer\r
-  must have been allocated on a previous call to the page allocation services of the Memory\r
-  Allocation Library.  If it is not possible to free allocated pages, then this function will\r
-  perform no actions.\r
+  Frees the number of 4KB pages specified by Pages from the buffer specified by Buffer.  \r
+  Buffer must have been allocated on a previous call to the page allocation services \r
+  of the Memory Allocation Library.  If it is not possible to free allocated pages, \r
+  then this function will perform no actions.\r
   \r
-  If Buffer was not allocated with a page allocation function in the Memory Allocation Library,\r
-  then ASSERT().\r
+  If Buffer was not allocated with a page allocation function in the Memory Allocation \r
+  Library, then ASSERT().\r
   If Pages is zero, then ASSERT().\r
  \r
   @param  Buffer                The pointer to the buffer of pages to free.\r
@@ -162,15 +163,16 @@ FreePages (
 /**\r
   Allocates one or more 4KB pages of a certain memory type at a specified alignment.\r
 \r
-  Allocates the number of 4KB pages specified by Pages of a certain memory type with an alignment\r
-  specified by Alignment.  The allocated buffer is returned.  If Pages is 0, then NULL is returned.\r
-  If there is not enough memory at the specified alignment remaining to satisfy the request, then\r
-  NULL is returned.\r
+  Allocates the number of 4KB pages specified by Pages of a certain memory type \r
+  with an alignment specified by Alignment.  The allocated buffer is returned.  \r
+  If Pages is 0, then NULL is returned. If there is not enough memory at the \r
+  specified alignment remaining to satisfy the request, then NULL is returned.\r
   If Alignment is not a power of two and Alignment is not zero, then ASSERT().\r
 \r
   @param  MemoryType            The type of memory to allocate.\r
   @param  Pages                 The number of 4 KB pages to allocate.\r
-  @param  Alignment             The requested alignment of the allocation.  Must be a power of two.\r
+  @param  Alignment             The requested alignment of the allocation.  \r
+                                Must be a power of two.\r
                                 If Alignment is zero, then byte alignment is used.\r
 \r
   @return A pointer to the allocated buffer or NULL if allocation fails.\r
@@ -247,15 +249,16 @@ InternalAllocateAlignedPages (
 /**\r
   Allocates one or more 4KB pages of type EfiBootServicesData at a specified alignment.\r
 \r
-  Allocates the number of 4KB pages specified by Pages of type EfiBootServicesData with an\r
-  alignment specified by Alignment.  The allocated buffer is returned.  If Pages is 0, then NULL is\r
-  returned.  If there is not enough memory at the specified alignment remaining to satisfy the\r
-  request, then NULL is returned.\r
+  Allocates the number of 4KB pages specified by Pages of type EfiBootServicesData \r
+  with an alignment specified by Alignment.  The allocated buffer is returned.  \r
+  If Pages is 0, then NULL is returned.  If there is not enough memory at the \r
+  specified alignment remaining to satisfy the request, then NULL is returned.\r
   \r
   If Alignment is not a power of two and Alignment is not zero, then ASSERT().\r
 \r
   @param  Pages                 The number of 4 KB pages to allocate.\r
-  @param  Alignment             The requested alignment of the allocation.  Must be a power of two.\r
+  @param  Alignment             The requested alignment of the allocation.  \r
+                                Must be a power of two.\r
                                 If Alignment is zero, then byte alignment is used.\r
 \r
   @return A pointer to the allocated buffer or NULL if allocation fails.\r
@@ -274,15 +277,16 @@ AllocateAlignedPages (
 /**\r
   Allocates one or more 4KB pages of type EfiRuntimeServicesData at a specified alignment.\r
 \r
-  Allocates the number of 4KB pages specified by Pages of type EfiRuntimeServicesData with an\r
-  alignment specified by Alignment.  The allocated buffer is returned.  If Pages is 0, then NULL is\r
-  returned.  If there is not enough memory at the specified alignment remaining to satisfy the\r
-  request, then NULL is returned.\r
+  Allocates the number of 4KB pages specified by Pages of type EfiRuntimeServicesData \r
+  with an alignment specified by Alignment.  The allocated buffer is returned.  \r
+  If Pages is 0, then NULL is returned.  If there is not enough memory at the \r
+  specified alignment remaining to satisfy the request, then NULL is returned.\r
   \r
   If Alignment is not a power of two and Alignment is not zero, then ASSERT().\r
 \r
   @param  Pages                 The number of 4 KB pages to allocate.\r
-  @param  Alignment             The requested alignment of the allocation.  Must be a power of two.\r
+  @param  Alignment             The requested alignment of the allocation.  \r
+                                Must be a power of two.\r
                                 If Alignment is zero, then byte alignment is used.\r
 \r
   @return A pointer to the allocated buffer or NULL if allocation fails.\r
@@ -301,15 +305,16 @@ AllocateAlignedRuntimePages (
 /**\r
   Allocates one or more 4KB pages of type EfiReservedMemoryType at a specified alignment.\r
 \r
-  Allocates the number of 4KB pages specified by Pages of type EfiReservedMemoryType with an\r
-  alignment specified by Alignment.  The allocated buffer is returned.  If Pages is 0, then NULL is\r
-  returned.  If there is not enough memory at the specified alignment remaining to satisfy the\r
-  request, then NULL is returned.\r
+  Allocates the number of 4KB pages specified by Pages of type EfiReservedMemoryType \r
+  with an alignment specified by Alignment.  The allocated buffer is returned.  \r
+  If Pages is 0, then NULL is returned.  If there is not enough memory at the \r
+  specified alignment remaining to satisfy the request, then NULL is returned.\r
   \r
   If Alignment is not a power of two and Alignment is not zero, then ASSERT().\r
 \r
   @param  Pages                 The number of 4 KB pages to allocate.\r
-  @param  Alignment             The requested alignment of the allocation.  Must be a power of two.\r
+  @param  Alignment             The requested alignment of the allocation.  \r
+                                Must be a power of two.\r
                                 If Alignment is zero, then byte alignment is used.\r
 \r
   @return A pointer to the allocated buffer or NULL if allocation fails.\r
@@ -329,13 +334,13 @@ AllocateAlignedReservedPages (
   Frees one or more 4KB pages that were previously allocated with one of the aligned page\r
   allocation functions in the Memory Allocation Library.\r
 \r
-  Frees the number of 4KB pages specified by Pages from the buffer specified by Buffer.  Buffer\r
-  must have been allocated on a previous call to the aligned page allocation services of the Memory\r
-  Allocation Library.  If it is not possible to free allocated pages, then this function will \r
-  perform no actions.\r
+  Frees the number of 4KB pages specified by Pages from the buffer specified by \r
+  Buffer.  Buffer must have been allocated on a previous call to the aligned page \r
+  allocation services of the Memory Allocation Library.  If it is not possible to \r
+  free allocated pages, then this function will perform no actions.\r
   \r
-  If Buffer was not allocated with an aligned page allocation function in the Memory Allocation\r
-  Library, then ASSERT().\r
+  If Buffer was not allocated with an aligned page allocation function in the \r
+  Memory Allocation Library, then ASSERT().\r
   If Pages is zero, then ASSERT().\r
   \r
   @param  Buffer                The pointer to the buffer of pages to free.\r
@@ -359,9 +364,10 @@ FreeAlignedPages (
 /**\r
   Allocates a buffer of a certain pool type.\r
 \r
-  Allocates the number bytes specified by AllocationSize of a certain pool type and returns a\r
-  pointer to the allocated buffer.  If AllocationSize is 0, then a valid buffer of 0 size is\r
-  returned.  If there is not enough memory remaining to satisfy the request, then NULL is returned.\r
+  Allocates the number bytes specified by AllocationSize of a certain pool type \r
+  and returns a pointer to the allocated buffer.  If AllocationSize is 0, then a \r
+  valid buffer of 0 size is returned.  If there is not enough memory remaining to \r
+  satisfy the request, then NULL is returned.\r
 \r
   @param  MemoryType            The type of memory to allocate.\r
   @param  AllocationSize        The number of bytes to allocate.\r
@@ -388,9 +394,10 @@ InternalAllocatePool (
 /**\r
   Allocates a buffer of type EfiBootServicesData.\r
 \r
-  Allocates the number bytes specified by AllocationSize of type EfiBootServicesData and returns a\r
-  pointer to the allocated buffer.  If AllocationSize is 0, then a valid buffer of 0 size is\r
-  returned.  If there is not enough memory remaining to satisfy the request, then NULL is returned.\r
+  Allocates the number bytes specified by AllocationSize of type EfiBootServicesData \r
+  and returns a pointer to the allocated buffer.  If AllocationSize is 0, then a \r
+  valid buffer of 0 size is returned.  If there is not enough memory remaining to \r
+  satisfy the request, then NULL is returned.\r
 \r
   @param  AllocationSize        The number of bytes to allocate.\r
 \r
@@ -409,9 +416,10 @@ AllocatePool (
 /**\r
   Allocates a buffer of type EfiRuntimeServicesData.\r
 \r
-  Allocates the number bytes specified by AllocationSize of type EfiRuntimeServicesData and returns\r
-  a pointer to the allocated buffer.  If AllocationSize is 0, then a valid buffer of 0 size is\r
-  returned.  If there is not enough memory remaining to satisfy the request, then NULL is returned.\r
+  Allocates the number bytes specified by AllocationSize of type EfiRuntimeServicesData \r
+  and returns a pointer to the allocated buffer.  If AllocationSize is 0, then a \r
+  valid buffer of 0 size is returned.  If there is not enough memory remaining to \r
+  satisfy the request, then NULL is returned.\r
 \r
   @param  AllocationSize        The number of bytes to allocate.\r
 \r
@@ -430,9 +438,10 @@ AllocateRuntimePool (
 /**\r
   Allocates a buffer of type EfiReservedMemoryType.\r
 \r
-  Allocates the number bytes specified by AllocationSize of type EfiReservedMemoryType and returns\r
-  a pointer to the allocated buffer.  If AllocationSize is 0, then a valid buffer of 0 size is\r
-  returned.  If there is not enough memory remaining to satisfy the request, then NULL is returned.\r
+  Allocates the number bytes specified by AllocationSize of type EfiReservedMemoryType \r
+  and returns a pointer to the allocated buffer.  If AllocationSize is 0, then a \r
+  valid buffer of 0 size is returned.  If there is not enough memory remaining to \r
+  satisfy the request, then NULL is returned.\r
 \r
   @param  AllocationSize        The number of bytes to allocate.\r
 \r
@@ -451,10 +460,10 @@ AllocateReservedPool (
 /**\r
   Allocates and zeros a buffer of a certain pool type.\r
 \r
-  Allocates the number bytes specified by AllocationSize of a certain pool type, clears the buffer\r
-  with zeros, and returns a pointer to the allocated buffer.  If AllocationSize is 0, then a valid\r
-  buffer of 0 size is returned.  If there is not enough memory remaining to satisfy the request,\r
-  then NULL is returned.\r
+  Allocates the number bytes specified by AllocationSize of a certain pool type, \r
+  clears the buffer with zeros, and returns a pointer to the allocated buffer.  \r
+  If AllocationSize is 0, then a valid buffer of 0 size is returned.  If there is \r
+  not enough memory remaining to satisfy the request, then NULL is returned.\r
 \r
   @param  PoolType              The type of memory to allocate.\r
   @param  AllocationSize        The number of bytes to allocate and zero.\r
@@ -480,10 +489,10 @@ InternalAllocateZeroPool (
 /**\r
   Allocates and zeros a buffer of type EfiBootServicesData.\r
 \r
-  Allocates the number bytes specified by AllocationSize of type EfiBootServicesData, clears the\r
-  buffer with zeros, and returns a pointer to the allocated buffer.  If AllocationSize is 0, then a\r
-  valid buffer of 0 size is returned.  If there is not enough memory remaining to satisfy the\r
-  request, then NULL is returned.\r
+  Allocates the number bytes specified by AllocationSize of type EfiBootServicesData, \r
+  clears the buffer with zeros, and returns a pointer to the allocated buffer.  \r
+  If AllocationSize is 0, then a valid buffer of 0 size is returned.  If there is \r
+  not enough memory remaining to satisfy the request, then NULL is returned.\r
 \r
   @param  AllocationSize        The number of bytes to allocate and zero.\r
 \r
@@ -502,10 +511,10 @@ AllocateZeroPool (
 /**\r
   Allocates and zeros a buffer of type EfiRuntimeServicesData.\r
 \r
-  Allocates the number bytes specified by AllocationSize of type EfiRuntimeServicesData, clears the\r
-  buffer with zeros, and returns a pointer to the allocated buffer.  If AllocationSize is 0, then a\r
-  valid buffer of 0 size is returned.  If there is not enough memory remaining to satisfy the\r
-  request, then NULL is returned.\r
+  Allocates the number bytes specified by AllocationSize of type EfiRuntimeServicesData, \r
+  clears the buffer with zeros, and returns a pointer to the allocated buffer.  \r
+  If AllocationSize is 0, then a valid buffer of 0 size is returned.  If there is \r
+  not enough memory remaining to satisfy the request, then NULL is returned.\r
 \r
   @param  AllocationSize        The number of bytes to allocate and zero.\r
 \r
@@ -524,10 +533,10 @@ AllocateRuntimeZeroPool (
 /**\r
   Allocates and zeros a buffer of type EfiReservedMemoryType.\r
 \r
-  Allocates the number bytes specified by AllocationSize of type EfiReservedMemoryType, clears the\r
-  buffer with zeros, and returns a pointer to the allocated buffer.  If AllocationSize is 0, then a\r
-  valid buffer of 0 size is returned.  If there is not enough memory remaining to satisfy the\r
-  request, then NULL is returned.\r
+  Allocates the number bytes specified by AllocationSize of type EfiReservedMemoryType, \r
+  clears the   buffer with zeros, and returns a pointer to the allocated buffer.  \r
+  If AllocationSize is 0, then a valid buffer of 0 size is returned.  If there is \r
+  not enough memory remaining to satisfy the request, then NULL is returned.\r
 \r
   @param  AllocationSize        The number of bytes to allocate and zero.\r
 \r
@@ -546,11 +555,11 @@ AllocateReservedZeroPool (
 /**\r
   Copies a buffer to an allocated buffer of a certain pool type.\r
 \r
-  Allocates the number bytes specified by AllocationSize of a certain pool type, copies\r
-  AllocationSize bytes from Buffer to the newly allocated buffer, and returns a pointer to the\r
-  allocated buffer.  If AllocationSize is 0, then a valid buffer of 0 size is returned.  If there\r
-  is not enough memory remaining to satisfy the request, then NULL is returned.\r
-  If Buffer is NULL, then ASSERT().\r
+  Allocates the number bytes specified by AllocationSize of a certain pool type, \r
+  copies AllocationSize bytes from Buffer to the newly allocated buffer, and returns \r
+  a pointer to the allocated buffer.  If AllocationSize is 0, then a valid buffer \r
+  of 0 size is returned.  If there is not enough memory remaining to satisfy the \r
+  request, then NULL is returned. If Buffer is NULL, then ASSERT().\r
   If AllocationSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). \r
 \r
   @param  PoolType              The type of pool to allocate.\r
@@ -582,10 +591,11 @@ InternalAllocateCopyPool (
 /**\r
   Copies a buffer to an allocated buffer of type EfiBootServicesData.\r
 \r
-  Allocates the number bytes specified by AllocationSize of type EfiBootServicesData, copies\r
-  AllocationSize bytes from Buffer to the newly allocated buffer, and returns a pointer to the\r
-  allocated buffer.  If AllocationSize is 0, then a valid buffer of 0 size is returned.  If there\r
-  is not enough memory remaining to satisfy the request, then NULL is returned.\r
+  Allocates the number bytes specified by AllocationSize of type EfiBootServicesData, \r
+  copies AllocationSize bytes from Buffer to the newly allocated buffer, and returns \r
+  a pointer to the allocated buffer.  If AllocationSize is 0, then a valid buffer \r
+  of 0 size is returned.  If there is not enough memory remaining to satisfy the \r
+  request, then NULL is returned.\r
   \r
   If Buffer is NULL, then ASSERT().\r
   If AllocationSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). \r
@@ -609,10 +619,11 @@ AllocateCopyPool (
 /**\r
   Copies a buffer to an allocated buffer of type EfiRuntimeServicesData.\r
 \r
-  Allocates the number bytes specified by AllocationSize of type EfiRuntimeServicesData, copies\r
-  AllocationSize bytes from Buffer to the newly allocated buffer, and returns a pointer to the\r
-  allocated buffer.  If AllocationSize is 0, then a valid buffer of 0 size is returned.  If there\r
-  is not enough memory remaining to satisfy the request, then NULL is returned.\r
+  Allocates the number bytes specified by AllocationSize of type EfiRuntimeServicesData, \r
+  copies AllocationSize bytes from Buffer to the newly allocated buffer, and returns \r
+  a pointer to the allocated buffer.  If AllocationSize is 0, then a valid buffer \r
+  of 0 size is returned.  If there is not enough memory remaining to satisfy the \r
+  request, then NULL is returned.\r
   \r
   If Buffer is NULL, then ASSERT().\r
   If AllocationSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). \r
@@ -636,10 +647,11 @@ AllocateRuntimeCopyPool (
 /**\r
   Copies a buffer to an allocated buffer of type EfiReservedMemoryType.\r
 \r
-  Allocates the number bytes specified by AllocationSize of type EfiReservedMemoryType, copies\r
-  AllocationSize bytes from Buffer to the newly allocated buffer, and returns a pointer to the\r
-  allocated buffer.  If AllocationSize is 0, then a valid buffer of 0 size is returned.  If there\r
-  is not enough memory remaining to satisfy the request, then NULL is returned.\r
+  Allocates the number bytes specified by AllocationSize of type EfiReservedMemoryType, \r
+  copies AllocationSize bytes from Buffer to the newly allocated buffer, and returns \r
+  a pointer to the allocated buffer.  If AllocationSize is 0, then a valid buffer \r
+  of 0 size is returned.  If there is not enough memory remaining to satisfy the \r
+  request, then NULL is returned.\r
   \r
   If Buffer is NULL, then ASSERT().\r
   If AllocationSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). \r
@@ -670,14 +682,14 @@ AllocateReservedCopyPool (
   If NewSize is 0, then a valid buffer of 0 size is  returned.  If there is not \r
   enough memory remaining to satisfy the request, then NULL is returned.\r
   \r
-  If the allocation of the new buffer is successful and the smaller of NewSize and OldSize\r
-  is greater than (MAX_ADDRESS - OldBuffer + 1), then ASSERT().\r
+  If the allocation of the new buffer is successful and the smaller of NewSize \r
+  and OldSize is greater than (MAX_ADDRESS - OldBuffer + 1), then ASSERT().\r
 \r
   @param  PoolType       The type of pool to allocate.\r
   @param  OldSize        The size, in bytes, of OldBuffer.\r
   @param  NewSize        The size, in bytes, of the buffer to reallocate.\r
-  @param  OldBuffer      The buffer to copy to the allocated buffer.  This is an optional \r
-                         parameter that may be NULL.\r
+  @param  OldBuffer      The buffer to copy to the allocated buffer.  This is an \r
+                         optional parameter that may be NULL.\r
 \r
   @return A pointer to the allocated buffer or NULL if allocation fails.\r
 \r
@@ -710,13 +722,13 @@ InternalReallocatePool (
   If NewSize is 0, then a valid buffer of 0 size is  returned.  If there is not \r
   enough memory remaining to satisfy the request, then NULL is returned.\r
   \r
-  If the allocation of the new buffer is successful and the smaller of NewSize and OldSize\r
-  is greater than (MAX_ADDRESS - OldBuffer + 1), then ASSERT().\r
+  If the allocation of the new buffer is successful and the smaller of NewSize \r
+  and OldSize is greater than (MAX_ADDRESS - OldBuffer + 1), then ASSERT().\r
 \r
   @param  OldSize        The size, in bytes, of OldBuffer.\r
   @param  NewSize        The size, in bytes, of the buffer to reallocate.\r
-  @param  OldBuffer      The buffer to copy to the allocated buffer.  This is an optional \r
-                         parameter that may be NULL.\r
+  @param  OldBuffer      The buffer to copy to the allocated buffer.  This is an \r
+                         optional parameter that may be NULL.\r
 \r
   @return A pointer to the allocated buffer or NULL if allocation fails.\r
 \r
@@ -736,19 +748,19 @@ ReallocatePool (
   Reallocates a buffer of type EfiRuntimeServicesData.\r
 \r
   Allocates and zeros the number bytes specified by NewSize from memory of type\r
-  EfiRuntimeServicesData.  If OldBuffer is not NULL, then the smaller of OldSize and \r
-  NewSize bytes are copied from OldBuffer to the newly allocated buffer, and \r
+  EfiRuntimeServicesData.  If OldBuffer is not NULL, then the smaller of OldSize \r
+  and NewSize bytes are copied from OldBuffer to the newly allocated buffer, and \r
   OldBuffer is freed.  A pointer to the newly allocated buffer is returned.  \r
   If NewSize is 0, then a valid buffer of 0 size is  returned.  If there is not \r
   enough memory remaining to satisfy the request, then NULL is returned.\r
 \r
-  If the allocation of the new buffer is successful and the smaller of NewSize and OldSize\r
-  is greater than (MAX_ADDRESS - OldBuffer + 1), then ASSERT().\r
+  If the allocation of the new buffer is successful and the smaller of NewSize \r
+  and OldSize is greater than (MAX_ADDRESS - OldBuffer + 1), then ASSERT().\r
 \r
   @param  OldSize        The size, in bytes, of OldBuffer.\r
   @param  NewSize        The size, in bytes, of the buffer to reallocate.\r
-  @param  OldBuffer      The buffer to copy to the allocated buffer.  This is an optional \r
-                         parameter that may be NULL.\r
+  @param  OldBuffer      The buffer to copy to the allocated buffer.  This is an \r
+                         optional parameter that may be NULL.\r
 \r
   @return A pointer to the allocated buffer or NULL if allocation fails.\r
 \r
@@ -768,19 +780,19 @@ ReallocateRuntimePool (
   Reallocates a buffer of type EfiReservedMemoryType.\r
 \r
   Allocates and zeros the number bytes specified by NewSize from memory of type\r
-  EfiReservedMemoryType.  If OldBuffer is not NULL, then the smaller of OldSize and \r
-  NewSize bytes are copied from OldBuffer to the newly allocated buffer, and \r
+  EfiReservedMemoryType.  If OldBuffer is not NULL, then the smaller of OldSize \r
+  and NewSize bytes are copied from OldBuffer to the newly allocated buffer, and \r
   OldBuffer is freed.  A pointer to the newly allocated buffer is returned.  \r
   If NewSize is 0, then a valid buffer of 0 size is  returned.  If there is not \r
   enough memory remaining to satisfy the request, then NULL is returned.\r
 \r
-  If the allocation of the new buffer is successful and the smaller of NewSize and OldSize\r
-  is greater than (MAX_ADDRESS - OldBuffer + 1), then ASSERT().\r
+  If the allocation of the new buffer is successful and the smaller of NewSize \r
+  and OldSize is greater than (MAX_ADDRESS - OldBuffer + 1), then ASSERT().\r
 \r
   @param  OldSize        The size, in bytes, of OldBuffer.\r
   @param  NewSize        The size, in bytes, of the buffer to reallocate.\r
-  @param  OldBuffer      The buffer to copy to the allocated buffer.  This is an optional \r
-                         parameter that may be NULL.\r
+  @param  OldBuffer      The buffer to copy to the allocated buffer.  This is an \r
+                         optional parameter that may be NULL.\r
 \r
   @return A pointer to the allocated buffer or NULL if allocation fails.\r
 \r
@@ -797,15 +809,16 @@ ReallocateReservedPool (
 }\r
 \r
 /**\r
-  Frees a buffer that was previously allocated with one of the pool allocation functions in the\r
-  Memory Allocation Library.\r
+  Frees a buffer that was previously allocated with one of the pool allocation \r
+  functions in the Memory Allocation Library.\r
 \r
-  Frees the buffer specified by Buffer.  Buffer must have been allocated on a previous call to the\r
-  pool allocation services of the Memory Allocation Library.  If it is not possible to free pool\r
-  resources, then this function will perform no actions.\r
+  Frees the buffer specified by Buffer.  Buffer must have been allocated on a \r
+  previous call to the pool allocation services of the Memory Allocation Library.  \r
+  If it is not possible to free pool resources, then this function will perform \r
+  no actions.\r
   \r
-  If Buffer was not allocated with a pool allocation function in the Memory Allocation Library,\r
-  then ASSERT().\r
+  If Buffer was not allocated with a pool allocation function in the Memory \r
+  Allocation Library, then ASSERT().\r
 \r
   @param  Buffer                The pointer to the buffer to free.\r
 \r
index ec883c9e7a0367c079469d8a92bfa94479dfa681..d8b7e72dbda94a83ec6a037ff4ec7d41396b286b 100644 (file)
@@ -83,7 +83,7 @@ PciLibConstructor (
 \r
   @param  Address The address that encodes the PCI Bus, Device, Function and\r
                   Register.\r
-  @param  Width   Width of data to read\r
+  @param  Width   The width of data to read\r
 \r
   @return The value read from the PCI configuration register.\r
 \r
@@ -117,7 +117,7 @@ SmmPciLibPciRootBridgeIoReadWorker (
 \r
   @param  Address The address that encodes the PCI Bus, Device, Function and\r
                   Register.\r
-  @param  Width   Width of data to write\r
+  @param  Width   The width of data to write\r
   @param  Data    The value to write.\r
 \r
   @return The value written to the PCI configuration register.\r
index 43a3f32630705b40045e8897ca9a43f7fdb5fa2c..cb0d07032cc96a1131ae7616b54646cc68a2f3d4 100644 (file)
@@ -1,11 +1,11 @@
 /** @file\r
   Entry point library instance to a UEFI application.\r
 \r
-Copyright (c) 2007 - 2008, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2007 - 2010, 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
-http://opensource.org/licenses/bsd-license.php\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
@@ -26,8 +26,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
   If _gUefiDriverRevision is not zero and SystemTable->Hdr.Revision is less than _gUefiDriverRevison,\r
   then return EFI_INCOMPATIBLE_VERSION.\r
 \r
-  @param  ImageHandle  The image handle of the UEFI Application.\r
-  @param  SystemTable  A pointer to the EFI System Table.\r
+  @param  ImageHandle                The image handle of the UEFI Application.\r
+  @param  SystemTable                A pointer to the EFI System Table.\r
 \r
   @retval  EFI_SUCCESS               The UEFI Application exited normally.\r
   @retval  EFI_INCOMPATIBLE_VERSION  _gUefiDriverRevision is greater than SystemTable->Hdr.Revision.\r
index e9eb06797ecb0e2c0cb8a21b4b69090862846480..7893ec675ca28f3d6d4a3c1e3b9e7c1c345bea24 100644 (file)
@@ -37,7 +37,7 @@
 \r
   @param  ErrorLevel  The error level of the debug message.\r
   @param  Format      Format string for the debug message to print.\r
-  @param  ...         Variable argument list whose contents are accessed \r
+  @param  ...         A variable argument list whose contents are accessed \r
                       based on the format string specified by Format.\r
 \r
 **/\r
@@ -97,8 +97,10 @@ DebugPrint (
   If FileName is NULL, then a <FileName> string of "(NULL) Filename" is printed.\r
   If Description is NULL, then a <Description> string of "(NULL) Description" is printed.\r
 \r
-  @param  FileName     The pointer to the name of the source file that generated the assert condition.\r
-  @param  LineNumber   The line number in the source file that generated the assert condition\r
+  @param  FileName     The pointer to the name of the source file that generated \r
+                       the assert condition.\r
+  @param  LineNumber   The line number in the source file that generated the \r
+                       assert condition\r
   @param  Description  The pointer to the description of the assert condition.\r
 \r
 **/\r
index c7b60fffff342e3ae4a99acf6919928b683f7a8d..29a619b14a2a5da6ff566e6cd6b4355966693b42 100644 (file)
@@ -38,8 +38,8 @@
   If Format is NULL, then ASSERT().\r
 \r
   @param  ErrorLevel  The error level of the debug message.\r
-  @param  Format      Format string for the debug message to print.\r
-  @param  ...         Variable argument list whose contents are accessed \r
+  @param  Format      The format string for the debug message to print.\r
+  @param  ...         The variable argument list whose contents are accessed \r
                       based on the format string specified by Format.\r
 \r
 **/\r
@@ -98,8 +98,10 @@ DebugPrint (
   If FileName is NULL, then a <FileName> string of "(NULL) Filename" is printed.\r
   If Description is NULL, then a <Description> string of "(NULL) Description" is printed.\r
 \r
-  @param  FileName     The pointer to the name of the source file that generated the assert condition.\r
-  @param  LineNumber   The line number in the source file that generated the assert condition\r
+  @param  FileName     The pointer to the name of the source file that generated \r
+                       the assert condition.\r
+  @param  LineNumber   The line number in the source file that generated the \r
+                       assert condition\r
   @param  Description  The pointer to the description of the assert condition.\r
 \r
 **/\r
index 69f9eb77b34d333f2d214e915b77323bffc5aaac..db065e4f3aefb01103544be8f45d80f7176e1b57 100644 (file)
@@ -8,7 +8,7 @@
   environment varibles. Multi-instance device paths should never be placed\r
   on a Handle.\r
 \r
-  Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2010, 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
@@ -113,13 +113,15 @@ DevicePathNodeLength (
 /**\r
   Returns a pointer to the next node in a device path.\r
 \r
-  Returns a pointer to the device path node that follows the device path node specified by Node.\r
+  Returns a pointer to the device path node that follows the device path node \r
+  specified by Node.\r
 \r
   If Node is NULL, then ASSERT().\r
 \r
   @param  Node      A pointer to a device path node data structure.\r
 \r
-  @return a pointer to the device path node that follows the device path node specified by Node.\r
+  @return a pointer to the device path node that follows the device path node \r
+  specified by Node.\r
 \r
 **/\r
 EFI_DEVICE_PATH_PROTOCOL *\r
@@ -134,7 +136,8 @@ NextDevicePathNode (
 \r
 /**\r
   Determines if a device path node is an end node of a device path.\r
-  This includes nodes that are the end of a device path instance and nodes that are the end of an entire device path.\r
+  This includes nodes that are the end of a device path instance and nodes that \r
+  are the end of an entire device path.\r
 \r
   Determines if the device path node specified by Node is an end node of a device path.  \r
   This includes nodes that are the end of a device path instance and nodes that are the \r
@@ -145,8 +148,10 @@ NextDevicePathNode (
 \r
   @param  Node      A pointer to a device path node data structure.\r
 \r
-  @retval TRUE      The device path node specified by Node is an end node of a device path.\r
-  @retval FALSE     The device path node specified by Node is not an end node of a device path.\r
+  @retval TRUE      The device path node specified by Node is an end node of a \r
+                    device path.\r
+  @retval FALSE     The device path node specified by Node is not an end node of \r
+                    a device path.\r
   \r
 **/\r
 BOOLEAN\r
@@ -162,15 +167,18 @@ IsDevicePathEndType (
 /**\r
   Determines if a device path node is an end node of an entire device path.\r
 \r
-  Determines if a device path node specified by Node is an end node of an entire device path.\r
-  If Node represents the end of an entire device path, then TRUE is returned.  Otherwise, FALSE is returned.\r
+  Determines if a device path node specified by Node is an end node of an entire \r
+  device path. If Node represents the end of an entire device path, then TRUE is \r
+  returned.  Otherwise, FALSE is returned.\r
 \r
   If Node is NULL, then ASSERT().\r
 \r
   @param  Node      A pointer to a device path node data structure.\r
 \r
-  @retval TRUE      The device path node specified by Node is the end of an entire device path.\r
-  @retval FALSE     The device path node specified by Node is not the end of an entire device path.\r
+  @retval TRUE      The device path node specified by Node is the end of an entire \r
+                    device path.\r
+  @retval FALSE     The device path node specified by Node is not the end of an \r
+                    entire device path.\r
 \r
 **/\r
 BOOLEAN\r
@@ -186,15 +194,18 @@ IsDevicePathEnd (
 /**\r
   Determines if a device path node is an end node of a device path instance.\r
 \r
-  Determines if a device path node specified by Node is an end node of a device path instance.\r
-  If Node represents the end of a device path instance, then TRUE is returned.  Otherwise, FALSE is returned.\r
+  Determines if a device path node specified by Node is an end node of a device \r
+  path instance. If Node represents the end of a device path instance, then TRUE \r
+  is returned.  Otherwise, FALSE is returned.\r
 \r
   If Node is NULL, then ASSERT().\r
 \r
   @param  Node      A pointer to a device path node data structure.\r
 \r
-  @retval TRUE      The device path node specified by Node is the end of a device path instance.\r
-  @retval FALSE     The device path node specified by Node is not the end of a device path instance.\r
+  @retval TRUE      The device path node specified by Node is the end of a device \r
+                    path instance.\r
+  @retval FALSE     The device path node specified by Node is not the end of a \r
+                    device path instance.\r
 \r
 **/\r
 BOOLEAN\r
@@ -265,13 +276,14 @@ SetDevicePathEndNode (
 /**\r
   Returns the size of a device path in bytes.\r
 \r
-  This function returns the size, in bytes, of the device path data structure specified by\r
-  DevicePath including the end of device path node.  If DevicePath is NULL, then 0 is returned.\r
+  This function returns the size, in bytes, of the device path data structure \r
+  specified by DevicePath including the end of device path node.  If DevicePath \r
+  is NULL, then 0 is returned.\r
 \r
-  @param  DevicePath                 A pointer to a device path data structure.\r
+  @param  DevicePath  A pointer to a device path data structure.\r
   \r
-  @retval 0       If DevicePath is NULL.\r
-  @retval Others  The size of a device path in bytes.\r
+  @retval 0           If DevicePath is NULL.\r
+  @retval Others      The size of a device path in bytes.\r
 \r
 **/\r
 UINTN\r
@@ -303,17 +315,17 @@ GetDevicePathSize (
 /**\r
   Creates a new copy of an existing device path.\r
 \r
-  This function allocates space for a new copy of the device path specified by DevicePath.  If\r
-  DevicePath is NULL, then NULL is returned.  If the memory is successfully allocated, then the\r
-  contents of DevicePath are copied to the newly allocated buffer, and a pointer to that buffer\r
-  is returned.  Otherwise, NULL is returned.  \r
+  This function allocates space for a new copy of the device path specified by DevicePath.  \r
+  If DevicePath is NULL, then NULL is returned.  If the memory is successfully \r
+  allocated, then the contents of DevicePath are copied to the newly allocated \r
+  buffer, and a pointer to that buffer is returned.  Otherwise, NULL is returned.  \r
   The memory for the new device path is allocated from EFI boot services memory. \r
   It is the responsibility of the caller to free the memory allocated. \r
   \r
-  @param  DevicePath                 A pointer to a device path data structure.\r
+  @param  DevicePath    A pointer to a device path data structure.\r
 \r
-  @retval NULL    If DevicePath is NULL.\r
-  @retval Others  A pointer to the duplicated device path.\r
+  @retval NULL          If DevicePath is NULL.\r
+  @retval Others        A pointer to the duplicated device path.\r
   \r
 **/\r
 EFI_DEVICE_PATH_PROTOCOL *\r
@@ -342,16 +354,17 @@ DuplicateDevicePath (
 /**\r
   Creates a new device path by appending a second device path to a first device path.\r
 \r
-  This function creates a new device path by appending a copy of SecondDevicePath to a copy of\r
-  FirstDevicePath in a newly allocated buffer.  Only the end-of-device-path device node from\r
-  SecondDevicePath is retained. The newly created device path is returned.  \r
-  If FirstDevicePath is NULL, then it is ignored, and a duplicate of SecondDevicePath is returned.  \r
-  If SecondDevicePath is NULL, then it is ignored, and a duplicate of FirstDevicePath is returned.  \r
-  If both FirstDevicePath and SecondDevicePath are NULL, then a copy of an end-of-device-path is\r
-  returned.  \r
+  This function creates a new device path by appending a copy of SecondDevicePath \r
+  to a copy of FirstDevicePath in a newly allocated buffer.  Only the end-of-device-path \r
+  device node from SecondDevicePath is retained. The newly created device path is \r
+  returned. If FirstDevicePath is NULL, then it is ignored, and a duplicate of \r
+  SecondDevicePath is returned.  If SecondDevicePath is NULL, then it is ignored, \r
+  and a duplicate of FirstDevicePath is returned. If both FirstDevicePath and \r
+  SecondDevicePath are NULL, then a copy of an end-of-device-path is returned.  \r
+  \r
   If there is not enough memory for the newly allocated buffer, then NULL is returned.\r
-  The memory for the new device path is allocated from EFI boot services memory. It is the\r
-  responsibility of the caller to free the memory allocated.\r
+  The memory for the new device path is allocated from EFI boot services memory. \r
+  It is the responsibility of the caller to free the memory allocated.\r
 \r
   @param  FirstDevicePath            A pointer to a device path data structure.\r
   @param  SecondDevicePath           A pointer to a device path data structure.\r
@@ -411,17 +424,19 @@ AppendDevicePath (
 /**\r
   Creates a new path by appending the device node to the device path.\r
 \r
-  This function creates a new device path by appending a copy of the device node specified by\r
-  DevicePathNode to a copy of the device path specified by DevicePath in an allocated buffer.\r
-  The end-of-device-path device node is moved after the end of the appended device node.\r
+  This function creates a new device path by appending a copy of the device node \r
+  specified by DevicePathNode to a copy of the device path specified by DevicePath \r
+  in an allocated buffer. The end-of-device-path device node is moved after the \r
+  end of the appended device node.\r
   If DevicePathNode is NULL then a copy of DevicePath is returned.\r
-  If DevicePath is NULL then a copy of DevicePathNode, followed by an end-of-device path device\r
-  node is returned.\r
-  If both DevicePathNode and DevicePath are NULL then a copy of an end-of-device-path device node\r
-  is returned.\r
-  If there is not enough memory to allocate space for the new device path, then NULL is returned.  \r
-  The memory is allocated from EFI boot services memory. It is the responsibility of the caller to\r
-  free the memory allocated.\r
+  If DevicePath is NULL then a copy of DevicePathNode, followed by an end-of-device \r
+  path device node is returned.\r
+  If both DevicePathNode and DevicePath are NULL then a copy of an end-of-device-path \r
+  device node is returned.\r
+  If there is not enough memory to allocate space for the new device path, then \r
+  NULL is returned.  \r
+  The memory is allocated from EFI boot services memory. It is the responsibility \r
+  of the caller to free the memory allocated.\r
 \r
   @param  DevicePath                 A pointer to a device path data structure.\r
   @param  DevicePathNode             A pointer to a single device path node.\r
@@ -430,7 +445,8 @@ AppendDevicePath (
   @retval Others    A pointer to the new device path if success.\r
                     A copy of DevicePathNode followed by an end-of-device-path node \r
                     if both FirstDevicePath and SecondDevicePath are NULL.\r
-                    A copy of an end-of-device-path node if both FirstDevicePath and SecondDevicePath are NULL.\r
+                    A copy of an end-of-device-path node if both FirstDevicePath \r
+                    and SecondDevicePath are NULL.\r
 \r
 **/\r
 EFI_DEVICE_PATH_PROTOCOL *\r
@@ -477,15 +493,17 @@ AppendDevicePathNode (
   Creates a new device path by appending the specified device path instance to the specified device\r
   path.\r
  \r
-  This function creates a new device path by appending a copy of the device path instance specified\r
-  by DevicePathInstance to a copy of the device path secified by DevicePath in a allocated buffer.\r
-  The end-of-device-path device node is moved after the end of the appended device path instance\r
-  and a new end-of-device-path-instance node is inserted between. \r
+  This function creates a new device path by appending a copy of the device path \r
+  instance specified by DevicePathInstance to a copy of the device path specified \r
+  by DevicePath in a allocated buffer.\r
+  The end-of-device-path device node is moved after the end of the appended device \r
+  path instance and a new end-of-device-path-instance node is inserted between. \r
   If DevicePath is NULL, then a copy if DevicePathInstance is returned.\r
   If DevicePathInstance is NULL, then NULL is returned.\r
-  If there is not enough memory to allocate space for the new device path, then NULL is returned.  \r
-  The memory is allocated from EFI boot services memory. It is the responsibility of the caller to\r
-  free the memory allocated.\r
+  If there is not enough memory to allocate space for the new device path, then \r
+  NULL is returned.  \r
+  The memory is allocated from EFI boot services memory. It is the responsibility \r
+  of the caller to free the memory allocated.\r
   \r
   @param  DevicePath                 A pointer to a device path data structure.\r
   @param  DevicePathInstance         A pointer to a device path instance.\r
@@ -537,22 +555,25 @@ AppendDevicePathInstance (
   Creates a copy of the current device path instance and returns a pointer to the next device path\r
   instance.\r
 \r
-  This function creates a copy of the current device path instance. It also updates DevicePath to\r
-  point to the next device path instance in the device path (or NULL if no more) and updates Size\r
-  to hold the size of the device path instance copy.\r
+  This function creates a copy of the current device path instance. It also updates \r
+  DevicePath to point to the next device path instance in the device path (or NULL \r
+  if no more) and updates Size to hold the size of the device path instance copy.\r
   If DevicePath is NULL, then NULL is returned.\r
-  If there is not enough memory to allocate space for the new device path, then NULL is returned.  \r
-  The memory is allocated from EFI boot services memory. It is the responsibility of the caller to\r
-  free the memory allocated.\r
+  If there is not enough memory to allocate space for the new device path, then \r
+  NULL is returned.  \r
+  The memory is allocated from EFI boot services memory. It is the responsibility \r
+  of the caller to free the memory allocated.\r
   If Size is NULL, then ASSERT().\r
  \r
-  @param  DevicePath                 On input, this holds the pointer to the current device path\r
-                                     instance. On output, this holds the pointer to the next device\r
-                                     path instance or NULL if there are no more device path\r
-                                     instances in the device path pointer to a device path data\r
-                                     structure.\r
-  @param  Size                       On output, this holds the size of the device path instance, in\r
-                                     bytes or zero, if DevicePath is NULL.\r
+  @param  DevicePath                 On input, this holds the pointer to the current \r
+                                     device path instance. On output, this holds \r
+                                     the pointer to the next device path instance \r
+                                     or NULL if there are no more device path\r
+                                     instances in the device path pointer to a \r
+                                     device path data structure.\r
+  @param  Size                       On output, this holds the size of the device \r
+                                     path instance, in bytes or zero, if DevicePath \r
+                                     is NULL.\r
 \r
   @return A pointer to the current device path instance.\r
 \r
@@ -612,13 +633,14 @@ GetNextDevicePathInstance (
 /**\r
   Creates a device node.\r
 \r
-  This function creates a new device node in a newly allocated buffer of size NodeLength and\r
-  initializes the device path node header with NodeType and NodeSubType.  The new device path node\r
-  is returned.\r
+  This function creates a new device node in a newly allocated buffer of size \r
+  NodeLength and initializes the device path node header with NodeType and NodeSubType.  \r
+  The new device path node is returned.\r
   If NodeLength is smaller than a device path header, then NULL is returned.  \r
-  If there is not enough memory to allocate space for the new device path, then NULL is returned.  \r
-  The memory is allocated from EFI boot services memory. It is the responsibility of the caller to\r
-  free the memory allocated.\r
+  If there is not enough memory to allocate space for the new device path, then \r
+  NULL is returned.  \r
+  The memory is allocated from EFI boot services memory. It is the responsibility \r
+  of the caller to free the memory allocated.\r
 \r
   @param  NodeType                   The device node type for the new device node.\r
   @param  NodeSubType                The device node sub-type for the new device node.\r
@@ -657,13 +679,15 @@ CreateDeviceNode (
 /**\r
   Determines if a device path is single or multi-instance.\r
 \r
-  This function returns TRUE if the device path specified by DevicePath is multi-instance.\r
+  This function returns TRUE if the device path specified by DevicePath is\r
+  multi-instance.\r
   Otherwise, FALSE is returned.  If DevicePath is NULL, then FALSE is returned.\r
 \r
   @param  DevicePath                 A pointer to a device path data structure.\r
 \r
   @retval  TRUE                      DevicePath is multi-instance.\r
-  @retval  FALSE                     DevicePath is not multi-instance or DevicePath is NULL.\r
+  @retval  FALSE                     DevicePath is not multi-instance or DevicePath \r
+                                     is NULL.\r
 \r
 **/\r
 BOOLEAN\r
@@ -694,10 +718,12 @@ IsDevicePathMultiInstance (
 /**\r
   Retrieves the device path protocol from a handle.\r
 \r
-  This function returns the device path protocol from the handle specified by Handle.  If Handle is\r
-  NULL or Handle does not contain a device path protocol, then NULL is returned.\r
+  This function returns the device path protocol from the handle specified by Handle.  \r
+  If Handle is NULL or Handle does not contain a device path protocol, then NULL \r
+  is returned.\r
  \r
-  @param  Handle                     The handle from which to retrieve the device path protocol.\r
+  @param  Handle                     The handle from which to retrieve the device \r
+                                     path protocol.\r
 \r
   @return The device path protocol from the handle specified by Handle.\r
 \r
@@ -736,8 +762,8 @@ DevicePathFromHandle (
   If FileName is NULL, then ASSERT().\r
   If FileName is not aligned on a 16-bit boundary, then ASSERT().\r
 \r
-  @param  Device                     A pointer to a device handle.  This parameter is optional and\r
-                                     may be NULL.\r
+  @param  Device                     A pointer to a device handle.  This parameter \r
+                                     is optional and may be NULL.\r
   @param  FileName                   A pointer to a Null-terminated Unicode string.\r
 \r
   @return The allocated device path.\r
index 8b86eed3b0079d597998a34838654c8a4504b02e..8275dd611a8a49d26f25d6f374a76f3888196c8b 100644 (file)
@@ -2,7 +2,7 @@
   Library instance that implement UEFI Device Path Library class based on protocol\r
   gEfiDevicePathUtilitiesProtocolGuid.\r
 \r
-  Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2010, 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
@@ -143,13 +143,15 @@ DevicePathNodeLength (
 /**\r
   Returns a pointer to the next node in a device path.\r
 \r
-  Returns a pointer to the device path node that follows the device path node specified by Node.\r
+  Returns a pointer to the device path node that follows the device path node \r
+  specified by Node.\r
 \r
   If Node is NULL, then ASSERT().\r
 \r
   @param  Node      A pointer to a device path node data structure.\r
 \r
-  @return a pointer to the device path node that follows the device path node specified by Node.\r
+  @return a pointer to the device path node that follows the device path node \r
+  specified by Node.\r
 \r
 **/\r
 EFI_DEVICE_PATH_PROTOCOL *\r
@@ -164,7 +166,8 @@ NextDevicePathNode (
 \r
 /**\r
   Determines if a device path node is an end node of a device path.\r
-  This includes nodes that are the end of a device path instance and nodes that are the end of an entire device path.\r
+  This includes nodes that are the end of a device path instance and nodes that \r
+  are the end of an entire device path.\r
 \r
   Determines if the device path node specified by Node is an end node of a device path.  \r
   This includes nodes that are the end of a device path instance and nodes that are the \r
@@ -176,7 +179,8 @@ NextDevicePathNode (
   @param  Node      A pointer to a device path node data structure.\r
 \r
   @retval TRUE      The device path node specified by Node is an end node of a device path.\r
-  @retval FALSE     The device path node specified by Node is not an end node of a device path.\r
+  @retval FALSE     The device path node specified by Node is not an end node of \r
+                    a device path.\r
   \r
 **/\r
 BOOLEAN\r
@@ -192,8 +196,10 @@ IsDevicePathEndType (
 /**\r
   Determines if a device path node is an end node of an entire device path.\r
 \r
-  Determines if a device path node specified by Node is an end node of an entire device path.\r
-  If Node represents the end of an entire device path, then TRUE is returned.  Otherwise, FALSE is returned.\r
+  Determines if a device path node specified by Node is an end node of an entire \r
+  device path.\r
+  If Node represents the end of an entire device path, then TRUE is returned.  \r
+  Otherwise, FALSE is returned.\r
 \r
   If Node is NULL, then ASSERT().\r
 \r
@@ -216,15 +222,19 @@ IsDevicePathEnd (
 /**\r
   Determines if a device path node is an end node of a device path instance.\r
 \r
-  Determines if a device path node specified by Node is an end node of a device path instance.\r
-  If Node represents the end of a device path instance, then TRUE is returned.  Otherwise, FALSE is returned.\r
+  Determines if a device path node specified by Node is an end node of a device \r
+  path instance.\r
+  If Node represents the end of a device path instance, then TRUE is returned.  \r
+  Otherwise, FALSE is returned.\r
 \r
   If Node is NULL, then ASSERT().\r
 \r
   @param  Node      A pointer to a device path node data structure.\r
 \r
-  @retval TRUE      The device path node specified by Node is the end of a device path instance.\r
-  @retval FALSE     The device path node specified by Node is not the end of a device path instance.\r
+  @retval TRUE      The device path node specified by Node is the end of a device \r
+  path instance.\r
+  @retval FALSE     The device path node specified by Node is not the end of a \r
+  device path instance.\r
 \r
 **/\r
 BOOLEAN\r
@@ -316,8 +326,9 @@ GetDevicePathSize (
 /**\r
   Creates a new copy of an existing device path.\r
 \r
-  This function allocates space for a new copy of the device path specified by DevicePath.  If\r
-  DevicePath is NULL, then NULL is returned.  If the memory is successfully allocated, then the\r
+  This function allocates space for a new copy of the device path specified by \r
+  DevicePath.  If DevicePath is NULL, then NULL is returned.  \r
+  If the memory is successfully allocated, then the\r
   contents of DevicePath are copied to the newly allocated buffer, and a pointer to that buffer\r
   is returned.  Otherwise, NULL is returned.  \r
   The memory for the new device path is allocated from EFI boot services memory. \r
@@ -357,7 +368,8 @@ DuplicateDevicePath (
   \r
   @retval NULL      If there is not enough memory for the newly allocated buffer.\r
   @retval Others    A pointer to the new device path if success.\r
-                    Or a copy an end-of-device-path if both FirstDevicePath and SecondDevicePath are NULL.\r
+                    Or a copy an end-of-device-path if both FirstDevicePath and \r
+                    SecondDevicePath are NULL.\r
 \r
 **/\r
 EFI_DEVICE_PATH_PROTOCOL *\r
@@ -373,17 +385,19 @@ AppendDevicePath (
 /**\r
   Creates a new path by appending the device node to the device path.\r
 \r
-  This function creates a new device path by appending a copy of the device node specified by\r
-  DevicePathNode to a copy of the device path specified by DevicePath in an allocated buffer.\r
+  This function creates a new device path by appending a copy of the device node \r
+  specified by DevicePathNode to a copy of the device path specified by DevicePath \r
+  in an allocated buffer.\r
   The end-of-device-path device node is moved after the end of the appended device node.\r
   If DevicePathNode is NULL then a copy of DevicePath is returned.\r
-  If DevicePath is NULL then a copy of DevicePathNode, followed by an end-of-device path device\r
-  node is returned.\r
-  If both DevicePathNode and DevicePath are NULL then a copy of an end-of-device-path device node\r
-  is returned.\r
-  If there is not enough memory to allocate space for the new device path, then NULL is returned.  \r
-  The memory is allocated from EFI boot services memory. It is the responsibility of the caller to\r
-  free the memory allocated.\r
+  If DevicePath is NULL then a copy of DevicePathNode, followed by an end-of-device \r
+  path device node is returned.\r
+  If both DevicePathNode and DevicePath are NULL then a copy of an end-of-device-path \r
+  device node is returned.\r
+  If there is not enough memory to allocate space for the new device path, then \r
+  NULL is returned.  \r
+  The memory is allocated from EFI boot services memory. It is the responsibility \r
+  of the caller to free the memory allocated.\r
 \r
   @param  DevicePath                 A pointer to a device path data structure.\r
   @param  DevicePathNode             A pointer to a single device path node.\r
@@ -392,7 +406,8 @@ AppendDevicePath (
   @retval Others    A pointer to the new device path if success.\r
                     A copy of DevicePathNode followed by an end-of-device-path node \r
                     if both FirstDevicePath and SecondDevicePath are NULL.\r
-                    A copy of an end-of-device-path node if both FirstDevicePath and SecondDevicePath are NULL.\r
+                    A copy of an end-of-device-path node if both FirstDevicePath \r
+                    and SecondDevicePath are NULL.\r
 \r
 **/\r
 EFI_DEVICE_PATH_PROTOCOL *\r
@@ -406,18 +421,20 @@ AppendDevicePathNode (
 }\r
 \r
 /**\r
-  Creates a new device path by appending the specified device path instance to the specified device\r
-  path.\r
+  Creates a new device path by appending the specified device path instance to \r
+  the specified device path.\r
  \r
-  This function creates a new device path by appending a copy of the device path instance specified\r
-  by DevicePathInstance to a copy of the device path secified by DevicePath in a allocated buffer.\r
-  The end-of-device-path device node is moved after the end of the appended device path instance\r
-  and a new end-of-device-path-instance node is inserted between. \r
+  This function creates a new device path by appending a copy of the device path \r
+  instance specified by DevicePathInstance to a copy of the device path specified \r
+  by DevicePath in a allocated buffer.\r
+  The end-of-device-path device node is moved after the end of the appended device \r
+  path instance and a new end-of-device-path-instance node is inserted between. \r
   If DevicePath is NULL, then a copy if DevicePathInstance is returned.\r
   If DevicePathInstance is NULL, then NULL is returned.\r
-  If there is not enough memory to allocate space for the new device path, then NULL is returned.  \r
-  The memory is allocated from EFI boot services memory. It is the responsibility of the caller to\r
-  free the memory allocated.\r
+  If there is not enough memory to allocate space for the new device path, then \r
+  NULL is returned.   \r
+  The memory is allocated from EFI boot services memory. It is the responsibility \r
+  of the caller to free the memory allocated.\r
   \r
   @param  DevicePath                 A pointer to a device path data structure.\r
   @param  DevicePathInstance         A pointer to a device path instance.\r
@@ -436,25 +453,28 @@ AppendDevicePathInstance (
 }\r
 \r
 /**\r
-  Creates a copy of the current device path instance and returns a pointer to the next device path\r
-  instance.\r
+  Creates a copy of the current device path instance and returns a pointer to the \r
+  next device path instance.\r
 \r
-  This function creates a copy of the current device path instance. It also updates DevicePath to\r
-  point to the next device path instance in the device path (or NULL if no more) and updates Size\r
-  to hold the size of the device path instance copy.\r
+  This function creates a copy of the current device path instance. It also updates \r
+  DevicePath to point to the next device path instance in the device path (or NULL \r
+  if no more) and updates Size to hold the size of the device path instance copy.\r
   If DevicePath is NULL, then NULL is returned.\r
-  If there is not enough memory to allocate space for the new device path, then NULL is returned.  \r
-  The memory is allocated from EFI boot services memory. It is the responsibility of the caller to\r
-  free the memory allocated.\r
+  If there is not enough memory to allocate space for the new device path, then \r
+  NULL is returned.  \r
+  The memory is allocated from EFI boot services memory. It is the responsibility \r
+  of the caller to free the memory allocated.\r
   If Size is NULL, then ASSERT().\r
  \r
-  @param  DevicePath                 On input, this holds the pointer to the current device path\r
-                                     instance. On output, this holds the pointer to the next device\r
-                                     path instance or NULL if there are no more device path\r
-                                     instances in the device path pointer to a device path data\r
-                                     structure.\r
-  @param  Size                       On output, this holds the size of the device path instance, in\r
-                                     bytes or zero, if DevicePath is NULL.\r
+  @param  DevicePath                 On input, this holds the pointer to the current \r
+                                     device path instance. On output, this holds \r
+                                     the pointer to the next device path instance \r
+                                     or NULL if there are no more device path\r
+                                     instances in the device path pointer to a \r
+                                     device path data structure.\r
+  @param  Size                       On output, this holds the size of the device \r
+                                     path instance, in bytes or zero, if DevicePath \r
+                                     is NULL.\r
 \r
   @return A pointer to the current device path instance.\r
 \r
@@ -473,12 +493,14 @@ GetNextDevicePathInstance (
 /**\r
   Creates a device node.\r
 \r
-  This function creates a new device node in a newly allocated buffer of size NodeLength and\r
-  initializes the device path node header with NodeType and NodeSubType.  The new device path node\r
-  is returned.\r
+  This function creates a new device node in a newly allocated buffer of size \r
+  NodeLength and initializes the device path node header with NodeType and NodeSubType.  \r
+  The new device path node is returned.\r
   If NodeLength is smaller than a device path header, then NULL is returned.  \r
-  If there is not enough memory to allocate space for the new device path, then NULL is returned.  \r
-  The memory is allocated from EFI boot services memory. It is the responsibility of the caller to\r
+  If there is not enough memory to allocate space for the new device path, then \r
+  NULL is returned.  \r
+  The memory is allocated from EFI boot services memory. It is the responsibility \r
+  of the caller to\r
   free the memory allocated.\r
 \r
   @param  NodeType                   The device node type for the new device node.\r
@@ -502,13 +524,15 @@ CreateDeviceNode (
 /**\r
   Determines if a device path is single or multi-instance.\r
 \r
-  This function returns TRUE if the device path specified by DevicePath is multi-instance.\r
+  This function returns TRUE if the device path specified by DevicePath is \r
+  multi-instance.\r
   Otherwise, FALSE is returned.  If DevicePath is NULL, then FALSE is returned.\r
 \r
   @param  DevicePath                 A pointer to a device path data structure.\r
 \r
   @retval  TRUE                      DevicePath is multi-instance.\r
-  @retval  FALSE                     DevicePath is not multi-instance or DevicePath is NULL.\r
+  @retval  FALSE                     DevicePath is not multi-instance or DevicePath \r
+                                     is NULL.\r
 \r
 **/\r
 BOOLEAN\r
@@ -523,10 +547,12 @@ IsDevicePathMultiInstance (
 /**\r
   Retrieves the device path protocol from a handle.\r
 \r
-  This function returns the device path protocol from the handle specified by Handle.  If Handle is\r
-  NULL or Handle does not contain a device path protocol, then NULL is returned.\r
+  This function returns the device path protocol from the handle specified by Handle.  \r
+  If Handle is NULL or Handle does not contain a device path protocol, then NULL \r
+  is returned.\r
  \r
-  @param  Handle                     The handle from which to retrieve the device path protocol.\r
+  @param  Handle                     The handle from which to retrieve the device \r
+                                     path protocol.\r
 \r
   @return The device path protocol from the handle specified by Handle.\r
 \r
@@ -554,19 +580,20 @@ DevicePathFromHandle (
 /**\r
   Allocates a device path for a file and appends it to an existing device path.\r
 \r
-  If Device is a valid device handle that contains a device path protocol, then a device path for\r
-  the file specified by FileName  is allocated and appended to the device path associated with the\r
-  handle Device.  The allocated device path is returned.  If Device is NULL or Device is a handle\r
-  that does not support the device path protocol, then a device path containing a single device\r
-  path node for the file specified by FileName is allocated and returned.\r
-  The memory for the new device path is allocated from EFI boot services memory. It is the responsibility\r
-  of the caller to free the memory allocated.\r
+  If Device is a valid device handle that contains a device path protocol, then \r
+  a device path for the file specified by FileName  is allocated and appended to \r
+  the device path associated with the handle Device.  The allocated device path \r
+  is returned.  If Device is NULL or Device is a handle that does not support the \r
+  device path protocol, then a device path containing a single device path node \r
+  for the file specified by FileName is allocated and returned.\r
+  The memory for the new device path is allocated from EFI boot services memory. \r
+  It is the responsibility of the caller to free the memory allocated.\r
   \r
   If FileName is NULL, then ASSERT().\r
   If FileName is not aligned on a 16-bit boundary, then ASSERT().\r
 \r
-  @param  Device                     A pointer to a device handle.  This parameter is optional and\r
-                                     may be NULL.\r
+  @param  Device                     A pointer to a device handle.  This parameter \r
+                                     is optional and may be NULL.\r
   @param  FileName                   A pointer to a Null-terminated Unicode string.\r
 \r
   @return The allocated device path.\r
index c52ed9afa81ed95fbd5411360874c9ca44142550..17eeaf396c64a2652465a454060f8cc19fa9329c 100644 (file)
@@ -63,25 +63,28 @@ _DriverUnloadHandler (
 \r
 \r
 /**\r
-  The entry point of PE/COFF Image for a DXE Driver, DXE Runtime Driver, DXE SMM Driver, or UEFI Driver. \r
+  The entry point of PE/COFF Image for a DXE Driver, DXE Runtime Driver, DXE SMM \r
+  Driver, or UEFI Driver. \r
 \r
   This function is the entry point for a DXE Driver, DXE Runtime Driver, DXE SMM Driver,\r
   or UEFI Driver.  This function must call ProcessLibraryConstructorList() and\r
   ProcessModuleEntryPointList(). If the return status from ProcessModuleEntryPointList()\r
-  is an error status, then ProcessLibraryDestructorList() must be called. The return value\r
-  from ProcessModuleEntryPointList() is returned. If _gDriverUnloadImageCount is greater\r
-  than zero, then an unload handler must be registered for this image and the unload handler\r
-  must invoke ProcessModuleUnloadList().\r
-  If _gUefiDriverRevision is not zero and SystemTable->Hdr.Revision is less than _gUefiDriverRevison,\r
-  then return EFI_INCOMPATIBLE_VERSION.\r
+  is an error status, then ProcessLibraryDestructorList() must be called. The return \r
+  value from ProcessModuleEntryPointList() is returned. If _gDriverUnloadImageCount \r
+  is greater than zero, then an unload handler must be registered for this image \r
+  and the unload handler must invoke ProcessModuleUnloadList().\r
+  If _gUefiDriverRevision is not zero and SystemTable->Hdr.Revision is less than \r
+  _gUefiDriverRevison, then return EFI_INCOMPATIBLE_VERSION.\r
 \r
 \r
-  @param  ImageHandle  The image handle of the DXE Driver, DXE Runtime Driver, DXE SMM Driver, or UEFI Driver.\r
+  @param  ImageHandle  The image handle of the DXE Driver, DXE Runtime Driver, \r
+                       DXE SMM Driver, or UEFI Driver.\r
   @param  SystemTable  A pointer to the EFI System Table.\r
 \r
-  @retval  EFI_SUCCESS               The DXE Driver, DXE Runtime Driver, DXE SMM Driver,\r
-                                     or UEFI Driver exited normally.\r
-  @retval  EFI_INCOMPATIBLE_VERSION  _gUefiDriverRevision is greater than SystemTable->Hdr.Revision.\r
+  @retval  EFI_SUCCESS               The DXE Driver, DXE Runtime Driver, DXE SMM \r
+                                     Driver, or UEFI Driver exited normally.\r
+  @retval  EFI_INCOMPATIBLE_VERSION  _gUefiDriverRevision is greater than \r
+                                    SystemTable->Hdr.Revision.\r
   @retval  Other                     Return value from ProcessModuleEntryPointList().\r
 \r
 **/\r
@@ -144,14 +147,17 @@ _ModuleEntryPoint (
 /**\r
   Required by the EBC compiler and identical in functionality to _ModuleEntryPoint(). \r
 \r
-  This function is required to call _ModuleEntryPoint() passing in ImageHandle, and SystemTable.\r
+  This function is required to call _ModuleEntryPoint() passing in ImageHandle,\r
+  and SystemTable.\r
 \r
-  @param  ImageHandle  The image handle of the DXE Driver, DXE Runtime Driver, DXE SMM Driver, or UEFI Driver.\r
+  @param  ImageHandle  The image handle of the DXE Driver, DXE Runtime Driver, DXE \r
+                       SMM Driver, or UEFI Driver.\r
   @param  SystemTable  A pointer to the EFI System Table.\r
 \r
-  @retval  EFI_SUCCESS               The DXE Driver, DXE Runtime Driver, DXE SMM Driver,\r
-                                     or UEFI Driver exited normally.\r
-  @retval  EFI_INCOMPATIBLE_VERSION  _gUefiDriverRevision is greater than SystemTable->Hdr.Revision.\r
+  @retval  EFI_SUCCESS               The DXE Driver, DXE Runtime Driver, DXE SMM \r
+                                     Driver, or UEFI Driver exited normally.\r
+  @retval  EFI_INCOMPATIBLE_VERSION  _gUefiDriverRevision is greater than \r
+                                     SystemTable->Hdr.Revision.\r
   @retval  Other                     Return value from ProcessModuleEntryPointList().\r
 **/\r
 EFI_STATUS\r
index 8e7ca6dbe598f0469b97ffffa761f6cd03899e35..5a7684ecff585d9e79dc24b291fbc27088e26028 100644 (file)
@@ -248,13 +248,13 @@ GetGlyphWidth (
 /**\r
   Computes the display length of a Null-terminated Unicode String.\r
 \r
-  This function computes and returns the display length of the Null-terminated Unicode\r
-  string specified by String.  If String is NULL then 0 is returned. If any of the widths\r
-  of the Unicode characters in String can not be determined, then 0 is returned. The display\r
-  width of String can be computed by summing the display widths of each Unicode character\r
-  in String.  Unicode characters that are narrow glyphs have a width of 1, and Unicode\r
-  characters that are width glyphs have a width of 2. \r
-  If String is not aligned on a 16-bit boundary, then ASSERT().\r
+  This function computes and returns the display length of the Null-terminated \r
+  Unicode string specified by String.  If String is NULL then 0 is returned. If \r
+  any of the widths of the Unicode characters in String can not be determined, \r
+  then 0 is returned. The display width of String can be computed by summing the \r
+  display widths of each Unicode character in String.  Unicode characters that \r
+  are narrow glyphs have a width of 1, and Unicode characters that are width glyphs \r
+  have a width of 2.  If String is not aligned on a 16-bit boundary, then ASSERT().\r
 \r
   @param  String      A pointer to a Null-terminated Unicode string.\r
 \r
index 68be087c8a5a2181b6bc2471a3b67e9ee8b56b12..05f6ec8427b67c45e7ed7f0e13345d1222abceb5 100644 (file)
@@ -33,7 +33,7 @@
   @param  DriverBindingHandle  The handle that DriverBinding is to be installed onto.  If this\r
                                parameter is NULL, then a new handle is created.\r
 \r
-  @retval EFI_SUCCESS           The protocol installation is completed successfully.\r
+  @retval EFI_SUCCESS           The protocol installation successfully completed.\r
   @retval EFI_OUT_OF_RESOURCES  There was not enough system resources to install the protocol.\r
   @retval Others                Status from gBS->InstallMultipleProtocolInterfaces().\r
 \r
@@ -93,7 +93,7 @@ EfiLibInstallDriverBinding (
   @param  DriverConfiguration  A Driver Configuration Protocol instance that this driver is producing.\r
   @param  DriverDiagnostics    A Driver Diagnostics Protocol instance that this driver is producing.\r
 \r
-  @retval EFI_SUCCESS           The protocol installation is completed successfully.\r
+  @retval EFI_SUCCESS           The protocol installation successfully completed.\r
   @retval EFI_OUT_OF_RESOURCES  There was not enough memory in pool to install all the protocols.\r
 \r
 **/\r
@@ -222,7 +222,7 @@ EfiLibInstallAllDriverProtocols (
   @param  ComponentName        A Component Name Protocol instance that this driver is producing.\r
   @param  ComponentName2       A Component Name 2 Protocol instance that this driver is producing.\r
 \r
-  @retval EFI_SUCCESS           The protocol installation is completed successfully.\r
+  @retval EFI_SUCCESS           The protocol installation successfully completed.\r
   @retval EFI_OUT_OF_RESOURCES  There was not enough memory in pool to install all the protocols.\r
 \r
 **/\r
@@ -315,7 +315,7 @@ EfiLibInstallDriverBindingComponentName2 (
   @param  DriverDiagnostics     A Driver Diagnostics Protocol instance that this driver is producing.\r
   @param  DriverDiagnostics2    A Driver Diagnostics Protocol 2 instance that this driver is producing.\r
 \r
-  @retval EFI_SUCCESS           The protocol installation is completed successfully.\r
+  @retval EFI_SUCCESS           The protocol installation successfully completed.\r
   @retval EFI_OUT_OF_RESOURCES  There was not enough memory in pool to install all the protocols.\r
 \r
 **/\r
index e1e9f756f567f0bc1f823693036370ed15762053..6fa3b34e83cdc3cdd249d022963f7df12cc81d21 100644 (file)
@@ -5,7 +5,7 @@
   EFI Driver Model related protocols, manage Unicode string tables for UEFI Drivers, \r
   and print messages on the console output and standard error devices.\r
 \r
-  Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2010, 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
@@ -55,7 +55,7 @@ CompareIso639LanguageCode (
   If TableGuid is NULL, then ASSERT().\r
   If Table is NULL, then ASSERT().\r
 \r
-  @param  TableGuid       The pointer to table's GUID type..\r
+  @param  TableGuid       The pointer to table's GUID type.\r
   @param  Table           The pointer to the table associated with TableGuid in the EFI System Table.\r
 \r
   @retval EFI_SUCCESS     A configuration table matching TableGuid was found.\r
@@ -175,7 +175,7 @@ EfiCreateProtocolNotifyEvent(
   If NotifyTpl is not a legal TPL value, then ASSERT().\r
   If NotifyFunction is NULL, then ASSERT().\r
 \r
-  @param  Name                  Supplies GUID name of the event.\r
+  @param  Name                  Supplies the GUID name of the event.\r
   @param  NotifyTpl             Supplies the task priority level of the event notifications.\r
   @param  NotifyFunction        Supplies the function to notify when the event is signaled.\r
   @param  NotifyContext         The context parameter to pass to NotifyFunction. \r
@@ -246,7 +246,7 @@ EfiNamedEventListen (
   created with EfiNamedEventListen().\r
   If Name is NULL, then ASSERT().\r
 \r
-  @param  Name                  Supplies GUID name of the event.\r
+  @param  Name                  Supplies the GUID name of the event.\r
 \r
   @retval EFI_SUCCESS           A named event was signaled.\r
   @retval EFI_OUT_OF_RESOURCES  There are not enough resource to signal the named event.\r
@@ -320,7 +320,7 @@ EfiGetCurrentTpl (
   If Priority is not a valid TPL value, then ASSERT().\r
 \r
   @param  Lock       A pointer to the lock data structure to initialize.\r
-  @param  Priority   EFI TPL associated with the lock.\r
+  @param  Priority   EFI TPL is associated with the lock.\r
 \r
   @return The lock.\r
 \r
index e663e8d2b24e25ce5a1b9a121e97ce5f95871584..5ce73b0c17ef5371ab2e5551e35eb36cada3a42b 100644 (file)
@@ -45,12 +45,12 @@ GLOBAL_REMOVE_IF_UNREFERENCED EFI_GRAPHICS_OUTPUT_BLT_PIXEL mEfiColors[16] = {
   If Format is NULL, then ASSERT().\r
   If Format is not aligned on a 16-bit boundary, then ASSERT().\r
 \r
-  @param Format   Null-terminated Unicode format string.\r
+  @param Format   Null-terminated Unicode format string.\r
   @param Console  The output console.\r
-  @param Marker   VA_LIST marker for the variable argument list.\r
+  @param Marker   VA_LIST marker for the variable argument list.\r
 \r
   @return The number of Unicode characters in the produced\r
-          output buffer not including the Null-terminator.\r
+          output buffer, not including the Null-terminator.\r
 **/\r
 UINTN\r
 InternalPrint (\r
@@ -103,8 +103,8 @@ InternalPrint (
   If Format is not aligned on a 16-bit boundary, then ASSERT().\r
   If gST->ConOut is NULL, then ASSERT().\r
 \r
-  @param Format   Null-terminated Unicode format string.\r
-  @param ...      Variable argument list whose contents are accessed based \r
+  @param Format   Null-terminated Unicode format string.\r
+  @param ...      Variable argument list whose contents are accessed based \r
                   on the format string specified by Format.\r
   \r
   @return The number of Unicode characters printed to ConOut.\r
@@ -142,7 +142,7 @@ Print (
   If Format is not aligned on a 16-bit boundary, then ASSERT().\r
   If gST->StdErr is NULL, then ASSERT().\r
 \r
-  @param Format   Null-terminated Unicode format string.\r
+  @param Format   Null-terminated Unicode format string.\r
   @param ...      Variable argument list whose contents are accessed based \r
                   on the format string specified by Format.\r
   \r
@@ -180,7 +180,7 @@ ErrorPrint (
 \r
   If Format is NULL, then ASSERT().\r
 \r
-  @param Format   Null-terminated ASCII format string.\r
+  @param Format   Null-terminated ASCII format string.\r
   @param Console  The output console.\r
   @param Marker   VA_LIST marker for the variable argument list.\r
 \r
@@ -237,7 +237,7 @@ AsciiInternalPrint (
   If Format is NULL, then ASSERT().\r
   If gST->ConOut is NULL, then ASSERT().\r
 \r
-  @param Format   Null-terminated ASCII format string.\r
+  @param Format   Null-terminated ASCII format string.\r
   @param ...      Variable argument list whose contents are accessed based \r
                   on the format string specified by Format.\r
   \r
@@ -276,7 +276,7 @@ AsciiPrint (
   If Format is NULL, then ASSERT().\r
   If gST->StdErr is NULL, then ASSERT().\r
 \r
-  @param Format   Null-terminated ASCII format string.\r
+  @param Format   Null-terminated ASCII format string.\r
   @param ...      Variable argument list whose contents are accessed based \r
                   on the format string specified by Format.\r
   \r
@@ -320,8 +320,8 @@ AsciiErrorPrint (
   If the EFI_HII_FONT_PROTOCOL is not present in the handle database, then no\r
   string is printed, and 0 is returned.\r
 \r
-  @param  PointX       X coordinate to print the string.\r
-  @param  PointY       Y coordinate to print the string.\r
+  @param  PointX       An X coordinate to print the string.\r
+  @param  PointY       Y coordinate to print the string.\r
   @param  Foreground   The foreground color of the string being printed.  This is\r
                        an optional parameter that may be NULL.  If it is NULL,\r
                        then the foreground color of the current ConOut device\r
@@ -330,7 +330,7 @@ AsciiErrorPrint (
                        an optional parameter that may be NULL.  If it is NULL,\r
                        then the background color of the current ConOut device\r
                        in the EFI_SYSTEM_TABLE is used.\r
-  @param  Buffer       Null-terminated Unicode formatted string.\r
+  @param  Buffer       Null-terminated Unicode formatted string.\r
   @param  PrintNum     The number of Unicode formatted string to be printed.\r
 \r
   @return  The number of Unicode Characters printed. Zero means no any character\r
@@ -576,8 +576,8 @@ Error:
   If Format is not aligned on a 16-bit boundary, then ASSERT().\r
   If gST->ConsoleOutputHandle is NULL, then ASSERT().\r
 \r
-  @param  PointX       X coordinate to print the string.\r
-  @param  PointY       Y coordinate to print the string.\r
+  @param  PointX       An X coordinate to print the string.\r
+  @param  PointY       Y coordinate to print the string.\r
   @param  ForeGround   The foreground color of the string being printed.  This is\r
                        an optional parameter that may be NULL.  If it is NULL,\r
                        then the foreground color of the current ConOut device\r
@@ -586,9 +586,9 @@ Error:
                        an optional parameter that may be NULL.  If it is NULL, \r
                        then the background color of the current ConOut device\r
                        in the EFI_SYSTEM_TABLE is used.\r
-  @param  Format       Null-terminated Unicode format string.  See Print Library \r
+  @param  Format       Null-terminated Unicode format string.  See Print Library \r
                        for the supported format string syntax.\r
-  @param  ...          Variable argument list whose contents are accessed based on \r
+  @param  ...          Variable argument list whose contents are accessed based on \r
                        the format string specified by Format.         \r
 \r
   @return  The number of Unicode characters printed.\r
@@ -653,8 +653,8 @@ PrintXY (
   If Format is NULL, then ASSERT().\r
   If gST->ConsoleOutputHandle is NULL, then ASSERT().\r
 \r
-  @param  PointX       X coordinate to print the string.\r
-  @param  PointY       Y coordinate to print the string.\r
+  @param  PointX       An X coordinate to print the string.\r
+  @param  PointY       Y coordinate to print the string.\r
   @param  ForeGround   The foreground color of the string being printed.  This is\r
                        an optional parameter that may be NULL.  If it is NULL,\r
                        then the foreground color of the current ConOut device\r
@@ -663,7 +663,7 @@ PrintXY (
                        an optional parameter that may be NULL.  If it is NULL, \r
                        then the background color of the current ConOut device\r
                        in the EFI_SYSTEM_TABLE is used.\r
-  @param  Format       Null-terminated ASCII format string.  See Print Library \r
+  @param  Format       Null-terminated ASCII format string.  See Print Library \r
                        for the supported format string syntax.\r
   @param  ...          Variable argument list whose contents are accessed based on \r
                        the format string specified by Format.         \r
index 7f5fa528e7eea6267f5898f6cfc653b7b00d75ee..1869c066c7c3a7b8d8b85b6d181147ce82b20b68 100644 (file)
@@ -138,7 +138,7 @@ EfiCreateEventLegacyBootEx (
   change with the version of the specification supported.\r
   If ReadyToBootEvent is NULL, then ASSERT().\r
 \r
-  @param  ReadyToBootEvent   Returns the EFI event returned from gBS->CreateEvent(Ex).\r
+  @param  ReadyToBootEvent  Returns the EFI event returned from gBS->CreateEvent(Ex).\r
 \r
   @retval EFI_SUCCESS       Event was created.\r
   @retval Other             Event was not created.\r
index f68272f2ae2801b4289a6e704020de4e8c44bdae..2780cbfd9bad9db275c42b97eac3f6b794cc6d85 100644 (file)
@@ -6,7 +6,7 @@
     PeiMemoryLib\r
     UefiMemoryLib\r
 \r
-  Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2010, 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
@@ -113,9 +113,9 @@ InternalMemZeroMem (
 /**\r
   Compares two memory buffers of a given length.\r
 \r
-  @param  DestinationBuffer First memory buffer\r
-  @param  SourceBuffer      Second memory buffer\r
-  @param  Length            Length of DestinationBuffer and SourceBuffer memory\r
+  @param  DestinationBuffer The first memory buffer\r
+  @param  SourceBuffer      The second memory buffer\r
+  @param  Length            The length of DestinationBuffer and SourceBuffer memory\r
                             regions to compare. Must be non-zero.\r
 \r
   @return 0                 All Length bytes of the two buffers are identical.\r
index d64ea16a6e410534c7846322556f9277bb89913b..0443b508bb3bad8967d337df9fe35314e2cb10d1 100644 (file)
@@ -119,7 +119,7 @@ InternalMemSetMem64 (
 /**\r
   Set Buffer to 0 for Size bytes.\r
 \r
-  @param  Buffer Memory to set.\r
+  @param  Buffer The memory to set.\r
   @param  Length The number of bytes to set\r
 \r
   @return Buffer\r
@@ -135,9 +135,9 @@ InternalMemZeroMem (
 /**\r
   Compares two memory buffers of a given length.\r
 \r
-  @param  DestinationBuffer First memory buffer\r
-  @param  SourceBuffer      Second memory buffer\r
-  @param  Length            Length of DestinationBuffer and SourceBuffer memory\r
+  @param  DestinationBuffer The first memory buffer\r
+  @param  SourceBuffer      The second memory buffer\r
+  @param  Length            The length of DestinationBuffer and SourceBuffer memory\r
                             regions to compare. Must be non-zero.\r
 \r
   @return 0                 All Length bytes of the two buffers are identical.\r
index 622a7ccd1ac5cbd2f7a1972c02cb6e9bb7a36625..4d4c7f2d58f8e89b9422fa7160ed2188dd1b22cd 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   PCI Library using PCI Root Bridge I/O Protocol.\r
 \r
-  Copyright (c) 2007 - 2009, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials are\r
   licensed and made available under the terms and conditions of\r
   the BSD License which accompanies this distribution.  The full\r
@@ -85,7 +85,7 @@ PciLibConstructor (
 \r
   @param  Address The address that encodes the PCI Bus, Device, Function and\r
                   Register.\r
-  @param  Width   Width of data to read\r
+  @param  Width   The width of data to read\r
 \r
   @return The value read from the PCI configuration register.\r
 \r
@@ -119,7 +119,7 @@ DxePciLibPciRootBridgeIoReadWorker (
 \r
   @param  Address The address that encodes the PCI Bus, Device, Function and\r
                   Register.\r
-  @param  Width   Width of data to write\r
+  @param  Width   The width of data to write\r
   @param  Data    The value to write.\r
 \r
   @return The value written to the PCI configuration register.\r
index 4ab1a90b338b65d4f76e0cae4cbbb9c8b7798c0d..63ae9761b2e8c91e18b71e5e6f7bfea55d6b0d44 100644 (file)
@@ -10,7 +10,7 @@ Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
 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
+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
@@ -36,8 +36,8 @@ EFI_RUNTIME_SERVICES   *mInternalRT;
 /**\r
   Set AtRuntime flag as TRUE after ExitBootServices.\r
 \r
-  @param[in]  Event   The Event that is being processed\r
-  @param[in]  Context Event Context\r
+  @param[in]  Event   The Event that is being processed.\r
+  @param[in]  Context The Event Context.\r
 \r
 **/\r
 VOID\r
@@ -55,8 +55,8 @@ RuntimeLibExitBootServicesEvent (
   Call the passed in Child Notify event and convert any pointers in\r
   lib to virtual mode.\r
 \r
-  @param[in]    Event   The Event that is being processed\r
-  @param[in]    Context Event Context\r
+  @param[in]    Event   The Event that is being processed.\r
+  @param[in]    Context The Event Context.\r
 **/\r
 VOID\r
 EFIAPI\r
@@ -133,8 +133,8 @@ RuntimeDriverLibConstruct (
   @param[in]  ImageHandle   The firmware allocated handle for the EFI image.\r
   @param[in]  SystemTable   A pointer to the EFI System Table.\r
 \r
-  @retval     EFI_SUCCESS       Shutdown the Runtime Driver Lib successfully\r
-  @retval     EFI_UNSUPPORTED   Runtime Driver lib was not initialized at all\r
+  @retval     EFI_SUCCESS       The Runtime Driver Lib shutdown successfully.\r
+  @retval     EFI_UNSUPPORTED   Runtime Driver lib was not initialized.\r
 **/\r
 EFI_STATUS\r
 EFIAPI\r
@@ -320,7 +320,7 @@ EfiSetTime (
   @param  Time     The current alarm setting. Type EFI_TIME is defined in the GetTime()\r
                    function description.\r
 \r
-  @retval  EFI_SUCCESS           The alarm settings were returned.\r
+  @retval  EFI_SUCCESS            The alarm settings were returned.\r
   @retval  EFI_INVALID_PARAMETER  Enabled is NULL.\r
   @retval  EFI_INVALID_PARAMETER  Pending is NULL.\r
   @retval  EFI_INVALID_PARAMETER  Time is NULL.\r
@@ -466,13 +466,13 @@ EfiGetNextVariableName (
   Variables are stored by the firmware and may maintain their values across power cycles. Each vendor\r
   may create and manage its own variables without the risk of name conflicts by using a unique VendorGuid.\r
 \r
-  @param  VariableName the name of the vendor's variable, it's a\r
-                       Null-Terminated Unicode String\r
+  @param  VariableName The name of the vendor's variable; it's a Null-Terminated \r
+                       Unicode String\r
   @param  VendorGuid   Unify identifier for vendor.\r
-  @param  Attributes   Point to memory location to return the attributes of variable. If the point\r
+  @param  Attributes   Points to a memory location to return the attributes of variable. If the point\r
                        is NULL, the parameter would be ignored.\r
   @param  DataSize     The size in bytes of Data-Buffer.\r
-  @param  Data         Point to the content of the variable.\r
+  @param  Data         Points to the content of the variable.\r
 \r
   @retval  EFI_SUCCESS            The firmware has successfully stored the variable and its data as\r
                                   defined by the Attributes.\r
@@ -766,7 +766,7 @@ EfiUpdateCapsule (
                                 Undefined on input.\r
   @param  ResetType             Returns the type of reset required for the capsule update.\r
 \r
-  @retval EFI_SUCCESS           Valid answer returned.\r
+  @retval EFI_SUCCESS           A valid answer was returned.\r
   @retval EFI_INVALID_PARAMETER MaximumCapsuleSize is NULL.\r
   @retval EFI_UNSUPPORTED       The capsule type is not supported on this platform, and\r
                                 MaximumCapsuleSize and ResetType are undefined.\r
@@ -817,7 +817,7 @@ EfiQueryCapsuleCapabilities (
   @param  MaximumVariableSize   Returns the maximum size of the individual EFI\r
                                 variables associated with the attributes specified.\r
 \r
-  @retval EFI_SUCCESS           Valid answer returned.\r
+  @retval EFI_SUCCESS           A valid answer was returned.\r
   @retval EFI_INVALID_PARAMETER An invalid combination of attribute bits was supplied.\r
   @retval EFI_UNSUPPORTED       EFI_UNSUPPORTED The attribute is not supported on this platform, and the\r
                                 MaximumVariableStorageSize,\r
index 6c6d5709c81dee902465be3699dc5398b24d3705..e79c7ce8a936225013964fe2b5422d0dccb3641c 100644 (file)
@@ -40,14 +40,14 @@ SAL_PROC         mSalProcEntry;
   or undefined result may occur during the execution of the procedure.\r
   This function is only available on IPF.\r
 \r
-  @param  Index       The SAL procedure Index number\r
-  @param  Arg2        The 2nd parameter for SAL procedure calls\r
-  @param  Arg3        The 3rd parameter for SAL procedure calls\r
-  @param  Arg4        The 4th parameter for SAL procedure calls\r
-  @param  Arg5        The 5th parameter for SAL procedure calls\r
-  @param  Arg6        The 6th parameter for SAL procedure calls\r
-  @param  Arg7        The 7th parameter for SAL procedure calls\r
-  @param  Arg8        The 8th parameter for SAL procedure calls\r
+  @param  Index       The SAL procedure Index number.\r
+  @param  Arg2        The 2nd parameter for SAL procedure calls.\r
+  @param  Arg3        The 3rd parameter for SAL procedure calls.\r
+  @param  Arg4        The 4th parameter for SAL procedure calls.\r
+  @param  Arg5        The 5th parameter for SAL procedure calls.\r
+  @param  Arg6        The 6th parameter for SAL procedure calls.\r
+  @param  Arg7        The 7th parameter for SAL procedure calls.\r
+  @param  Arg8        The 8th parameter for SAL procedure calls.\r
 \r
   @return SAL returned registers.\r
 \r
index cb051eecdf47b08e0998c062feb834d26260c7af..8f885fa9b414fd62a24a2c26a84d1ba9bb6e528d 100644 (file)
@@ -213,7 +213,7 @@ ScsiTestUnitReadyCommand (
                                          If FALSE, then the standard inquiry data is\r
                                          returned in InquiryDataBuffer. \r
 \r
-  @retval EFI_SUCCESS          The command was executed successfully. See HostAdapterStatus,\r
+  @retval EFI_SUCCESS          The command executed successfully. See HostAdapterStatus,\r
                                TargetStatus, SenseDataLength, and SenseData in that order\r
                                for additional status information.\r
   @retval EFI_BAD_BUFFER_SIZE  The SCSI Request Packet was executed, but the entire\r
@@ -357,7 +357,7 @@ ScsiInquiryCommand (
   @param[in]      PageControl        Specifies the PC field of the CDB for this SCSI Command. \r
   @param[in]      PageCode           Specifies the Page Control field of the CDB for this SCSI Command. \r
 \r
-  @retval EFI_SUCCESS               The command was executed successfully.\r
+  @retval EFI_SUCCESS               The command executed successfully.\r
                                     See HostAdapterStatus, TargetStatus, SenseDataLength,\r
                                     and SenseData in that order for additional status information.\r
   @retval EFI_BAD_BUFFER_SIZE       The SCSI Request Packet was executed, but the\r
@@ -471,7 +471,7 @@ ScsiModeSense10Command (
   @param[out]      HostAdapterStatus    The status of Host Adapter.\r
   @param[out]      TargetStatus         The status of the target.\r
 \r
-  @retval EFI_SUCCESS                   Command is executed successfully.\r
+  @retval EFI_SUCCESS                   The command executed successfully.\r
   @retval EFI_NOT_READY                 The SCSI Request Packet could not be sent because there are\r
                                         too many SCSI Command Packets already queued.\r
   @retval EFI_DEVICE_ERROR              A device error occurred while attempting to send SCSI Request Packet.\r
@@ -556,9 +556,9 @@ ScsiRequestSenseCommand (
   @param[out]     TargetStatus         The status of the target.\r
   @param[in, out] DataBuffer           A pointer to a data buffer.\r
   @param[in, out] DataLength           The length of data buffer.\r
-  @param[in]      Pmi                  Partial medium indicator.\r
+  @param[in]      Pmi                  A partial medium indicator.\r
 \r
-  @retval  EFI_SUCCESS           Command is executed successfully.\r
+  @retval  EFI_SUCCESS           The command executed successfully.\r
   @retval  EFI_BAD_BUFFER_SIZE   The SCSI Request Packet was executed, but the entire\r
                                  DataBuffer could not be transferred. The actual\r
                                  number of bytes transferred is returned in DataLength.\r
@@ -660,7 +660,7 @@ ScsiReadCapacityCommand (
   @param[in, out] DataLength           The length of data buffer.\r
   @param[in]      Pmi                  Partial medium indicator.\r
 \r
-  @retval  EFI_SUCCESS           Command is executed successfully.\r
+  @retval  EFI_SUCCESS           The command executed successfully.\r
   @retval  EFI_BAD_BUFFER_SIZE   The SCSI Request Packet was executed, but the entire\r
                                  DataBuffer could not be transferred. The actual\r
                                  number of bytes transferred is returned in DataLength.\r
@@ -766,7 +766,7 @@ ScsiReadCapacity16Command (
   @param[in]      StartLba             The start address of LBA.\r
   @param[in]      SectorSize           The sector size.\r
 \r
-  @retval  EFI_SUCCESS          Command is executed successfully.\r
+  @retval  EFI_SUCCESS          The command is executed successfully.\r
   @retval  EFI_BAD_BUFFER_SIZE  The SCSI Request Packet was executed, but the entire DataBuffer could\r
                                 not be transferred. The actual number of bytes transferred is returned in DataLength.\r
   @retval  EFI_NOT_READY        The SCSI Request Packet could not be sent because there are too many \r
@@ -864,7 +864,7 @@ ScsiRead10Command (
   @param[in]      StartLba             The start address of LBA.\r
   @param[in]      SectorSize           The sector size.\r
 \r
-  @retval  EFI_SUCCESS          Command is executed successfully.\r
+  @retval  EFI_SUCCESS          The command executed successfully.\r
   @retval  EFI_BAD_BUFFER_SIZE  The SCSI Request Packet was executed, but the entire DataBuffer could\r
                                 not be transferred. The actual number of bytes transferred is returned in DataLength.\r
   @retval  EFI_NOT_READY        The SCSI Request Packet could not be sent because there are too many \r
@@ -962,7 +962,7 @@ ScsiWrite10Command (
   @param[in]      StartLba             The start address of LBA.\r
   @param[in]      SectorSize           The sector size.\r
 \r
-  @retval  EFI_SUCCESS          Command is executed successfully.\r
+  @retval  EFI_SUCCESS          The command executed successfully.\r
   @retval  EFI_BAD_BUFFER_SIZE  The SCSI Request Packet was executed, but the entire DataBuffer could\r
                                 not be transferred. The actual number of bytes transferred is returned in DataLength.\r
   @retval  EFI_NOT_READY        The SCSI Request Packet could not be sent because there are too many \r
@@ -1060,7 +1060,7 @@ ScsiRead16Command (
   @param[in]      StartLba             The start address of LBA.\r
   @param[in]      SectorSize           The sector size.\r
 \r
-  @retval  EFI_SUCCESS          Command is executed successfully.\r
+  @retval  EFI_SUCCESS          The command is executed successfully.\r
   @retval  EFI_BAD_BUFFER_SIZE  The SCSI Request Packet was executed, but the entire DataBuffer could\r
                                 not be transferred. The actual number of bytes transferred is returned in DataLength.\r
   @retval  EFI_NOT_READY        The SCSI Request Packet could not be sent because there are too many \r