diff --git a/EmbeddedPkg/Library/PrePiHobLib/Hob.c b/EmbeddedPkg/Library/PrePiHobLib/Hob.c index cbc35152ccbc..c6a89e8ad6b3 100644 --- a/EmbeddedPkg/Library/PrePiHobLib/Hob.c +++ b/EmbeddedPkg/Library/PrePiHobLib/Hob.c @@ -333,14 +333,10 @@ GetFirstGuidHob ( } /** - Get the Boot Mode from the HOB list. + This service enables PEIMs to ascertain the present value of the boot mode. - This function returns the system boot mode information from the - PHIT HOB in HOB list. - @param VOID - - @return The Boot Mode. + @retval BootMode **/ EFI_BOOT_MODE @@ -356,14 +352,11 @@ GetBootMode ( } /** - Get the Boot Mode from the HOB list. - - This function returns the system boot mode information from the - PHIT HOB in HOB list. + This service enables PEIMs to update the boot mode variable. - @param VOID + @param BootMode The value of the boot mode to set. - @return The Boot Mode. + @retval EFI_SUCCESS The value was successfully updated **/ EFI_STATUS