]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Library/UefiRuntimeLib.h
MdePkg: Clean up source files
[mirror_edk2.git] / MdePkg / Include / Library / UefiRuntimeLib.h
index c0720a37648d3bf7fc0426ac184d251e56834f72..888410921bc88f3747d4dfb5e771e3938030ff11 100644 (file)
@@ -2,11 +2,11 @@
   Provides library functions for each of the UEFI Runtime Services.\r
   Only available to DXE and UEFI module types.\r
 \r
-Copyright (c) 2006 - 2009, Intel Corporation<BR>\r
-All rights reserved. This program and the accompanying materials\r
-are licensed and made available under the terms and conditions of the BSD License\r
-which accompanies this distribution.  The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php\r
+Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials are licensed and made available under\r
+the terms and conditions of the BSD License that accompanies this distribution.\r
+The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php.\r
 \r
 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
@@ -34,7 +34,7 @@ EfiAtRuntime (
   );\r
 \r
 /**\r
-  This function allows the caller to determine if UEFI SetVirtualAddressMap() has been called. \r
+  This function allows the caller to determine if UEFI SetVirtualAddressMap() has been called.\r
 \r
   This function returns TRUE after all the EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE functions have\r
   executed as a result of the OS calling SetVirtualAddressMap(). Prior to this time FALSE\r
@@ -120,7 +120,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
@@ -329,9 +329,8 @@ EfiGetNextHighMonotonicCount (
                       Null-terminated Unicode string, optionally followed by additional binary data. The string is a\r
                       description that the caller may use to further indicate the reason for the system reset. ResetData\r
                       is only valid if ResetStatus is something other then EFI_SUCCESS. This pointer must be a physical\r
-                      address. For a ResetType of EfiRestUpdate the data buffer also starts with a Null-terminated string\r
-                      that is followed by a physical VOID * to an EFI_CAPSULE_HEADER.\r
-\r
+                      address. For a ResetType of EfiResetPlatformSpecific the data buffer also starts with a Null-terminated\r
+                      string that is followed by an EFI_GUID that describes the specific type of reset to perform.\r
 **/\r
 VOID\r
 EFIAPI\r
@@ -343,7 +342,7 @@ EfiResetSystem (
   );\r
 \r
 /**\r
-  This service is a wrapper for the UEFI Runtime Service ConvertPointer().  \r
+  This service is a wrapper for the UEFI Runtime Service ConvertPointer().\r
 \r
   The ConvertPointer() function is used by an EFI component during the SetVirtualAddressMap() operation.\r
   ConvertPointer()must be called using physical address pointers during the execution of SetVirtualAddressMap().\r
@@ -371,7 +370,7 @@ EfiConvertPointer (
   Determines the new virtual address that is to be used on subsequent memory accesses.\r
 \r
   For IA32, x64, and EBC, this service is a wrapper for the UEFI Runtime Service\r
-  ConvertPointer().  See the UEFI Specification for details. \r
+  ConvertPointer().  See the UEFI Specification for details.\r
   For IPF, this function interprets Address as a pointer to an EFI_PLABEL structure\r
   and both the EntryPoint and GP fields of an EFI_PLABEL are converted from physical\r
   to virtiual addressing.  Since IPF allows the GP to point to an address outside\r
@@ -442,7 +441,7 @@ EfiSetVirtualAddressMap (
   @param  DebugDisposition   Supplies type information for the pointer being converted.\r
   @param  ListHead           Head of linked list to convert.\r
 \r
-  @retval  EFI_SUCCESS  Success to execute the function.\r
+  @retval  EFI_SUCCESS  Successfully executed the function.\r
   @retval  !EFI_SUCCESS Failed to execute the function.\r
 \r
 **/\r
@@ -478,7 +477,7 @@ EfiConvertList (
                                 CapsuleHeaderArray. This parameter is only referenced if\r
                                 the capsules are defined to persist across system reset.\r
 \r
-  @retval EFI_SUCCESS           Valid capsule was passed. If CAPSULE_FLAGS_PERSIT_ACROSS_RESET is not set,\r
+  @retval EFI_SUCCESS           A valid capsule was passed. If CAPSULE_FLAGS_PERSIT_ACROSS_RESET is not set,\r
                                 the capsule has been successfully processed by the firmware.\r
   @retval EFI_INVALID_PARAMETER CapsuleSize is NULL, or an incompatible set of flags were\r
                                 set in the capsule header.\r
@@ -524,7 +523,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
@@ -563,11 +562,11 @@ EfiQueryCapsuleCapabilities (
   @param  RemainingVariableStorageSize\r
                                 Returns the remaining size of the storage space\r
                                 available for the EFI variables associated with the\r
-                                attributes specified..\r
+                                attributes specified.\r
   @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