2010-02-24 00:58:38 +01:00
|
|
|
## @file
|
2009-07-06 04:59:37 +02:00
|
|
|
# Public definitions for PcAtChipset package.
|
|
|
|
#
|
|
|
|
# This package is designed to public interfaces and implementation which follows
|
|
|
|
# PcAt defacto standard.
|
|
|
|
#
|
2019-08-28 01:24:05 +02:00
|
|
|
# Copyright (c) 2009 - 2019, Intel Corporation. All rights reserved.<BR>
|
2017-10-31 18:54:52 +01:00
|
|
|
# Copyright (c) 2017, AMD Inc. All rights reserved.<BR>
|
2020-10-02 23:13:55 +02:00
|
|
|
# Copyright (c) 2018 - 2020, ARM Limited. All rights reserved.<BR>
|
2009-07-06 04:59:37 +02:00
|
|
|
#
|
2019-04-04 01:06:35 +02:00
|
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
2009-07-06 04:59:37 +02:00
|
|
|
#
|
2010-02-24 00:58:38 +01:00
|
|
|
##
|
2009-07-06 04:59:37 +02:00
|
|
|
|
|
|
|
[Defines]
|
|
|
|
DEC_SPECIFICATION = 0x00010005
|
|
|
|
PACKAGE_NAME = PcAtChipsetPkg
|
2014-08-28 07:19:04 +02:00
|
|
|
PACKAGE_UNI_FILE = PcAtChipsetPkg.uni
|
2009-07-06 04:59:37 +02:00
|
|
|
PACKAGE_GUID = B728689A-52D3-4b8c-AE89-2CE5514CC6DC
|
2014-01-10 08:29:32 +01:00
|
|
|
PACKAGE_VERSION = 0.3
|
2009-07-06 04:59:37 +02:00
|
|
|
|
2011-09-02 04:43:51 +02:00
|
|
|
[Includes]
|
|
|
|
Include
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
## @libraryclass Provides functions to manage I/O APIC Redirection Table Entries.
|
|
|
|
#
|
|
|
|
IoApicLib|Include/Library/IoApicLib.h
|
2018-06-27 15:12:46 +02:00
|
|
|
|
Clean up DEC files:
1) Remove section header comment blocks that do not provide any information
2) Combine PCDs listed in multiple sections into a single section that supports multiple PCD types to reduce maintenance overhead
3) Remove ModuleTypeList comments from [Includes], [Protocols], [Ppis], and [Guids] sections that do not properly describe the module type restrictions.
4) Clean up formatting of GUID structure declarations
5) Remove ".common" from section names if they are not required.
6) Order sections consistently as [Defines], [Includes], [LibraryClasses], [Guid], [Ppis], [Protocols], [PcdsFeatureFlag], [PcdsFixedAtBuild], [PcdsPatchableInModule], [PcdsDynamic], and [PcdsDynamicEx]
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11634 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-09 19:51:00 +02:00
|
|
|
[Guids]
|
|
|
|
gPcAtChipsetPkgTokenSpaceGuid = { 0x326ae723, 0xae32, 0x4589, { 0x98, 0xb8, 0xca, 0xc2, 0x3c, 0xdc, 0xc1, 0xb1 } }
|
|
|
|
|
2015-06-12 03:43:46 +02:00
|
|
|
#
|
|
|
|
# [Error.gPcAtChipsetPkgTokenSpaceGuid]
|
|
|
|
# 0x80000001 | Invalid value provided.
|
|
|
|
#
|
|
|
|
|
2011-09-02 04:43:51 +02:00
|
|
|
[PcdsFeatureFlag]
|
2014-08-28 07:19:04 +02:00
|
|
|
## 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>
|
|
|
|
# TRUE - Configures the HPET Timer to use MSI interrupts if the HPET Timer supports them.<BR>
|
|
|
|
# FALSE - Configures the HPET Timer to use I/O APIC interrupts.<BR>
|
|
|
|
# @Prompt Configure HPET to use MSI.
|
2011-09-02 04:43:51 +02:00
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdHpetMsiEnable|TRUE|BOOLEAN|0x00001000
|
2014-08-28 07:19:04 +02:00
|
|
|
|
2020-10-02 23:13:55 +02:00
|
|
|
## Indicates the RTC port registers are in MMIO space, or in I/O space.
|
|
|
|
# Default is I/O space.<BR><BR>
|
|
|
|
# TRUE - RTC port registers are in MMIO space.<BR>
|
|
|
|
# FALSE - RTC port registers are in I/O space.<BR>
|
|
|
|
# @Prompt RTC port registers use MMIO.
|
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdRtcUseMmio|FALSE|BOOLEAN|0x00000021
|
|
|
|
|
2011-05-04 22:56:30 +02:00
|
|
|
[PcdsFixedAtBuild, PcdsDynamic, PcdsDynamicEx, PcdsPatchableInModule]
|
2011-09-02 04:43:51 +02:00
|
|
|
## This PCD specifies the base address of the HPET timer.
|
2014-08-28 07:19:04 +02:00
|
|
|
# @Prompt HPET base address.
|
2011-09-02 04:43:51 +02:00
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdHpetBaseAddress|0xFED00000|UINT32|0x00000009
|
|
|
|
|
|
|
|
## This PCD specifies the Local APIC Interrupt Vector for the HPET Timer.
|
2014-08-28 07:19:04 +02:00
|
|
|
# @Prompt HPET local APIC vector.
|
2011-09-02 04:43:51 +02:00
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdHpetLocalApicVector|0x40|UINT8|0x0000000A
|
|
|
|
|
2019-10-09 06:55:54 +02:00
|
|
|
## This PCD specifies the default period of the HPET Timer in 100 ns units.
|
2011-09-02 04:43:51 +02:00
|
|
|
# The default value of 100000 100 ns units is the same as 10 ms.
|
2014-08-28 07:19:04 +02:00
|
|
|
# @Prompt Default period of HPET timer.
|
2011-09-02 04:43:51 +02:00
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdHpetDefaultTimerPeriod|100000|UINT64|0x0000000B
|
2018-06-27 15:12:46 +02:00
|
|
|
|
2014-08-28 07:19:04 +02:00
|
|
|
## This PCD specifies the base address of the IO APIC.
|
|
|
|
# @Prompt IO APIC base address.
|
2011-09-02 04:43:51 +02:00
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdIoApicBaseAddress|0xFEC00000|UINT32|0x0000000C
|
2015-01-23 05:49:00 +01:00
|
|
|
|
|
|
|
## This PCD specifies the minimal valid year in RTC.
|
|
|
|
# @Prompt Minimal valid year in RTC.
|
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdMinimalValidYear|1998|UINT16|0x0000000D
|
|
|
|
|
|
|
|
## This PCD specifies the maximal valid year in RTC.
|
|
|
|
# @Prompt Maximal valid year in RTC.
|
2015-06-12 03:43:46 +02:00
|
|
|
# @Expression 0x80000001 | gPcAtChipsetPkgTokenSpaceGuid.PcdMaximalValidYear < gPcAtChipsetPkgTokenSpaceGuid.PcdMinimalValidYear + 100
|
2015-06-11 09:14:18 +02:00
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdMaximalValidYear|2097|UINT16|0x0000000E
|
2018-06-27 15:12:46 +02:00
|
|
|
|
2023-03-26 04:41:38 +02:00
|
|
|
## This PCD specifies the RTC default year when the RTC is in an invalid state.
|
|
|
|
# @Prompt Default year in RTC.
|
|
|
|
# @Expression 0x80000001 | gPcAtChipsetPkgTokenSpaceGuid.PcdRtcDefaultYear >= gPcAtChipsetPkgTokenSpaceGuid.PcdMinimalValidYear
|
|
|
|
# @Expression 0x80000001 | gPcAtChipsetPkgTokenSpaceGuid.PcdRtcDefaultYear <= gPcAtChipsetPkgTokenSpaceGuid.PcdMaximalValidYear
|
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdRtcDefaultYear|gPcAtChipsetPkgTokenSpaceGuid.PcdMinimalValidYear|UINT16|0x0000000F
|
|
|
|
|
2020-10-02 23:13:55 +02:00
|
|
|
## Specifies RTC Index Register address in MMIO space.
|
|
|
|
# @Prompt RTC Index Register address
|
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdRtcIndexRegister64|0x0|UINT64|0x00000022
|
|
|
|
|
|
|
|
## Specifies RTC Target Register address in MMIO space.
|
|
|
|
# @Prompt RTC Target Register address
|
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdRtcTargetRegister64|0x0|UINT64|0x00000023
|
|
|
|
|
2022-12-14 08:56:23 +01:00
|
|
|
## Specifies RTC Index Register address in I/O space.
|
|
|
|
# @Prompt RTC Index Register address
|
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdRtcIndexRegister|0x70|UINT8|0x0000001E
|
|
|
|
|
|
|
|
## Specifies RTC Target Register address in I/O space.
|
|
|
|
# @Prompt RTC Target Register address
|
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdRtcTargetRegister|0x71|UINT8|0x0000001F
|
|
|
|
|
2014-08-14 16:30:32 +02:00
|
|
|
[PcdsFixedAtBuild, PcdsPatchableInModule]
|
|
|
|
## Defines the ACPI register set base address.
|
2018-06-27 15:12:46 +02:00
|
|
|
# The invalid 0xFFFF is as its default value. It must be configured to the real value.
|
2014-08-14 16:30:32 +02:00
|
|
|
# @Prompt ACPI Timer IO Port Address
|
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPortBaseAddress |0xFFFF|UINT16|0x00000010
|
|
|
|
|
|
|
|
## Defines the PCI Bus Number of the PCI device that contains the BAR and Enable for ACPI hardware registers.
|
|
|
|
# @Prompt ACPI Hardware PCI Bus Number
|
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciBusNumber | 0x00| UINT8|0x00000011
|
|
|
|
|
|
|
|
## Defines the PCI Device Number of the PCI device that contains the BAR and Enable for ACPI hardware registers.
|
2018-06-27 15:12:46 +02:00
|
|
|
# The invalid 0xFF is as its default value. It must be configured to the real value.
|
2014-08-14 16:30:32 +02:00
|
|
|
# @Prompt ACPI Hardware PCI Device Number
|
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciDeviceNumber | 0xFF| UINT8|0x00000012
|
|
|
|
|
|
|
|
## Defines the PCI Function Number of the PCI device that contains the BAR and Enable for ACPI hardware registers.
|
2018-06-27 15:12:46 +02:00
|
|
|
# The invalid 0xFF is as its default value. It must be configured to the real value.
|
2014-08-14 16:30:32 +02:00
|
|
|
# @Prompt ACPI Hardware PCI Function Number
|
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciFunctionNumber | 0xFF| UINT8|0x00000013
|
2018-06-27 15:12:46 +02:00
|
|
|
|
2014-08-14 16:30:32 +02:00
|
|
|
## Defines the PCI Register Offset of the PCI device that contains the Enable for ACPI hardware registers.
|
2018-06-27 15:12:46 +02:00
|
|
|
# The invalid 0xFFFF is as its default value. It must be configured to the real value.
|
2014-08-14 16:30:32 +02:00
|
|
|
# @Prompt ACPI Hardware PCI Register Offset
|
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciEnableRegisterOffset |0xFFFF|UINT16|0x00000014
|
2018-06-27 15:12:46 +02:00
|
|
|
|
2014-08-14 16:30:32 +02:00
|
|
|
## Defines the bit mask that must be set to enable the APIC hardware register BAR.
|
|
|
|
# @Prompt ACPI Hardware PCI Bar Enable BitMask
|
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoBarEnableMask | 0x00| UINT8|0x00000015
|
2018-06-27 15:12:46 +02:00
|
|
|
|
2014-08-14 16:30:32 +02:00
|
|
|
## Defines the PCI Register Offset of the PCI device that contains the BAR for ACPI hardware registers.
|
2018-06-27 15:12:46 +02:00
|
|
|
# The invalid 0xFFFF is as its default value. It must be configured to the real value.
|
2014-08-14 16:30:32 +02:00
|
|
|
# @Prompt ACPI Hardware PCI Bar Register Offset
|
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciBarRegisterOffset |0xFFFF|UINT16|0x00000016
|
|
|
|
|
|
|
|
## Defines the offset to the 32-bit Timer Value register that resides within the ACPI BAR.
|
|
|
|
# @Prompt Offset to 32-bit Timer register in ACPI BAR
|
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiPm1TmrOffset |0x0008|UINT16|0x00000017
|
2014-08-28 07:19:04 +02:00
|
|
|
|
2015-02-28 06:34:38 +01:00
|
|
|
## Defines the bit mask to retrieve ACPI IO Port Base Address
|
|
|
|
# @Prompt ACPI IO Port Base Address Mask
|
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPortBaseAddressMask |0xFFFE|UINT16|0x00000018
|
|
|
|
|
2016-06-23 11:53:56 +02:00
|
|
|
## Reset Control Register address in I/O space.
|
|
|
|
# @Prompt Reset Control Register address
|
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdResetControlRegister|0x64|UINT64|0x00000019
|
|
|
|
|
|
|
|
## 8bit Reset Control Register value for cold reset.
|
|
|
|
# @Prompt Reset Control Register value for cold reset
|
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdResetControlValueColdReset|0xFE|UINT8|0x0000001A
|
|
|
|
|
2017-10-31 18:54:52 +01:00
|
|
|
## Specifies the initial value for Register_A in RTC.
|
|
|
|
# @Prompt Initial value for Register_A in RTC.
|
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdInitialValueRtcRegisterA|0x26|UINT8|0x0000001B
|
|
|
|
|
|
|
|
## Specifies the initial value for Register_B in RTC.
|
|
|
|
# @Prompt Initial value for Register_B in RTC.
|
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdInitialValueRtcRegisterB|0x02|UINT8|0x0000001C
|
|
|
|
|
|
|
|
## Specifies the initial value for Register_D in RTC.
|
|
|
|
# @Prompt Initial value for Register_D in RTC.
|
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdInitialValueRtcRegisterD|0x00|UINT8|0x0000001D
|
|
|
|
|
2019-08-28 01:24:05 +02:00
|
|
|
## RTC Update Timeout Value(microsecond).
|
|
|
|
# @Prompt RTC Update Timeout Value.
|
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdRealTimeClockUpdateTimeout|100000|UINT32|0x00000020
|
|
|
|
|
2014-08-28 07:19:04 +02:00
|
|
|
[UserExtensions.TianoCore."ExtraFiles"]
|
2015-06-11 09:14:18 +02:00
|
|
|
PcAtChipsetPkgExtra.uni
|