ShellPkg[all]  1.02
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
AcpiViewCommandLib.h File Reference

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)
 

Detailed Description

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

Function Documentation

SHELL_STATUS EFIAPI ShellCommandRunAcpiView ( IN EFI_HANDLE  ImageHandle,
IN EFI_SYSTEM_TABLE *  SystemTable 
)

Display and validate ACPI tables.

Parameters
[in]ImageHandleHandle to the Image (NULL if internal).
[in]SystemTablePointer to the System Table (NULL if internal).
Return values
SHELL_INVALID_PARAMETERThe command line invocation could not be parsed.
SHELL_NOT_FOUNDThe command failed.
SHELL_SUCCESSThe command was successful.
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.

Parameters
[in]FileNameThe filename that shall be created to contain the buffer.
[in]BufferPointer to buffer that shall be dumped.
[in]BufferSizeThe size of buffer to be dumped in bytes.
Returns
The number of bytes that were written