2 Sample ACPI Platform Driver
4 Copyright (c) 2008 - 2012, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 #ifndef _ACPI_PLATFORM_H_INCLUDED_
16 #define _ACPI_PLATFORM_H_INCLUDED_
20 #include <Protocol/AcpiTable.h>
21 #include <Protocol/FirmwareVolume2.h>
22 #include <Protocol/PciIo.h>
24 #include <Library/BaseLib.h>
25 #include <Library/UefiBootServicesTableLib.h>
26 #include <Library/DebugLib.h>
27 #include <Library/PcdLib.h>
29 #include <IndustryStandard/Acpi.h>
32 EFI_PCI_IO_PROTOCOL
*PciIo
;
34 } ORIGINAL_ATTRIBUTES
;
39 IN EFI_ACPI_TABLE_PROTOCOL
*AcpiProtocol
,
40 IN VOID
*AcpiTableBuffer
,
41 IN UINTN AcpiTableBufferSize
,
52 QemuInstallAcpiTable (
53 IN EFI_ACPI_TABLE_PROTOCOL
*AcpiProtocol
,
54 IN VOID
*AcpiTableBuffer
,
55 IN UINTN AcpiTableBufferSize
,
67 IN EFI_ACPI_TABLE_PROTOCOL
*AcpiProtocol
72 InstallQemuFwCfgTables (
73 IN EFI_ACPI_TABLE_PROTOCOL
*AcpiProtocol
79 IN EFI_ACPI_TABLE_PROTOCOL
*AcpiTable
84 OUT ORIGINAL_ATTRIBUTES
**OriginalAttributes
,
90 IN ORIGINAL_ATTRIBUTES
*OriginalAttributes
,