Hpet.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /** @file
  2. This file describes the contents of the ACPI High Precision Event Timer Description Table
  3. (HPET). Some additional ACPI values are defined in Acpi10.h, Acpi20.h, and Acpi30.h
  4. All changes to the HPET contents should be done in this file.
  5. Copyright (c) 2013-2015 Intel Corporation.
  6. SPDX-License-Identifier: BSD-2-Clause-Patent
  7. **/
  8. #ifndef _HPET_H_
  9. #define _HPET_H_
  10. //
  11. // Statements that include other files
  12. //
  13. #include <IndustryStandard/Acpi.h>
  14. #include <IndustryStandard/HighPrecisionEventTimerTable.h>
  15. //
  16. // HPET Definitions
  17. //
  18. #define EFI_ACPI_OEM_HPET_REVISION 0x00000001
  19. #define EFI_ACPI_EVENT_TIMER_BLOCK_ID 0x8086A201
  20. #define ACPI_RUNTIME_UPDATE 0x00
  21. //
  22. // Event Timer Block Base Address Information
  23. //
  24. #define EFI_ACPI_EVENT_TIMER_BLOCK_ADDRESS_SPACE_ID EFI_ACPI_3_0_SYSTEM_MEMORY
  25. #define EFI_ACPI_EVENT_TIMER_BLOCK_BIT_WIDTH 0x00
  26. #define EFI_ACPI_EVENT_TIMER_BLOCK_BIT_OFFSET 0x00
  27. #define EFI_ACPI_EVENT_TIMER_ACCESS_SIZE 0x00
  28. #define EFI_ACPI_HPET_NUMBER 0x00
  29. #define EFI_ACPI_MIN_CLOCK_TICK 0x0080
  30. #define EFI_ACPI_HPET_ATTRIBUTES 0x00
  31. #endif