Skip to content

Commit

Permalink
EmbeddedPkg/PrePiHobLib: Align Doxygen comment between code and header
Browse files Browse the repository at this point in the history
The Doxygen comment for SetBootMode and GetBootMode in PrePiHobLib/Hob.c
does not match declaration in PrePiLib.h. The C file has it wrong. Align
the text to match the header.

Signed-off-by: Vishal Oliyil Kunnil <[email protected]>
  • Loading branch information
vishalo authored and mergify[bot] committed Sep 5, 2024
1 parent 3151798 commit 1204de7
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions EmbeddedPkg/Library/PrePiHobLib/Hob.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 1204de7

Please sign in to comment.