-/**\r
+/** @file\r
Main file for 'acpiview' Shell command function.\r
\r
Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR>\r
{EFI_ACPI_6_2_EXTENDED_SYSTEM_DESCRIPTION_TABLE_SIGNATURE, ParseAcpiXsdt}\r
};\r
\r
-/** This function registers all the available table parsers.\r
+/**\r
+ This function registers all the available table parsers.\r
\r
@retval EFI_SUCCESS The parser is registered.\r
@retval EFI_ALREADY_STARTED The parser for the ACPI Table\r
@retval EFI_INVALID_PARAMETER A parameter is invalid.\r
@retval EFI_OUT_OF_RESOURCES No space to register the\r
parser.\r
-*/\r
+**/\r
EFI_STATUS\r
RegisterAllParsers (\r
)\r
{\r
EFI_STATUS Status;\r
- UINTN Count = sizeof (ParserList) / sizeof (ParserList[0]);\r
+ UINTN Count;\r
+\r
+ Status = EFI_SUCCESS;\r
+ Count = sizeof (ParserList) / sizeof (ParserList[0]);\r
+\r
while (Count-- != 0) {\r
Status = RegisterParser (\r
ParserList[Count].Signature,\r
Return the file name of the help text file if not using HII.\r
\r
@return The string pointer to the file name.\r
-*/\r
+**/\r
CONST CHAR16*\r
EFIAPI\r
ShellCommandGetManFileNameAcpiView (\r
@retval EFI_SUCCESS The Shell command handlers were installed\r
successfully.\r
@retval EFI_DEVICE_ERROR Hii package failed to install.\r
-*/\r
+**/\r
EFI_STATUS\r
EFIAPI\r
UefiShellAcpiViewCommandLibConstructor (\r
\r
@param ImageHandle The image handle of the process.\r
@param SystemTable The EFI System Table pointer.\r
-*/\r
+**/\r
EFI_STATUS\r
EFIAPI\r
UefiShellAcpiViewCommandLibDestructor (\r