-/**\r
+/** @file\r
\r
Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.\r
This program and the accompanying materials\r
STATIC BOOLEAN mConsistencyCheck;\r
STATIC BOOLEAN mColourHighlighting;\r
\r
-/** An array of acpiview command line parameters.\r
-*/\r
+/**\r
+ An array of acpiview command line parameters.\r
+**/\r
STATIC CONST SHELL_PARAM_ITEM ParamList[] = {\r
{L"/?", TypeFlag},\r
{L"-c", TypeFlag},\r
{NULL, TypeMax}\r
};\r
\r
-/** This function returns the colour highlighting status.\r
+/**\r
+ This function returns the colour highlighting status.\r
\r
@retval TRUE if colour highlighting is enabled.\r
-*/\r
+**/\r
BOOLEAN\r
GetColourHighlighting (\r
VOID\r
return mColourHighlighting;\r
}\r
\r
-/** This function sets the colour highlighting status.\r
+/**\r
+ This function sets the colour highlighting status.\r
\r
-*/\r
+ @param Highlight The Highlight status.\r
+\r
+**/\r
VOID\r
SetColourHighlighting (\r
BOOLEAN Highlight\r
mColourHighlighting = Highlight;\r
}\r
\r
-/** This function returns the report options.\r
+/**\r
+ This function returns the report options.\r
\r
@retval Returns the report option.\r
-*/\r
+**/\r
STATIC\r
EREPORT_OPTION\r
GetReportOption (\r
return mReportType;\r
}\r
\r
-/** This function returns the selected ACPI table.\r
+/**\r
+ This function returns the selected ACPI table.\r
\r
@retval Returns signature of the selected ACPI table.\r
-*/\r
+**/\r
STATIC\r
UINT32\r
GetSelectedAcpiTable (\r
return mSelectedAcpiTable;\r
}\r
\r
-/** This function dumps the ACPI table to a file.\r
+/**\r
+ This function dumps the ACPI table to a file.\r
+\r
@param [in] Ptr Pointer to the ACPI table data.\r
@param [in] Length The length of the ACPI table.\r
\r
@retval TRUE Success.\r
@retval FALSE Failure.\r
-*/\r
+**/\r
STATIC\r
BOOLEAN\r
DumpAcpiTableToFile (\r
return (Length == TransferBytes);\r
}\r
\r
-/** This function processes the table reporting options for the ACPI table.\r
+/**\r
+ This function processes the table reporting options for the ACPI table.\r
\r
@param [in] Signature The ACPI table Signature.\r
@param [in] TablePtr Pointer to the ACPI table data.\r
@param [in] Length The length fo the ACPI table.\r
\r
@retval Returns TRUE if the ACPI table should be traced.\r
-*/\r
+**/\r
BOOLEAN\r
ProcessTableReportOptions (\r
IN CONST UINT32 Signature,\r
return Log;\r
}\r
\r
-/** This function converts a string to ACPI table signature.\r
+/**\r
+ This function converts a string to ACPI table signature.\r
\r
@param [in] Str Pointer to the string to be converted to the\r
ACPI table signature.\r
\r
@retval The ACPI table signature.\r
-*/\r
+**/\r
STATIC\r
UINT32\r
ConvertStrToAcpiSignature (\r
return *(UINT32*)Ptr;\r
}\r
\r
-/** This function iterates the configuration table entries in the\r
- system table, retrieves the RSDP pointer and starts parsing\r
- the ACPI tables.\r
+/**\r
+ This function iterates the configuration table entries in the\r
+ system table, retrieves the RSDP pointer and starts parsing the ACPI tables.\r
\r
@param [in] SystemTable Pointer to the EFI system table.\r
\r
@retval Returns EFI_NOT_FOUND if the RSDP pointer is not found.\r
Returns EFI_UNSUPPORTED if the RSDP version is less than 2.\r
Returns EFI_SUCCESS if successful.\r
-*/\r
+**/\r
STATIC\r
EFI_STATUS\r
EFIAPI\r
\r
@param[in] ImageHandle Handle to the Image (NULL if Internal).\r
@param[in] SystemTable Pointer to the System Table (NULL if Internal).\r
-*/\r
+**/\r
SHELL_STATUS\r
EFIAPI\r
ShellCommandRunAcpiView (\r