X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=PcAtChipsetPkg%2FPcAtChipsetPkg.dec;h=88de5cceea593176c3a2425a5963b66b789f2b9e;hp=b0b2b62bb3cc75c51aad4f5474a385d2388408ba;hb=HEAD;hpb=a38b89c725429d04d3e9c93ab6d507a8dbdaad0f;ds=sidebyside diff --git a/PcAtChipsetPkg/PcAtChipsetPkg.dec b/PcAtChipsetPkg/PcAtChipsetPkg.dec index b0b2b62bb3..a53ca777e8 100644 --- a/PcAtChipsetPkg/PcAtChipsetPkg.dec +++ b/PcAtChipsetPkg/PcAtChipsetPkg.dec @@ -4,15 +4,11 @@ # This package is designed to public interfaces and implementation which follows # PcAt defacto standard. # -# Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.
+# Copyright (c) 2009 - 2019, Intel Corporation. All rights reserved.
+# Copyright (c) 2017, AMD Inc. All rights reserved.
+# Copyright (c) 2018 - 2020, ARM Limited. All rights reserved.
# -# This program and the accompanying materials -# are licensed and made available under the terms and conditions of the BSD License -# which accompanies this distribution. The full text of the license may be found at -# http://opensource.org/licenses/bsd-license.php -# -# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +# SPDX-License-Identifier: BSD-2-Clause-Patent # ## @@ -30,7 +26,7 @@ ## @libraryclass Provides functions to manage I/O APIC Redirection Table Entries. # IoApicLib|Include/Library/IoApicLib.h - + [Guids] gPcAtChipsetPkgTokenSpaceGuid = { 0x326ae723, 0xae32, 0x4589, { 0x98, 0xb8, 0xca, 0xc2, 0x3c, 0xdc, 0xc1, 0xb1 } } @@ -46,65 +42,14 @@ # @Prompt Configure HPET to use MSI. gPcAtChipsetPkgTokenSpaceGuid.PcdHpetMsiEnable|TRUE|BOOLEAN|0x00001000 -[PcdsFixedAtBuild, PcdsDynamic, PcdsDynamicEx, PcdsPatchableInModule] - ## Pcd8259LegacyModeMask defines the default mask value for platform. This value is determined

- # 1) If platform only support pure UEFI, value should be set to 0xFFFF or 0xFFFE; - # Because only clock interrupt is allowed in legacy mode in pure UEFI platform.
- # 2) If platform install CSM and use thunk module:
- # a) If thunk call provided by CSM binary requires some legacy interrupt support, the corresponding bit - # should be opened as 0.
- # For example, if keyboard interfaces provided CSM binary use legacy keyboard interrupt in 8259 bit 1, then - # the value should be set to 0xFFFC.
- # b) If all thunk call provied by CSM binary do not require legacy interrupt support, value should be set - # to 0xFFFF or 0xFFFE.
- # - # The default value of legacy mode mask could be changed by EFI_LEGACY_8259_PROTOCOL->SetMask(). But it is rarely - # need change it except some special cases such as when initializing the CSM binary, it should be set to 0xFFFF to - # mask all legacy interrupt. Please restore the original legacy mask value if changing is made for these special case.
- # @Prompt 8259 Legacy Mode mask. - gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeMask|0xFFFF|UINT16|0x00000001 - - ## Pcd8259LegacyModeEdgeLevel defines the default edge level for legacy mode's interrrupt controller. - # For the corresponding bits, 0 = Edge triggered and 1 = Level triggered. - # @Prompt 8259 Legacy Mode edge level. - gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0000|UINT16|0x00000002 - - ## Indicates if we need enable IsaAcpiCom1 device.

- # TRUE - Enables IsaAcpiCom1 device.
- # FALSE - Doesn't enable IsaAcpiCom1 device.
- # @Prompt Enable IsaAcpiCom1 device. - gPcAtChipsetPkgTokenSpaceGuid.PcdIsaAcpiCom1Enable|TRUE|BOOLEAN|0x00000003 - - ## Indicates if we need enable IsaAcpiCom2 device.

- # TRUE - Enables IsaAcpiCom2 device.
- # FALSE - Doesn't enable IsaAcpiCom2 device.
- # @Prompt Enable IsaAcpiCom12 device. - gPcAtChipsetPkgTokenSpaceGuid.PcdIsaAcpiCom2Enable|TRUE|BOOLEAN|0x00000004 - - ## Indicates if we need enable IsaAcpiPs2Keyboard device.

- # TRUE - Enables IsaAcpiPs2Keyboard device.
- # FALSE - Doesn't enable IsaAcpiPs2Keyboard device.
- # @Prompt Enable IsaAcpiPs2Keyboard device. - gPcAtChipsetPkgTokenSpaceGuid.PcdIsaAcpiPs2KeyboardEnable|TRUE|BOOLEAN|0x00000005 - - ## Indicates if we need enable IsaAcpiPs2Mouse device.

- # TRUE - Enables IsaAcpiPs2Mouse device.
- # FALSE - Doesn't enable IsaAcpiPs2Mouse device.
- # @Prompt Enable IsaAcpiPs2Mouse device. - gPcAtChipsetPkgTokenSpaceGuid.PcdIsaAcpiPs2MouseEnable|TRUE|BOOLEAN|0x00000006 - - ## Indicates if we need enable IsaAcpiFloppyA device.

