X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=PcAtChipsetPkg%2FPcAtChipsetPkg.dec;h=8defe3b4bd284ee99d679335f0313dcd0c061147;hb=d5bcf13e1d7f9bad6b51c55da99958631207ab23;hp=d5c39de8789dfd2244b5a043f33a1b2d6af75115;hpb=e356f99943603fe9ede19ab4715fa8eed16c0339;p=mirror_edk2.git diff --git a/PcAtChipsetPkg/PcAtChipsetPkg.dec b/PcAtChipsetPkg/PcAtChipsetPkg.dec index d5c39de878..8defe3b4bd 100644 --- a/PcAtChipsetPkg/PcAtChipsetPkg.dec +++ b/PcAtChipsetPkg/PcAtChipsetPkg.dec @@ -1,12 +1,12 @@ -#/** @file +## @file # Public definitions for PcAtChipset package. # # This package is designed to public interfaces and implementation which follows # PcAt defacto standard. # -# Copyright (c) 2009, Intel Corporation. +# Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.
# -# All rights reserved. This program and the accompanying materials +# 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 @@ -14,15 +14,31 @@ # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. # -#**/ +## [Defines] DEC_SPECIFICATION = 0x00010005 PACKAGE_NAME = PcAtChipsetPkg PACKAGE_GUID = B728689A-52D3-4b8c-AE89-2CE5514CC6DC - PACKAGE_VERSION = 0.1 + PACKAGE_VERSION = 0.2 -[PcdsFixedAtBuild.common] +[Includes] + Include + +[LibraryClasses] + ## @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 } } + +[PcdsFeatureFlag] + ## If TRUE, then the HPET Timer will be configured to use MSI interrupts if the HPET timer supports them. + # If FALSE, then the HPET Timer will be configued to use I/O APIC interrupts. + 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. @@ -34,17 +50,43 @@ # b) If all thunk call provied by CSM binary do not require legacy interrupt support, value should be set # to 0xFFFF or 0xFFFE. # - # Because the value is used as intialization value, PCD's type should be FixedAtBuild. - # # 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. # - gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeMask|0x00000001|UINT16|0xFFFF + gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeMask|0xFFFF|UINT16|0x00000001 ## Pcd8259LegacyModeEdgeLevel defines the default edge level for legacy mode's interrrupt controller. - gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x00000002|UINT16|0x0000 - -[Guids.common] - gPcAtChipsetPkgTokenSpaceGuid = { 0x326ae723, 0xae32, 0x4589, { 0x98, 0xb8, 0xca, 0xc2, 0x3c, 0xdc, 0xc1, 0xb1 } } + gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0000|UINT16|0x00000002 + + ## This PCD specifies whether we need enable IsaAcpiCom1 device. + gPcAtChipsetPkgTokenSpaceGuid.PcdIsaAcpiCom1Enable|TRUE|BOOLEAN|0x00000003 + ## This PCD specifies whether we need enable IsaAcpiCom2 device. + gPcAtChipsetPkgTokenSpaceGuid.PcdIsaAcpiCom2Enable|TRUE|BOOLEAN|0x00000004 + + ## This PCD specifies whether we need enable IsaAcpiPs2Keyboard device. + gPcAtChipsetPkgTokenSpaceGuid.PcdIsaAcpiPs2KeyboardEnable|TRUE|BOOLEAN|0x00000005 + + ## This PCD specifies whether we need enable IsaAcpiPs2Mouse device. + gPcAtChipsetPkgTokenSpaceGuid.PcdIsaAcpiPs2MouseEnable|TRUE|BOOLEAN|0x00000006 + + ## This PCD specifies whether we need enable IsaAcpiFloppyA device. + gPcAtChipsetPkgTokenSpaceGuid.PcdIsaAcpiFloppyAEnable|TRUE|BOOLEAN|0x00000007 + + ## This PCD specifies whether we need enable IsaAcpiFloppyB device. + gPcAtChipsetPkgTokenSpaceGuid.PcdIsaAcpiFloppyBEnable|TRUE|BOOLEAN|0x00000008 + + ## This PCD specifies the base address of the HPET timer. + gPcAtChipsetPkgTokenSpaceGuid.PcdHpetBaseAddress|0xFED00000|UINT32|0x00000009 + + ## This PCD specifies the Local APIC Interrupt Vector for the HPET Timer. + gPcAtChipsetPkgTokenSpaceGuid.PcdHpetLocalApicVector|0x40|UINT8|0x0000000A + + ## This PCD specifies the defaut period of the HPET Timer in 100 ns units. + # The default value of 100000 100 ns units is the same as 10 ms. + gPcAtChipsetPkgTokenSpaceGuid.PcdHpetDefaultTimerPeriod|100000|UINT64|0x0000000B + + ## This PCD specifies the base address of the HPET timer. + gPcAtChipsetPkgTokenSpaceGuid.PcdIoApicBaseAddress|0xFEC00000|UINT32|0x0000000C +