]> git.proxmox.com Git - mirror_edk2.git/blob - Vlv2DeviceRefCodePkg/AcpiTablesPCAT/Facs/Facs.aslc
Vlv2DeviceRefCodePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / Vlv2DeviceRefCodePkg / AcpiTablesPCAT / Facs / Facs.aslc
1 /*++
2
3 Copyright (c) 1999 - 2014, Intel Corporation. All rights reserved
4
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7
8
9 Module Name:
10
11 Ea815acpiFACS.c
12
13
14 Abstract:
15
16 This file contains the FACS structure definition.
17
18 --*/
19
20 //
21 // Statements that include other files
22 //
23 #ifdef ECP_FLAG
24 #include "EDKIIGlueDxe.h"
25 #else
26 #include <PiDxe.h>
27 #endif
28 #include <IndustryStandard/Acpi50.h>
29 #include "AcpiTablePlatform.h"
30
31 EFI_ACPI_5_0_FIRMWARE_ACPI_CONTROL_STRUCTURE FACS = {
32 EFI_ACPI_5_0_FIRMWARE_ACPI_CONTROL_STRUCTURE_SIGNATURE,
33 sizeof (EFI_ACPI_5_0_FIRMWARE_ACPI_CONTROL_STRUCTURE),
34
35 //
36 // Hardware Signature will be updated at runtime
37 //
38 0x00000000, //HardwareSignature
39 0x00000000, //FirmwareWakingVector
40 0x00000000, //GlobalLock
41 0x00000000, //Flags
42 0x0000000000000000, //XFirmwareWakingVector
43 EFI_ACPI_5_0_FIRMWARE_ACPI_CONTROL_STRUCTURE_VERSION,
44 EFI_ACPI_RESERVED_BYTE, //Reserved0[3]
45 EFI_ACPI_RESERVED_BYTE,
46 EFI_ACPI_RESERVED_BYTE,
47 0x00000000, //OspmFlags
48 EFI_ACPI_RESERVED_BYTE, //Reserved1[24]
49 EFI_ACPI_RESERVED_BYTE,
50 EFI_ACPI_RESERVED_BYTE,
51 EFI_ACPI_RESERVED_BYTE,
52 EFI_ACPI_RESERVED_BYTE,
53 EFI_ACPI_RESERVED_BYTE,
54 EFI_ACPI_RESERVED_BYTE,
55 EFI_ACPI_RESERVED_BYTE,
56 EFI_ACPI_RESERVED_BYTE,
57 EFI_ACPI_RESERVED_BYTE,
58 EFI_ACPI_RESERVED_BYTE,
59 EFI_ACPI_RESERVED_BYTE,
60 EFI_ACPI_RESERVED_BYTE,
61 EFI_ACPI_RESERVED_BYTE,
62 EFI_ACPI_RESERVED_BYTE,
63 EFI_ACPI_RESERVED_BYTE,
64 EFI_ACPI_RESERVED_BYTE,
65 EFI_ACPI_RESERVED_BYTE,
66 EFI_ACPI_RESERVED_BYTE,
67 EFI_ACPI_RESERVED_BYTE,
68 EFI_ACPI_RESERVED_BYTE,
69 EFI_ACPI_RESERVED_BYTE,
70 EFI_ACPI_RESERVED_BYTE,
71 EFI_ACPI_RESERVED_BYTE
72 };
73
74 VOID*
75 ReferenceAcpiTable (
76 VOID
77 )
78 {
79 //
80 // Reference the table being generated to prevent the optimizer from
81 // removing the data structure from the executable
82 //
83 return (VOID*)&FACS;
84 }