X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdeModulePkg%2FLibrary%2FResetUtilityLib%2FResetUtility.c;h=e3de4f117af86bc66157835c3dba12b0deb62e5a;hb=d1102dba7210b95e41d06c2338a22ba6af248645;hp=da5fa7b094671b27f281f5dc6de900c02dd9f6c5;hpb=ca79bab7af4770c5eb578f6d495af01705aedb79;p=mirror_edk2.git diff --git a/MdeModulePkg/Library/ResetUtilityLib/ResetUtility.c b/MdeModulePkg/Library/ResetUtilityLib/ResetUtility.c index da5fa7b094..e3de4f117a 100644 --- a/MdeModulePkg/Library/ResetUtilityLib/ResetUtility.c +++ b/MdeModulePkg/Library/ResetUtilityLib/ResetUtility.c @@ -56,7 +56,7 @@ ResetPlatformSpecificGuid ( /** This function examines the DataSize and ResetData parameters passed to to ResetSystem() and detemrines if the ResetData contains a Null-terminated - Unicode string followed by a GUID specific subtype. If the GUID specific + Unicode string followed by a GUID specific subtype. If the GUID specific subtype is present, then a pointer to the GUID value in ResetData is returned. @param[in] DataSize The size, in bytes, of ResetData. @@ -107,7 +107,7 @@ GetResetPlatformSpecificGuid ( } /** - This is a helper function that creates the reset data buffer that can be + This is a helper function that creates the reset data buffer that can be passed into ResetSystem(). The reset data buffer is returned in ResetData and contains ResetString @@ -179,7 +179,7 @@ BuildResetData ( if (ResetString == NULL) { ResetString = L""; // Use an empty string. } - + // // Calculate the total buffer required for ResetData. // @@ -215,6 +215,6 @@ BuildResetData ( if (ExtraDataSize > 0) { CopyMem (Data, ExtraData, ExtraDataSize); } - + return RETURN_SUCCESS; }