TianoCore EDK2 master
|
Go to the source code of this file.
Functions | |
UINTN EFIAPI | ShellDumpBufferToFile (IN CONST CHAR16 *FileNameBuffer, IN CONST VOID *Buffer, IN CONST UINTN BufferSize) |
SHELL_STATUS EFIAPI | ShellCommandRunAcpiView (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
Library providing 'acpiview' functionality to display and validate installed ACPI tables.
Copyright (c) 2016 - 2020, ARM Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file AcpiViewCommandLib.h.
SHELL_STATUS EFIAPI ShellCommandRunAcpiView | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
Display and validate ACPI tables.
[in] | ImageHandle | Handle to the Image (NULL if internal). |
[in] | SystemTable | Pointer to the System Table (NULL if internal). |
SHELL_INVALID_PARAMETER | The command line invocation could not be parsed. |
SHELL_NOT_FOUND | The command failed. |
SHELL_SUCCESS | The command was successful. |
Function for 'acpiview' command.
[in] | ImageHandle | Handle to the Image (NULL if internal). |
[in] | SystemTable | Pointer to the System Table (NULL if internal). |
SHELL_INVALID_PARAMETER | The command line invocation could not be parsed |
SHELL_NOT_FOUND | The command failed |
SHELL_SUCCESS | The command was successful |
Definition at line 202 of file UefiShellAcpiViewCommandLib.c.
UINTN EFIAPI ShellDumpBufferToFile | ( | IN CONST CHAR16 * | FileNameBuffer, |
IN CONST VOID * | Buffer, | ||
IN CONST UINTN | BufferSize | ||
) |
Dump a buffer to a file. Print error message if a file cannot be created.
[in] | FileName | The filename that shall be created to contain the buffer. |
[in] | Buffer | Pointer to buffer that shall be dumped. |
[in] | BufferSize | The size of buffer to be dumped in bytes. |
Definition at line 129 of file UefiShellAcpiViewCommandLib.c.