]> git.proxmox.com Git - mirror_edk2.git/blob - QuarkPlatformPkg/Acpi/AcpiTables/Facs/Facs.aslc
QuarkPlatformPkg: Add new package for Galileo boards
[mirror_edk2.git] / QuarkPlatformPkg / Acpi / AcpiTables / Facs / Facs.aslc
1 /** @file
2 This file contains the FACS structure definition.
3
4 Copyright (c) 2013-2015 Intel Corporation.
5
6 This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
10
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13
14 **/
15
16 //
17 // Statements that include other files
18 //
19 #include "Facs.h"
20
21 EFI_ACPI_2_0_FIRMWARE_ACPI_CONTROL_STRUCTURE FACS = {
22 EFI_ACPI_2_0_FIRMWARE_ACPI_CONTROL_STRUCTURE_SIGNATURE,
23 sizeof (EFI_ACPI_2_0_FIRMWARE_ACPI_CONTROL_STRUCTURE),
24
25 //
26 // Hardware Signature will be updated at runtime
27 //
28 0x00000000,
29 EFI_ACPI_FIRMWARE_WAKING_VECTOR,
30 EFI_ACPI_GLOBAL_LOCK,
31 EFI_ACPI_FIRMWARE_CONTROL_STRUCTURE_FLAGS,
32 EFI_ACPI_X_FIRMWARE_WAKING_VECTOR,
33 EFI_ACPI_2_0_FIRMWARE_ACPI_CONTROL_STRUCTURE_VERSION,
34 {
35 EFI_ACPI_RESERVED_BYTE,
36 EFI_ACPI_RESERVED_BYTE,
37 EFI_ACPI_RESERVED_BYTE,
38 EFI_ACPI_RESERVED_BYTE,
39 EFI_ACPI_RESERVED_BYTE,
40 EFI_ACPI_RESERVED_BYTE,
41 EFI_ACPI_RESERVED_BYTE,
42 EFI_ACPI_RESERVED_BYTE,
43 EFI_ACPI_RESERVED_BYTE,
44 EFI_ACPI_RESERVED_BYTE,
45 EFI_ACPI_RESERVED_BYTE,
46 EFI_ACPI_RESERVED_BYTE,
47 EFI_ACPI_RESERVED_BYTE,
48 EFI_ACPI_RESERVED_BYTE,
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 }
67 };
68
69 VOID*
70 ReferenceAcpiTable (
71 VOID
72 )
73
74 {
75 //
76 // Reference the table being generated to prevent the optimizer from removing the
77 // data structure from the exeutable
78 //
79 return (VOID*)&FACS;
80 }