- # TRUE - Enables IsaAcpiFloppyA device.
- # FALSE - Doesn't enable IsaAcpiFloppyA device.
- # @Prompt Enable IsaAcpiFloppyA device. - gPcAtChipsetPkgTokenSpaceGuid.PcdIsaAcpiFloppyAEnable|TRUE|BOOLEAN|0x00000007 - - ## Indicates if we need enable IsaAcpiFloppyB device.

- # TRUE - Enables IsaAcpiFloppyB device.
- # FALSE - Doesn't enable IsaAcpiFloppyB device.
- # @Prompt Enable IsaAcpiFloppyB device. - gPcAtChipsetPkgTokenSpaceGuid.PcdIsaAcpiFloppyBEnable|TRUE|BOOLEAN|0x00000008 + ## Indicates the RTC port registers are in MMIO space, or in I/O space. + # Default is I/O space.

+ # TRUE - RTC port registers are in MMIO space.
+ # FALSE - RTC port registers are in I/O space.
+ # @Prompt RTC port registers use MMIO. + gPcAtChipsetPkgTokenSpaceGuid.PcdRtcUseMmio|FALSE|BOOLEAN|0x00000021 +[PcdsFixedAtBuild, PcdsDynamic, PcdsDynamicEx, PcdsPatchableInModule] ## This PCD specifies the base address of the HPET timer. # @Prompt HPET base address. gPcAtChipsetPkgTokenSpaceGuid.PcdHpetBaseAddress|0xFED00000|UINT32|0x00000009 @@ -113,11 +58,11 @@ # @Prompt HPET local APIC vector. gPcAtChipsetPkgTokenSpaceGuid.PcdHpetLocalApicVector|0x40|UINT8|0x0000000A - ## This PCD specifies the defaut period of the HPET Timer in 100 ns units. + ## This PCD specifies the default period of the HPET Timer in 100 ns units. # The default value of 100000 100 ns units is the same as 10 ms. # @Prompt Default period of HPET timer. gPcAtChipsetPkgTokenSpaceGuid.PcdHpetDefaultTimerPeriod|100000|UINT64|0x0000000B - + ## This PCD specifies the base address of the IO APIC. # @Prompt IO APIC base address. gPcAtChipsetPkgTokenSpaceGuid.PcdIoApicBaseAddress|0xFEC00000|UINT32|0x0000000C @@ -130,10 +75,26 @@ # @Prompt Maximal valid year in RTC. # @Expression 0x80000001 | gPcAtChipsetPkgTokenSpaceGuid.PcdMaximalValidYear < gPcAtChipsetPkgTokenSpaceGuid.PcdMinimalValidYear + 100 gPcAtChipsetPkgTokenSpaceGuid.PcdMaximalValidYear|2097|UINT16|0x0000000E - + + ## 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 + + ## 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 + [PcdsFixedAtBuild, PcdsPatchableInModule] ## Defines the ACPI register set base address. - # The invalid 0xFFFF is as its default value. It must be configured to the real value. + # The invalid 0xFFFF is as its default value. It must be configured to the real value. # @Prompt ACPI Timer IO Port Address gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPortBaseAddress |0xFFFF|UINT16|0x00000010 @@ -142,26 +103,26 @@ gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciBusNumber | 0x00| UINT8|0x00000011 ## Defines the PCI Device Number of the PCI device that contains the BAR and Enable for ACPI hardware registers. - # The invalid 0xFF is as its default value. It must be configured to the real value. + # The invalid 0xFF is as its default value. It must be configured to the real value. # @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. - # The invalid 0xFF is as its default value. It must be configured to the real value. + # The invalid 0xFF is as its default value. It must be configured to the real value. # @Prompt ACPI Hardware PCI Function Number gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciFunctionNumber | 0xFF| UINT8|0x00000013 - + ## Defines the PCI Register Offset of the PCI device that contains the Enable for ACPI hardware registers. - # The invalid 0xFFFF is as its default value. It must be configured to the real value. + # The invalid 0xFFFF is as its default value. It must be configured to the real value. # @Prompt ACPI Hardware PCI Register Offset gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciEnableRegisterOffset |0xFFFF|UINT16|0x00000014 - + ## 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 - + ## Defines the PCI Register Offset of the PCI device that contains the BAR for ACPI hardware registers. - # The invalid 0xFFFF is as its default value. It must be configured to the real value. + # The invalid 0xFFFF is as its default value. It must be configured to the real value. # @Prompt ACPI Hardware PCI Bar Register Offset gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciBarRegisterOffset |0xFFFF|UINT16|0x00000016 @@ -181,5 +142,21 @@ # @Prompt Reset Control Register value for cold reset gPcAtChipsetPkgTokenSpaceGuid.PcdResetControlValueColdReset|0xFE|UINT8|0x0000001A + ## 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 + + ## RTC Update Timeout Value(microsecond). + # @Prompt RTC Update Timeout Value. + gPcAtChipsetPkgTokenSpaceGuid.PcdRealTimeClockUpdateTimeout|100000|UINT32|0x00000020 + [UserExtensions.TianoCore."ExtraFiles"] PcAtChipsetPkgExtra.uni