3 Copyright (c) 1999 - 2014, Intel Corporation. All rights reserved
5 This program and the accompanying materials are licensed and made available under
6 the terms and conditions of the BSD License that accompanies this distribution.
7 The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php.
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.
21 This file contains a structure definition for the ACPI HPET Table.
25 // Statements that include other files
31 #include "AcpiTablePlatform.h"
34 EFI_ACPI_HIGH_PRECISION_EVENT_TIMER_TABLE_HEADER HPET = {
36 EFI_ACPI_3_0_HIGH_PRECISION_EVENT_TIMER_TABLE_SIGNATURE,
37 sizeof (EFI_ACPI_HIGH_PRECISION_EVENT_TIMER_TABLE_HEADER),
38 EFI_ACPI_HIGH_PRECISION_EVENT_TIMER_TABLE_REVISION,
39 0, // to make sum of entire table == 0
40 EFI_ACPI_OEM_ID, // OEMID is a 6 bytes long field
41 EFI_ACPI_OEM_TABLE_ID, // OEM table identification(8 bytes long)
42 EFI_ACPI_OEM_REVISION, // OEM revision
43 EFI_ACPI_CREATOR_ID, // ASL compiler vendor ID
44 EFI_ACPI_CREATOR_REVISION // ASL compiler revision number
46 0x0, // EventTimerBlockId
48 0x00, // Address_Space_ID = System Memory
49 0x40, // Register_Bit_Width = 32 bits, mentioned about write failures when in 64bit in SCU HAS
50 0x00, // Register_Bit_offset
52 HPET_BASE_ADDRESS, // Base addresse of HPET
54 0x0, // Only HPET's _UID in Namespace
55 MAIN_COUNTER_MIN_PERIODIC_CLOCK_TICKS,
65 // Reference the table being generated to prevent the optimizer from
66 // removing the data structure from the executable