]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/AcpiTables/Facs.aslc
Add missing braces around initializer.
[mirror_edk2.git] / OvmfPkg / AcpiTables / Facs.aslc
1 /** @file
2 FACS Table
3
4 Copyright (c) 2008 - 2012, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials are
6 licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13 **/
14
15 #include <IndustryStandard/Acpi.h>
16
17 EFI_ACPI_1_0_FIRMWARE_ACPI_CONTROL_STRUCTURE FACS = {
18 EFI_ACPI_1_0_FIRMWARE_ACPI_CONTROL_STRUCTURE_SIGNATURE,
19 sizeof (EFI_ACPI_1_0_FIRMWARE_ACPI_CONTROL_STRUCTURE),
20
21 //
22 // Hardware Signature will be updated at runtime
23 //
24 0x00000000,
25 0x00,
26 0x00,
27 0x00,
28 {
29 EFI_ACPI_RESERVED_BYTE,
30 EFI_ACPI_RESERVED_BYTE,
31 EFI_ACPI_RESERVED_BYTE,
32 EFI_ACPI_RESERVED_BYTE,
33 EFI_ACPI_RESERVED_BYTE,
34 EFI_ACPI_RESERVED_BYTE,
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 EFI_ACPI_RESERVED_BYTE,
67 EFI_ACPI_RESERVED_BYTE,
68 EFI_ACPI_RESERVED_BYTE
69 }
70 };
71
72
73 VOID*
74 ReferenceAcpiTable (
75 VOID
76 )
77 {
78 //
79 // Reference the table being generated to prevent the optimizer from removing the
80 // data structure from the exeutable
81 //
82 return (VOID*)&FACS;
83 }
84