PcAtChipsetPkg.dec 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. ## @file
  2. # Public definitions for PcAtChipset package.
  3. #
  4. # This package is designed to public interfaces and implementation which follows
  5. # PcAt defacto standard.
  6. #
  7. # Copyright (c) 2009 - 2019, Intel Corporation. All rights reserved.<BR>
  8. # Copyright (c) 2017, AMD Inc. All rights reserved.<BR>
  9. #
  10. # SPDX-License-Identifier: BSD-2-Clause-Patent
  11. #
  12. ##
  13. [Defines]
  14. DEC_SPECIFICATION = 0x00010005
  15. PACKAGE_NAME = PcAtChipsetPkg
  16. PACKAGE_UNI_FILE = PcAtChipsetPkg.uni
  17. PACKAGE_GUID = B728689A-52D3-4b8c-AE89-2CE5514CC6DC
  18. PACKAGE_VERSION = 0.3
  19. [Includes]
  20. Include
  21. [LibraryClasses]
  22. ## @libraryclass Provides functions to manage I/O APIC Redirection Table Entries.
  23. #
  24. IoApicLib|Include/Library/IoApicLib.h
  25. [Guids]
  26. gPcAtChipsetPkgTokenSpaceGuid = { 0x326ae723, 0xae32, 0x4589, { 0x98, 0xb8, 0xca, 0xc2, 0x3c, 0xdc, 0xc1, 0xb1 } }
  27. #
  28. # [Error.gPcAtChipsetPkgTokenSpaceGuid]
  29. # 0x80000001 | Invalid value provided.
  30. #
  31. [PcdsFeatureFlag]
  32. ## Indicates the HPET Timer will be configured to use MSI interrupts if the HPET timer supports them, or use I/O APIC interrupts.<BR><BR>
  33. # TRUE - Configures the HPET Timer to use MSI interrupts if the HPET Timer supports them.<BR>
  34. # FALSE - Configures the HPET Timer to use I/O APIC interrupts.<BR>
  35. # @Prompt Configure HPET to use MSI.
  36. gPcAtChipsetPkgTokenSpaceGuid.PcdHpetMsiEnable|TRUE|BOOLEAN|0x00001000
  37. [PcdsFixedAtBuild, PcdsDynamic, PcdsDynamicEx, PcdsPatchableInModule]
  38. ## This PCD specifies the base address of the HPET timer.
  39. # @Prompt HPET base address.
  40. gPcAtChipsetPkgTokenSpaceGuid.PcdHpetBaseAddress|0xFED00000|UINT32|0x00000009
  41. ## This PCD specifies the Local APIC Interrupt Vector for the HPET Timer.
  42. # @Prompt HPET local APIC vector.
  43. gPcAtChipsetPkgTokenSpaceGuid.PcdHpetLocalApicVector|0x40|UINT8|0x0000000A
  44. ## This PCD specifies the default period of the HPET Timer in 100 ns units.
  45. # The default value of 100000 100 ns units is the same as 10 ms.
  46. # @Prompt Default period of HPET timer.
  47. gPcAtChipsetPkgTokenSpaceGuid.PcdHpetDefaultTimerPeriod|100000|UINT64|0x0000000B
  48. ## This PCD specifies the base address of the IO APIC.
  49. # @Prompt IO APIC base address.
  50. gPcAtChipsetPkgTokenSpaceGuid.PcdIoApicBaseAddress|0xFEC00000|UINT32|0x0000000C
  51. ## This PCD specifies the minimal valid year in RTC.
  52. # @Prompt Minimal valid year in RTC.
  53. gPcAtChipsetPkgTokenSpaceGuid.PcdMinimalValidYear|1998|UINT16|0x0000000D
  54. ## This PCD specifies the maximal valid year in RTC.
  55. # @Prompt Maximal valid year in RTC.
  56. # @Expression 0x80000001 | gPcAtChipsetPkgTokenSpaceGuid.PcdMaximalValidYear < gPcAtChipsetPkgTokenSpaceGuid.PcdMinimalValidYear + 100
  57. gPcAtChipsetPkgTokenSpaceGuid.PcdMaximalValidYear|2097|UINT16|0x0000000E
  58. [PcdsFixedAtBuild, PcdsPatchableInModule]
  59. ## Defines the ACPI register set base address.
  60. # The invalid 0xFFFF is as its default value. It must be configured to the real value.
  61. # @Prompt ACPI Timer IO Port Address
  62. gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPortBaseAddress |0xFFFF|UINT16|0x00000010
  63. ## Defines the PCI Bus Number of the PCI device that contains the BAR and Enable for ACPI hardware registers.
  64. # @Prompt ACPI Hardware PCI Bus Number
  65. gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciBusNumber | 0x00| UINT8|0x00000011
  66. ## Defines the PCI Device Number of the PCI device that contains the BAR and Enable for ACPI hardware registers.
  67. # The invalid 0xFF is as its default value. It must be configured to the real value.
  68. # @Prompt ACPI Hardware PCI Device Number
  69. gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciDeviceNumber | 0xFF| UINT8|0x00000012
  70. ## Defines the PCI Function Number of the PCI device that contains the BAR and Enable for ACPI hardware registers.
  71. # The invalid 0xFF is as its default value. It must be configured to the real value.
  72. # @Prompt ACPI Hardware PCI Function Number
  73. gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciFunctionNumber | 0xFF| UINT8|0x00000013
  74. ## Defines the PCI Register Offset of the PCI device that contains the Enable for ACPI hardware registers.
  75. # The invalid 0xFFFF is as its default value. It must be configured to the real value.
  76. # @Prompt ACPI Hardware PCI Register Offset
  77. gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciEnableRegisterOffset |0xFFFF|UINT16|0x00000014
  78. ## Defines the bit mask that must be set to enable the APIC hardware register BAR.
  79. # @Prompt ACPI Hardware PCI Bar Enable BitMask
  80. gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoBarEnableMask | 0x00| UINT8|0x00000015
  81. ## Defines the PCI Register Offset of the PCI device that contains the BAR for ACPI hardware registers.
  82. # The invalid 0xFFFF is as its default value. It must be configured to the real value.
  83. # @Prompt ACPI Hardware PCI Bar Register Offset
  84. gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciBarRegisterOffset |0xFFFF|UINT16|0x00000016
  85. ## Defines the offset to the 32-bit Timer Value register that resides within the ACPI BAR.
  86. # @Prompt Offset to 32-bit Timer register in ACPI BAR
  87. gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiPm1TmrOffset |0x0008|UINT16|0x00000017
  88. ## Defines the bit mask to retrieve ACPI IO Port Base Address
  89. # @Prompt ACPI IO Port Base Address Mask
  90. gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPortBaseAddressMask |0xFFFE|UINT16|0x00000018
  91. ## Reset Control Register address in I/O space.
  92. # @Prompt Reset Control Register address
  93. gPcAtChipsetPkgTokenSpaceGuid.PcdResetControlRegister|0x64|UINT64|0x00000019
  94. ## 8bit Reset Control Register value for cold reset.
  95. # @Prompt Reset Control Register value for cold reset
  96. gPcAtChipsetPkgTokenSpaceGuid.PcdResetControlValueColdReset|0xFE|UINT8|0x0000001A
  97. ## Specifies the initial value for Register_A in RTC.
  98. # @Prompt Initial value for Register_A in RTC.
  99. gPcAtChipsetPkgTokenSpaceGuid.PcdInitialValueRtcRegisterA|0x26|UINT8|0x0000001B
  100. ## Specifies the initial value for Register_B in RTC.
  101. # @Prompt Initial value for Register_B in RTC.
  102. gPcAtChipsetPkgTokenSpaceGuid.PcdInitialValueRtcRegisterB|0x02|UINT8|0x0000001C
  103. ## Specifies the initial value for Register_D in RTC.
  104. # @Prompt Initial value for Register_D in RTC.
  105. gPcAtChipsetPkgTokenSpaceGuid.PcdInitialValueRtcRegisterD|0x00|UINT8|0x0000001D
  106. ## Specifies RTC Index Register address in I/O space.
  107. # @Prompt RTC Index Register address
  108. gPcAtChipsetPkgTokenSpaceGuid.PcdRtcIndexRegister|0x70|UINT8|0x0000001E
  109. ## Specifies RTC Target Register address in I/O space.
  110. # @Prompt RTC Target Register address
  111. gPcAtChipsetPkgTokenSpaceGuid.PcdRtcTargetRegister|0x71|UINT8|0x0000001F
  112. ## RTC Update Timeout Value(microsecond).
  113. # @Prompt RTC Update Timeout Value.
  114. gPcAtChipsetPkgTokenSpaceGuid.PcdRealTimeClockUpdateTimeout|100000|UINT32|0x00000020
  115. [UserExtensions.TianoCore."ExtraFiles"]
  116. PcAtChipsetPkgExtra.uni