2009-05-27 23:10:18 +02:00
|
|
|
/** @file
|
|
|
|
FACS Table
|
2019-09-19 14:05:00 +02:00
|
|
|
|
2012-10-11 04:15:23 +02:00
|
|
|
Copyright (c) 2008 - 2012, Intel Corporation. All rights reserved.<BR>
|
2019-04-04 01:06:33 +02:00
|
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
2009-05-27 23:10:18 +02:00
|
|
|
|
2019-09-19 14:05:00 +02:00
|
|
|
**/
|
2009-05-27 23:10:18 +02:00
|
|
|
|
|
|
|
#include <IndustryStandard/Acpi.h>
|
|
|
|
|
|
|
|
EFI_ACPI_1_0_FIRMWARE_ACPI_CONTROL_STRUCTURE FACS = {
|
|
|
|
EFI_ACPI_1_0_FIRMWARE_ACPI_CONTROL_STRUCTURE_SIGNATURE,
|
|
|
|
sizeof (EFI_ACPI_1_0_FIRMWARE_ACPI_CONTROL_STRUCTURE),
|
|
|
|
|
|
|
|
//
|
|
|
|
// Hardware Signature will be updated at runtime
|
|
|
|
//
|
|
|
|
0x00000000,
|
|
|
|
0x00,
|
|
|
|
0x00,
|
|
|
|
0x00,
|
2012-10-11 04:15:23 +02:00
|
|
|
{
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE,
|
|
|
|
EFI_ACPI_RESERVED_BYTE
|
|
|
|
}
|
2009-05-27 23:10:18 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
VOID*
|
|
|
|
ReferenceAcpiTable (
|
|
|
|
VOID
|
|
|
|
)
|
|
|
|
{
|
|
|
|
//
|
2019-09-19 14:05:00 +02:00
|
|
|
// Reference the table being generated to prevent the optimizer from removing the
|
2020-02-07 02:08:07 +01:00
|
|
|
// data structure from the executable
|
2009-05-27 23:10:18 +02:00
|
|
|
//
|
|
|
|
return (VOID*)&FACS;
|
|
|
|
}
|
|
|
|
|