1/** @file 2This file contains a structure definition for the ACPI 1.0 High Precision Event Timer 3Description Table (HPET). The contents of this file should only be modified 4for bug fixes, no porting is required. The table layout is defined in 5HighPrecisionEventTimerTable.h and the table contents are defined in Acpi1.0.h and Hpet.h. 6 7Copyright (c) 2013-2015 Intel Corporation. 8 9This program and the accompanying materials 10are licensed and made available under the terms and conditions of the BSD License 11which accompanies this distribution. The full text of the license may be found at 12http://opensource.org/licenses/bsd-license.php 13 14THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 15WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 16 17**/ 18 19// 20// Statements that include other files 21// 22 23#include "Hpet.h" 24 25// 26// High Precision Event Timer Table 27// Please modify all values in Hpet.h only. 28// 29 30EFI_ACPI_HIGH_PRECISION_EVENT_TIMER_TABLE_HEADER Hpet = { 31 { 32 EFI_ACPI_3_0_HIGH_PRECISION_EVENT_TIMER_TABLE_SIGNATURE, 33 sizeof (EFI_ACPI_HIGH_PRECISION_EVENT_TIMER_TABLE_HEADER), 34 EFI_ACPI_HIGH_PRECISION_EVENT_TIMER_TABLE_REVISION, 35 36 // 37 // Checksum will be updated at runtime 38 // 39 0x00, 40 41 // 42 // It is expected that these values will be updated at runtime 43 // 44 {' ', ' ', ' ', ' ', ' ', ' '}, 45 46 0, 47 EFI_ACPI_OEM_HPET_REVISION, 48 0, 49 0 50 }, 51 EFI_ACPI_EVENT_TIMER_BLOCK_ID, 52 { 53 EFI_ACPI_EVENT_TIMER_BLOCK_ADDRESS_SPACE_ID, 54 EFI_ACPI_EVENT_TIMER_BLOCK_BIT_WIDTH, 55 EFI_ACPI_EVENT_TIMER_BLOCK_BIT_OFFSET, 56 EFI_ACPI_EVENT_TIMER_ACCESS_SIZE, 57 ACPI_RUNTIME_UPDATE 58 }, 59 EFI_ACPI_HPET_NUMBER, 60 EFI_ACPI_MIN_CLOCK_TICK, 61 EFI_ACPI_HPET_ATTRIBUTES 62}; 63 64VOID* 65ReferenceAcpiTable ( 66 VOID 67 ) 68{ 69 // 70 // Reference the table being generated to prevent the optimizer from removing the 71 // data structure from the exeutable 72 // 73 return (VOID*)&Hpet; 74} 75