2 OVMF ACPI Platform Driver
4 Copyright (c) 2008 - 2012, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
9 #ifndef ACPI_PLATFORM_H_
10 #define ACPI_PLATFORM_H_
12 #include <Protocol/AcpiTable.h> // EFI_ACPI_TABLE_PROTOCOL
13 #include <Protocol/PciIo.h> // EFI_PCI_IO_PROTOCOL
16 EFI_PCI_IO_PROTOCOL
*PciIo
;
18 } ORIGINAL_ATTRIBUTES
;
20 typedef struct S3_CONTEXT S3_CONTEXT
;
24 InstallQemuFwCfgTables (
25 IN EFI_ACPI_TABLE_PROTOCOL
*AcpiProtocol
31 IN EFI_ACPI_TABLE_PROTOCOL
*AcpiTable
36 OUT ORIGINAL_ATTRIBUTES
**OriginalAttributes
,
42 IN ORIGINAL_ATTRIBUTES
*OriginalAttributes
,
48 OUT S3_CONTEXT
**S3Context
,
49 IN UINTN WritePointerCount
54 IN S3_CONTEXT
*S3Context
58 SaveCondensedWritePointerToS3Context (
59 IN OUT S3_CONTEXT
*S3Context
,
60 IN UINT16 PointerItem
,
62 IN UINT32 PointerOffset
,
63 IN UINT64 PointerValue
67 TransferS3ContextToBootScript (
68 IN S3_CONTEXT
*S3Context