]>
Commit | Line | Data |
---|---|---|
49ba9447 | 1 | /** @file\r |
2 | FACS Table\r | |
3 | \r | |
4 | Copyright (c) 2008 - 2009, Intel Corporation<BR> All rights\r | |
5 | reserved. This program and the accompanying materials are\r | |
6 | licensed and made available under the terms and conditions of the BSD License\r | |
7 | which accompanies this distribution. The full text of the license may be found at\r | |
8 | http://opensource.org/licenses/bsd-license.php\r | |
9 | \r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
12 | \r | |
13 | **/ \r | |
14 | \r | |
15 | #include <IndustryStandard/Acpi.h>\r | |
16 | \r | |
17 | EFI_ACPI_1_0_FIRMWARE_ACPI_CONTROL_STRUCTURE FACS = {\r | |
18 | EFI_ACPI_1_0_FIRMWARE_ACPI_CONTROL_STRUCTURE_SIGNATURE,\r | |
19 | sizeof (EFI_ACPI_1_0_FIRMWARE_ACPI_CONTROL_STRUCTURE),\r | |
20 | \r | |
21 | //\r | |
22 | // Hardware Signature will be updated at runtime\r | |
23 | //\r | |
24 | 0x00000000,\r | |
25 | 0x00,\r | |
26 | 0x00,\r | |
27 | 0x00,\r | |
28 | EFI_ACPI_RESERVED_BYTE,\r | |
29 | EFI_ACPI_RESERVED_BYTE,\r | |
30 | EFI_ACPI_RESERVED_BYTE,\r | |
31 | EFI_ACPI_RESERVED_BYTE,\r | |
32 | EFI_ACPI_RESERVED_BYTE,\r | |
33 | EFI_ACPI_RESERVED_BYTE,\r | |
34 | EFI_ACPI_RESERVED_BYTE,\r | |
35 | EFI_ACPI_RESERVED_BYTE,\r | |
36 | EFI_ACPI_RESERVED_BYTE,\r | |
37 | EFI_ACPI_RESERVED_BYTE,\r | |
38 | EFI_ACPI_RESERVED_BYTE,\r | |
39 | EFI_ACPI_RESERVED_BYTE,\r | |
40 | EFI_ACPI_RESERVED_BYTE,\r | |
41 | EFI_ACPI_RESERVED_BYTE,\r | |
42 | EFI_ACPI_RESERVED_BYTE,\r | |
43 | EFI_ACPI_RESERVED_BYTE,\r | |
44 | EFI_ACPI_RESERVED_BYTE,\r | |
45 | EFI_ACPI_RESERVED_BYTE,\r | |
46 | EFI_ACPI_RESERVED_BYTE,\r | |
47 | EFI_ACPI_RESERVED_BYTE,\r | |
48 | EFI_ACPI_RESERVED_BYTE,\r | |
49 | EFI_ACPI_RESERVED_BYTE,\r | |
50 | EFI_ACPI_RESERVED_BYTE,\r | |
51 | EFI_ACPI_RESERVED_BYTE,\r | |
52 | EFI_ACPI_RESERVED_BYTE,\r | |
53 | EFI_ACPI_RESERVED_BYTE,\r | |
54 | EFI_ACPI_RESERVED_BYTE,\r | |
55 | EFI_ACPI_RESERVED_BYTE,\r | |
56 | EFI_ACPI_RESERVED_BYTE,\r | |
57 | EFI_ACPI_RESERVED_BYTE,\r | |
58 | EFI_ACPI_RESERVED_BYTE,\r | |
59 | EFI_ACPI_RESERVED_BYTE,\r | |
60 | EFI_ACPI_RESERVED_BYTE,\r | |
61 | EFI_ACPI_RESERVED_BYTE,\r | |
62 | EFI_ACPI_RESERVED_BYTE,\r | |
63 | EFI_ACPI_RESERVED_BYTE,\r | |
64 | EFI_ACPI_RESERVED_BYTE,\r | |
65 | EFI_ACPI_RESERVED_BYTE,\r | |
66 | EFI_ACPI_RESERVED_BYTE,\r | |
67 | EFI_ACPI_RESERVED_BYTE\r | |
68 | };\r | |
69 | \r | |
70 | \r | |
71 | VOID*\r | |
72 | ReferenceAcpiTable (\r | |
73 | VOID\r | |
74 | )\r | |
75 | {\r | |
76 | //\r | |
77 | // Reference the table being generated to prevent the optimizer from removing the \r | |
78 | // data structure from the exeutable\r | |
79 | //\r | |
80 | return (VOID*)&FACS;\r | |
81 | }\r | |
82 | \r |