mirror of https://github.com/acidanthera/audk.git
81 lines
2.1 KiB
Plaintext
81 lines
2.1 KiB
Plaintext
|
/** @file
|
||
|
This file contains the FACS structure definition.
|
||
|
|
||
|
Copyright (c) 2013-2015 Intel Corporation.
|
||
|
|
||
|
This program and the accompanying materials
|
||
|
are licensed and made available under the terms and conditions of the BSD License
|
||
|
which accompanies this distribution. The full text of the license may be found at
|
||
|
http://opensource.org/licenses/bsd-license.php
|
||
|
|
||
|
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||
|
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||
|
|
||
|
**/
|
||
|
|
||
|
//
|
||
|
// Statements that include other files
|
||
|
//
|
||
|
#include "Facs.h"
|
||
|
|
||
|
EFI_ACPI_2_0_FIRMWARE_ACPI_CONTROL_STRUCTURE FACS = {
|
||
|
EFI_ACPI_2_0_FIRMWARE_ACPI_CONTROL_STRUCTURE_SIGNATURE,
|
||
|
sizeof (EFI_ACPI_2_0_FIRMWARE_ACPI_CONTROL_STRUCTURE),
|
||
|
|
||
|
//
|
||
|
// Hardware Signature will be updated at runtime
|
||
|
//
|
||
|
0x00000000,
|
||
|
EFI_ACPI_FIRMWARE_WAKING_VECTOR,
|
||
|
EFI_ACPI_GLOBAL_LOCK,
|
||
|
EFI_ACPI_FIRMWARE_CONTROL_STRUCTURE_FLAGS,
|
||
|
EFI_ACPI_X_FIRMWARE_WAKING_VECTOR,
|
||
|
EFI_ACPI_2_0_FIRMWARE_ACPI_CONTROL_STRUCTURE_VERSION,
|
||
|
{
|
||
|
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
|
||
|
}
|
||
|
};
|
||
|
|
||
|
VOID*
|
||
|
ReferenceAcpiTable (
|
||
|
VOID
|
||
|
)
|
||
|
|
||
|
{
|
||
|
//
|
||
|
// Reference the table being generated to prevent the optimizer from removing the
|
||
|
// data structure from the exeutable
|
||
|
//
|
||
|
return (VOID*)&FACS;
|
||
|
}
|