VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/ShellPkg/Include/Library/AcpiViewCommandLib.h

最後變更 在這個檔案是 99404,由 vboxsync 提交於 2 年 前

Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.3 KB
 
1/** @file
2 Library providing 'acpiview' functionality to display and
3 validate installed ACPI tables.
4
5 Copyright (c) 2016 - 2020, ARM Limited. All rights reserved.<BR>
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7**/
8
9#ifndef ACPI_VIEW_COMMAND_LIB_H_
10#define ACPI_VIEW_COMMAND_LIB_H_
11
12/**
13 Dump a buffer to a file. Print error message if a file cannot be created.
14
15 @param[in] FileName The filename that shall be created to contain the buffer.
16 @param[in] Buffer Pointer to buffer that shall be dumped.
17 @param[in] BufferSize The size of buffer to be dumped in bytes.
18
19 @return The number of bytes that were written
20**/
21UINTN
22EFIAPI
23ShellDumpBufferToFile (
24 IN CONST CHAR16 *FileNameBuffer,
25 IN CONST VOID *Buffer,
26 IN CONST UINTN BufferSize
27 );
28
29/**
30 Display and validate ACPI tables.
31
32 @param[in] ImageHandle Handle to the Image (NULL if internal).
33 @param[in] SystemTable Pointer to the System Table (NULL if internal).
34
35 @retval SHELL_INVALID_PARAMETER The command line invocation could not be parsed.
36 @retval SHELL_NOT_FOUND The command failed.
37 @retval SHELL_SUCCESS The command was successful.
38**/
39SHELL_STATUS
40EFIAPI
41ShellCommandRunAcpiView (
42 IN EFI_HANDLE ImageHandle,
43 IN EFI_SYSTEM_TABLE *SystemTable
44 );
45
46#endif // UEFI_SHELL_ACPIVIEW_COMMAND_LIB_H_
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette