]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiView.h
ShellPkg/AcpiView: Move parameter parsing
[mirror_edk2.git] / ShellPkg / Library / UefiShellAcpiViewCommandLib / AcpiView.h
index 92d64a88814d0af0ba08d2e9da6b87e7d204125d..d5b95f5ee707de18be1879b3cd235d6c5db11d9f 100644 (file)
@@ -64,7 +64,7 @@ GetWarningCount (
 \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
+  @param [in] Length    The length of the ACPI table.\r
 \r
   @retval Returns TRUE if the ACPI table should be traced.\r
 **/\r
@@ -75,4 +75,20 @@ ProcessTableReportOptions (
   IN CONST UINT32  Length\r
   );\r
 \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 EFI_NOT_FOUND   The RSDP pointer was not found.\r
+  @retval EFI_UNSUPPORTED The RSDP version was less than 2.\r
+  @retval EFI_SUCCESS     The command was successful.\r
+**/\r
+EFI_STATUS\r
+EFIAPI\r
+AcpiView (\r
+  IN EFI_SYSTEM_TABLE* SystemTable\r
+  );\r
+\r
 #endif // ACPIVIEW_H_\r