lgao4 | 7b202cb | 2010-02-23 23:58:38 +0000 | [diff] [blame] | 1 | ## @file
|
klu2 | 31ed75a | 2009-07-06 02:59:37 +0000 | [diff] [blame] | 2 | # Public definitions for PcAtChipset package.
|
| 3 | #
|
| 4 | # This package is designed to public interfaces and implementation which follows
|
| 5 | # PcAt defacto standard.
|
| 6 | #
|
niruiyu | e8bce4b | 2011-03-10 07:33:42 +0000 | [diff] [blame^] | 7 | # Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
|
klu2 | 31ed75a | 2009-07-06 02:59:37 +0000 | [diff] [blame] | 8 | #
|
hhtian | 95d48e8 | 2010-04-24 12:07:51 +0000 | [diff] [blame] | 9 | # This program and the accompanying materials
|
klu2 | 31ed75a | 2009-07-06 02:59:37 +0000 | [diff] [blame] | 10 | # are licensed and made available under the terms and conditions of the BSD License
|
| 11 | # which accompanies this distribution. The full text of the license may be found at
|
| 12 | # http://opensource.org/licenses/bsd-license.php
|
| 13 | #
|
| 14 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
| 15 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
| 16 | #
|
lgao4 | 7b202cb | 2010-02-23 23:58:38 +0000 | [diff] [blame] | 17 | ##
|
klu2 | 31ed75a | 2009-07-06 02:59:37 +0000 | [diff] [blame] | 18 |
|
| 19 | [Defines]
|
| 20 | DEC_SPECIFICATION = 0x00010005
|
| 21 | PACKAGE_NAME = PcAtChipsetPkg
|
| 22 | PACKAGE_GUID = B728689A-52D3-4b8c-AE89-2CE5514CC6DC
|
| 23 | PACKAGE_VERSION = 0.1
|
| 24 |
|
lgao4 | 7b202cb | 2010-02-23 23:58:38 +0000 | [diff] [blame] | 25 | [PcdsFixedAtBuild]
|
klu2 | 31ed75a | 2009-07-06 02:59:37 +0000 | [diff] [blame] | 26 | ## Pcd8259LegacyModeMask defines the default mask value for platform. This value is determined
|
| 27 | # 1) If platform only support pure UEFI, value should be set to 0xFFFF or 0xFFFE;
|
| 28 | # Because only clock interrupt is allowed in legacy mode in pure UEFI platform.
|
| 29 | # 2) If platform install CSM and use thunk module:
|
| 30 | # a) If thunk call provided by CSM binary requires some legacy interrupt support, the corresponding bit
|
| 31 | # should be opened as 0.
|
| 32 | # For example, if keyboard interfaces provided CSM binary use legacy keyboard interrupt in 8259 bit 2, then
|
| 33 | # the value should be set to 0xFFFC
|
| 34 | # b) If all thunk call provied by CSM binary do not require legacy interrupt support, value should be set
|
| 35 | # to 0xFFFF or 0xFFFE.
|
| 36 | #
|
| 37 | # Because the value is used as intialization value, PCD's type should be FixedAtBuild.
|
| 38 | #
|
| 39 | # The default value of legacy mode mask could be changed by EFI_LEGACY_8259_PROTOCOL->SetMask(). But it is rarely
|
| 40 | # need change it except some special cases such as when initializing the CSM binary, it should be set to 0xFFFF to
|
| 41 | # mask all legacy interrupt. Please restore the original legacy mask value if changing is made for these special case.
|
| 42 | #
|
lgao4 | 1f44ee1 | 2010-04-02 05:22:40 +0000 | [diff] [blame] | 43 | gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeMask|0xFFFF|UINT16|0x00000001
|
klu2 | e356f99 | 2009-07-06 07:40:18 +0000 | [diff] [blame] | 44 |
|
| 45 | ## Pcd8259LegacyModeEdgeLevel defines the default edge level for legacy mode's interrrupt controller.
|
lgao4 | 1f44ee1 | 2010-04-02 05:22:40 +0000 | [diff] [blame] | 46 | gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0000|UINT16|0x00000002
|
niruiyu | e8bce4b | 2011-03-10 07:33:42 +0000 | [diff] [blame^] | 47 |
|
| 48 | [PcdsFixedAtBuild, PcdsDynamic, PcdsPatchableInModule]
|
| 49 | ## This PCD specifies whether we need enable IsaAcpiCom1 device.
|
| 50 | gPcAtChipsetPkgTokenSpaceGuid.PcdIsaAcpiCom1Enable|TRUE|BOOLEAN|0x00000003
|
| 51 |
|
| 52 | ## This PCD specifies whether we need enable IsaAcpiCom2 device.
|
| 53 | gPcAtChipsetPkgTokenSpaceGuid.PcdIsaAcpiCom2Enable|TRUE|BOOLEAN|0x00000004
|
| 54 |
|
| 55 | ## This PCD specifies whether we need enable IsaAcpiPs2Keyboard device.
|
| 56 | gPcAtChipsetPkgTokenSpaceGuid.PcdIsaAcpiPs2KeyboardEnable|TRUE|BOOLEAN|0x00000005
|
| 57 |
|
| 58 | ## This PCD specifies whether we need enable IsaAcpiPs2Mouse device.
|
| 59 | gPcAtChipsetPkgTokenSpaceGuid.PcdIsaAcpiPs2MouseEnable|TRUE|BOOLEAN|0x00000006
|
| 60 |
|
| 61 | ## This PCD specifies whether we need enable IsaAcpiFloppyA device.
|
| 62 | gPcAtChipsetPkgTokenSpaceGuid.PcdIsaAcpiFloppyAEnable|TRUE|BOOLEAN|0x00000007
|
| 63 |
|
| 64 | ## This PCD specifies whether we need enable IsaAcpiFloppyB device.
|
| 65 | gPcAtChipsetPkgTokenSpaceGuid.PcdIsaAcpiFloppyBEnable|TRUE|BOOLEAN|0x00000008
|
| 66 |
|
lgao4 | 7b202cb | 2010-02-23 23:58:38 +0000 | [diff] [blame] | 67 | [Guids]
|
klu2 | 31ed75a | 2009-07-06 02:59:37 +0000 | [diff] [blame] | 68 | gPcAtChipsetPkgTokenSpaceGuid = { 0x326ae723, 0xae32, 0x4589, { 0x98, 0xb8, 0xca, 0xc2, 0x3c, 0xdc, 0xc1, 0xb1 } }
|
| 69 |
|