]> git.proxmox.com Git - mirror_edk2.git/blame - QuarkPlatformPkg/Acpi/AcpiTables/Hpet/Hpet.aslc
ArmPkg/CompilerIntrinsicsLib: Add uread, uwrite GCC assembly sources
[mirror_edk2.git] / QuarkPlatformPkg / Acpi / AcpiTables / Hpet / Hpet.aslc
CommitLineData
b303605e
MK
1/** @file\r
2This file contains a structure definition for the ACPI 1.0 High Precision Event Timer\r
3Description Table (HPET). The contents of this file should only be modified\r
4for bug fixes, no porting is required. The table layout is defined in\r
5HighPrecisionEventTimerTable.h and the table contents are defined in Acpi1.0.h and Hpet.h.\r
6\r
7Copyright (c) 2013-2015 Intel Corporation.\r
8\r
0eb3de2e 9SPDX-License-Identifier: BSD-2-Clause-Patent\r
b303605e
MK
10\r
11**/\r
12\r
13//\r
14// Statements that include other files\r
15//\r
16\r
17#include "Hpet.h"\r
18\r
19//\r
20// High Precision Event Timer Table\r
21// Please modify all values in Hpet.h only.\r
22//\r
23\r
24EFI_ACPI_HIGH_PRECISION_EVENT_TIMER_TABLE_HEADER Hpet = {\r
25 {\r
26 EFI_ACPI_3_0_HIGH_PRECISION_EVENT_TIMER_TABLE_SIGNATURE,\r
27 sizeof (EFI_ACPI_HIGH_PRECISION_EVENT_TIMER_TABLE_HEADER),\r
28 EFI_ACPI_HIGH_PRECISION_EVENT_TIMER_TABLE_REVISION,\r
29\r
30 //\r
31 // Checksum will be updated at runtime\r
32 //\r
33 0x00,\r
34\r
35 //\r
36 // It is expected that these values will be updated at runtime\r
37 //\r
38 {' ', ' ', ' ', ' ', ' ', ' '},\r
39\r
40 0,\r
41 EFI_ACPI_OEM_HPET_REVISION,\r
42 0,\r
43 0\r
44 },\r
45 EFI_ACPI_EVENT_TIMER_BLOCK_ID,\r
46 {\r
47 EFI_ACPI_EVENT_TIMER_BLOCK_ADDRESS_SPACE_ID,\r
48 EFI_ACPI_EVENT_TIMER_BLOCK_BIT_WIDTH,\r
49 EFI_ACPI_EVENT_TIMER_BLOCK_BIT_OFFSET,\r
50 EFI_ACPI_EVENT_TIMER_ACCESS_SIZE,\r
51 ACPI_RUNTIME_UPDATE\r
52 },\r
53 EFI_ACPI_HPET_NUMBER,\r
54 EFI_ACPI_MIN_CLOCK_TICK,\r
55 EFI_ACPI_HPET_ATTRIBUTES\r
56};\r
57\r
58VOID*\r
59ReferenceAcpiTable (\r
60 VOID\r
61 )\r
62{\r
63 //\r
64 // Reference the table being generated to prevent the optimizer from removing the\r
65 // data structure from the exeutable\r
66 //\r
67 return (VOID*)&Hpet;\r
68}\r