Refine comments and two code style.
Signed-off-by: ydong10 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12263 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -38,8 +38,8 @@ Test(CONST VOID*b1, CONST VOID*b2)
|
|||||||
The ShellCEntryLib library instance wrappers the actual UEFI application
|
The ShellCEntryLib library instance wrappers the actual UEFI application
|
||||||
entry point and calls this ShellAppMain function.
|
entry point and calls this ShellAppMain function.
|
||||||
|
|
||||||
@param ImageHandle The image handle of the UEFI Application.
|
@param Argc Argument count
|
||||||
@param SystemTable A pointer to the EFI System Table.
|
@param Argv The parsed arguments
|
||||||
|
|
||||||
@retval 0 The application exited normally.
|
@retval 0 The application exited normally.
|
||||||
@retval Other An error occurred.
|
@retval Other An error occurred.
|
||||||
|
@ -50,7 +50,8 @@ typedef struct {
|
|||||||
/**
|
/**
|
||||||
This function will populate the device path protocol parameter based on TheHandle.
|
This function will populate the device path protocol parameter based on TheHandle.
|
||||||
|
|
||||||
@param[in,out] DevPath On a sucessful return the device path to the handle.
|
@param[in] TheHandle Driver handle.
|
||||||
|
@param[in, out] FilePath On a sucessful return the device path to the handle.
|
||||||
|
|
||||||
@retval EFI_SUCCESS The device path was sucessfully returned.
|
@retval EFI_SUCCESS The device path was sucessfully returned.
|
||||||
@retval other A error from gBS->HandleProtocol.
|
@retval other A error from gBS->HandleProtocol.
|
||||||
|
@ -2981,7 +2981,7 @@ FileBufferSearch (
|
|||||||
//
|
//
|
||||||
// found
|
// found
|
||||||
//
|
//
|
||||||
if (Found == TRUE) {
|
if (Found) {
|
||||||
Column = (Position - 1) + FileBuffer.FilePosition.Column + Offset;
|
Column = (Position - 1) + FileBuffer.FilePosition.Column + Offset;
|
||||||
Row = FileBuffer.FilePosition.Row;
|
Row = FileBuffer.FilePosition.Row;
|
||||||
} else {
|
} else {
|
||||||
@ -3000,7 +3000,7 @@ FileBufferSearch (
|
|||||||
Found = TRUE;
|
Found = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Found == TRUE) {
|
if (Found) {
|
||||||
//
|
//
|
||||||
// found
|
// found
|
||||||
//
|
//
|
||||||
|
@ -106,10 +106,11 @@ HMainCommandDisplayHelp (
|
|||||||
VOID
|
VOID
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
INT32 CurrentLine=0;
|
INT32 CurrentLine;
|
||||||
CHAR16 * InfoString;
|
CHAR16 * InfoString;
|
||||||
EFI_INPUT_KEY Key;
|
EFI_INPUT_KEY Key;
|
||||||
|
|
||||||
|
CurrentLine = 0;
|
||||||
// print helpInfo
|
// print helpInfo
|
||||||
for (CurrentLine = 0; 0 != HexMainMenuHelpInfo[CurrentLine]; CurrentLine++) {
|
for (CurrentLine = 0; 0 != HexMainMenuHelpInfo[CurrentLine]; CurrentLine++) {
|
||||||
InfoString = HiiGetString(gShellDebug1HiiHandle, HexMainMenuHelpInfo[CurrentLine]
|
InfoString = HiiGetString(gShellDebug1HiiHandle, HexMainMenuHelpInfo[CurrentLine]
|
||||||
|
@ -1477,7 +1477,7 @@ PciGetProtocolAndResource (
|
|||||||
@param[in, out] Descriptors Points to current position of a serial of address space
|
@param[in, out] Descriptors Points to current position of a serial of address space
|
||||||
descriptors.
|
descriptors.
|
||||||
@param[out] MinBus The lower range of bus number.
|
@param[out] MinBus The lower range of bus number.
|
||||||
@param[out] ManBus The upper range of bus number.
|
@param[out] MaxBus The upper range of bus number.
|
||||||
@param[out] IsEnd Meet end of the serial of descriptors.
|
@param[out] IsEnd Meet end of the serial of descriptors.
|
||||||
|
|
||||||
@retval EFI_SUCCESS The command completed successfully.
|
@retval EFI_SUCCESS The command completed successfully.
|
||||||
@ -2567,7 +2567,7 @@ PciGetProtocolAndResource (
|
|||||||
@param[in, out] Descriptors Points to current position of a serial of address space
|
@param[in, out] Descriptors Points to current position of a serial of address space
|
||||||
descriptors.
|
descriptors.
|
||||||
@param[out] MinBus The lower range of bus number.
|
@param[out] MinBus The lower range of bus number.
|
||||||
@param[out] ManBus The upper range of bus number.
|
@param[out] MaxBus The upper range of bus number.
|
||||||
@param[out] IsEnd Meet end of the serial of descriptors.
|
@param[out] IsEnd Meet end of the serial of descriptors.
|
||||||
|
|
||||||
@retval EFI_SUCCESS The command completed successfully.
|
@retval EFI_SUCCESS The command completed successfully.
|
||||||
|
@ -50,7 +50,8 @@ typedef struct {
|
|||||||
/**
|
/**
|
||||||
This function will populate the device path protocol parameter based on TheHandle.
|
This function will populate the device path protocol parameter based on TheHandle.
|
||||||
|
|
||||||
@param[in,out] DevPath On a sucessful return the device path to the handle.
|
@param[in] TheHandle Driver handle.
|
||||||
|
@param[in, out] FilePath On a sucessful return the device path to the handle.
|
||||||
|
|
||||||
@retval EFI_SUCCESS The device path was sucessfully returned.
|
@retval EFI_SUCCESS The device path was sucessfully returned.
|
||||||
@retval other A error from gBS->HandleProtocol.
|
@retval other A error from gBS->HandleProtocol.
|
||||||
|
Reference in New Issue
Block a user