VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.h

Last change on this file was 101291, checked in by vboxsync, 19 months ago

EFI/FirmwareNew: Make edk2-stable202308 build on all supported platforms (using gcc at least, msvc not tested yet), bugref:4643

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1/** @file
2 bhyve ACPI Platform Driver
3
4 Copyright (c) 2020, Rebecca Cran <[email protected]>
5 Copyright (c) 2008 - 2012, Intel Corporation. All rights reserved.<BR>
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7
8**/
9
10#ifndef _ACPI_PLATFORM_H_INCLUDED_
11#define _ACPI_PLATFORM_H_INCLUDED_
12
13#include <PiDxe.h>
14#include <Protocol/AcpiTable.h>
15#include <Protocol/FirmwareVolume2.h>
16#include <Protocol/PciIo.h>
17#include <Library/BaseLib.h>
18#include <Library/DebugLib.h>
19#include <Library/PcdLib.h>
20#include <Library/UefiBootServicesTableLib.h>
21#include <Library/XenPlatformLib.h>
22#include <IndustryStandard/Acpi.h>
23
24typedef struct S3_CONTEXT S3_CONTEXT;
25
26EFI_STATUS
27EFIAPI
28InstallAcpiTable (
29 IN EFI_ACPI_TABLE_PROTOCOL *AcpiProtocol,
30 IN VOID *AcpiTableBuffer,
31 IN UINTN AcpiTableBufferSize,
32 OUT UINTN *TableKey
33 );
34
35EFI_STATUS
36EFIAPI
37BhyveInstallAcpiTable (
38 IN EFI_ACPI_TABLE_PROTOCOL *AcpiProtocol,
39 IN VOID *AcpiTableBuffer,
40 IN UINTN AcpiTableBufferSize,
41 OUT UINTN *TableKey
42 );
43
44EFI_STATUS
45EFIAPI
46InstallXenTables (
47 IN EFI_ACPI_TABLE_PROTOCOL *AcpiProtocol
48 );
49
50EFI_STATUS
51EFIAPI
52InstallAcpiTables (
53 IN EFI_ACPI_TABLE_PROTOCOL *AcpiTable
54 );
55
56#endif /* _ACPI_PLATFORM_H_INCLUDED_ */
Note: See TracBrowser for help on using the repository browser.

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