• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /** @file
2   OVMF ACPI Platform Driver using QEMU's fw-cfg interface
3 
4   Copyright (C) 2015, Red Hat, Inc.
5   Copyright (c) 2008 - 2014, Intel Corporation. All rights reserved.<BR>
6 
7   This program and the accompanying materials are licensed and made available
8   under the terms and conditions of the BSD License which accompanies this
9   distribution.  The full text of the license may be found at
10   http://opensource.org/licenses/bsd-license.php
11 
12   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT
13   WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 **/
15 
16 #include "AcpiPlatform.h"
17 
18 /**
19   Effective entrypoint of QEMU fw-cfg Acpi Platform driver.
20 
21   @param  ImageHandle
22   @param  SystemTable
23 
24   @return EFI_SUCCESS
25   @return EFI_LOAD_ERROR
26   @return EFI_OUT_OF_RESOURCES
27 
28 **/
29 EFI_STATUS
30 EFIAPI
InstallAcpiTables(IN EFI_ACPI_TABLE_PROTOCOL * AcpiTable)31 InstallAcpiTables (
32   IN   EFI_ACPI_TABLE_PROTOCOL       *AcpiTable
33   )
34 {
35   EFI_STATUS                         Status;
36 
37   Status = InstallQemuFwCfgTables (AcpiTable);
38   return Status;
39 }
40