2 OVMF ACPI Platform Driver using QEMU's fw-cfg interface
4 Copyright (c) 2008 - 2014, 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 #include "AcpiPlatform.h"
18 Entrypoint of Acpi Platform driver.
24 @return EFI_LOAD_ERROR
25 @return EFI_OUT_OF_RESOURCES
30 QemuFwCfgAcpiPlatformEntryPoint (
31 IN EFI_HANDLE ImageHandle
,
32 IN EFI_SYSTEM_TABLE
*SystemTable
36 EFI_ACPI_TABLE_PROTOCOL
*AcpiTable
;
39 // Find the AcpiTable protocol
41 Status
= gBS
->LocateProtocol (
42 &gEfiAcpiTableProtocolGuid
,
46 if (EFI_ERROR (Status
)) {
50 Status
= InstallAllQemuLinkedTables (AcpiTable
);