summaryrefslogtreecommitdiffstats
path: root/PcAtChipsetPkg
Commit message (Collapse)AuthorAgeFilesLines
* PcAtChipsetPkg/RTC: Fix a bug in RtcGetWakeUpTime() which may cause its ↵erictian2012-08-151-0/+1
| | | | | | | | | | return value wrong Signed-off-by: Tian Feng <feng.tian@intel.com> Reviewed-by: Jin Eric <Eric.Jin@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13637 6f19259b-4bc3-4df7-8a09-765794883524
* Fix file name not included in the inf.ydong102012-06-071-0/+1
| | | | | | | | Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13431 6f19259b-4bc3-4df7-8a09-765794883524
* PcAtChipsetPkg/PciHostBridgeDxe: Improve KVM FIFO I/O read/write performancejljusten2012-06-017-0/+747
| | | | | | | | | | | | | | | KVM can substantially boost the speed of the rep insb/insw/insl and rep outsb/outsw/outsl instructions by transferring up to a page of data per VM trap. This change adds assembly handling of the PCI Host Bridge I/O FIFO Reads and Writes. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13424 6f19259b-4bc3-4df7-8a09-765794883524
* Update copyright formathhtian2012-04-241-3/+1
| | | | | | Signed-off-by: Hot Tian <hot.tian@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13213 6f19259b-4bc3-4df7-8a09-765794883524
* EDK II Packages: Add Contributions.txt and License.txt filesjljusten2012-04-112-0/+215
| | | | | | | | | | | | | Contributions.txt documents the contribution process for all tianocore projects. The conents of Contributions.txt should match in all cases. License.txt is a per-project document showing the license terms used by that project. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13187 6f19259b-4bc3-4df7-8a09-765794883524
* Update the Package version.niruiyu2011-12-132-3/+3
| | | | | | | Signed-off-by: niruiyu Reviewed-by: hhtian git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12842 6f19259b-4bc3-4df7-8a09-765794883524
* PcAtChipsetPkg HPET Timer DXE Driver: Update CPU Arch ↵rsun32011-11-251-4/+13
| | | | | | | | | | Protocol.SetTimerPeriod() to program HPET/IOAPIC register with APIC ID of current BSP in case the BSP has been switched. Signed-off-by: rsun3 Reviewed-by: li-elvin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12778 6f19259b-4bc3-4df7-8a09-765794883524
* PcAtChipsetPkg: install RTC ARCH protocol even if RTC h/w is functioning ↵erictian2011-11-222-3/+6
| | | | | | | | | incorrectly. signed-off-by: erictian reviewed-by: mdkinney git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12756 6f19259b-4bc3-4df7-8a09-765794883524
* PcAtChipsetPkg: install RTC ARCH protocol even if the "RTC" variable is ↵erictian2011-11-171-0/+2
| | | | | | | | | corrupted. signed-off-by: erictian reviewed-by: hhtian git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12734 6f19259b-4bc3-4df7-8a09-765794883524
* PcAtChipsetPkg: Do right sign extension to avoid a wrong daylight value ↵erictian2011-11-171-2/+2
| | | | | | | | | saving into "RTC" variable signed-off-by: erictian reviewed-by: niruiyu git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12732 6f19259b-4bc3-4df7-8a09-765794883524
* According to PI errata 0000690, word "Ide Bus driver" has been replaced with ↵erictian2011-11-152-107/+401
| | | | | | | | | "Driver entity". Signed-off-by: erictian Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12705 6f19259b-4bc3-4df7-8a09-765794883524
* HPET driver was updated and included:li-elvin2011-11-151-63/+182
| | | | | | | | | | | | | Comparator register automatically grow without breaking main counter register, this allow other driver to use HPET main counter. Timer register overflow handle. 32-bit HPET timer support. TimerDriverSetTimerPeriod is changed to handle HPET timer interrupt delivered into real mode. Signed-off-by: li-elvin Reviewed-by: vanjeff git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12700 6f19259b-4bc3-4df7-8a09-765794883524
* Add "#ifdef ... #define ... #endif" check for the header file.ydong102011-09-071-0/+3
| | | | | | Signed-off-by: ydong10 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12287 6f19259b-4bc3-4df7-8a09-765794883524
* Add generic HPET Timer DXE Driver and support libraries. mdkinney2011-09-021-4/+3
| | | | | | | | | Minor update to logic to prevent writing a the read-only MSI Capability bit with 0 when HPET supports MSIs Signed-off-by: mdkinney Reviewed-by: li-elvin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12272 6f19259b-4bc3-4df7-8a09-765794883524
* Add generic HPET Timer DXE Driver and support librariesmdkinney2011-09-029-0/+1441
| | | | | | | Signed-off-by: mdkinney Reviewed-by: li-elvin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12260 6f19259b-4bc3-4df7-8a09-765794883524
* Fix the comments to follow UEFI Spec regarding how to check an EFI_HANDLE is ↵niruiyu2011-07-053-7/+7
| | | | | | | | | valid/invalid. Signed-off-by: niruiyu Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11981 6f19259b-4bc3-4df7-8a09-765794883524
* Clean up DEC files:mdkinney2011-05-091-4/+3
| | | | | | | | | | | | 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
* Update 8259 PCDs to support Dynamic and DynamicEx and PatchableInModulemdkinney2011-05-043-11/+14
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11618 6f19259b-4bc3-4df7-8a09-765794883524
* Update DebugLib to provide support for "err" command in the EFI Shell to ↵mdkinney2011-03-101-1/+2
| | | | | | | | | | | | | adjust the filter mask for DEBUG() messages. The "err" command provide the ability to adjust this filter mask at a global level through an EFI Variable and at the module level through a the Debug Mask Protocol. In order to support the degree of flexibility, the DebugLib needs to use library to abstract the get/set operations to the filter mask. 1) Add default mappings for the DebugPrintErrorLevelLib to the DSC file for this package. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11374 6f19259b-4bc3-4df7-8a09-765794883524
* Enhance PcAt IsaAcpi driver to support enable/disable separated functions ↵niruiyu2011-03-105-15/+124
| | | | | | per PCD settings. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11362 6f19259b-4bc3-4df7-8a09-765794883524
* PcAtChipsetPkg/PciHostBridgeDxe: Fix enum type mismatchjljusten2011-01-281-1/+1
| | | | | | The previous code was comparing enums with a different type. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11281 6f19259b-4bc3-4df7-8a09-765794883524
* Clean ISA_IO/ISA_IO_16 and VGA_IO/VGA_IO_16 attribute usage in PCI bus ↵rsun32010-12-283-116/+59
| | | | | | | | | | | | | | driver/PCI host bridge drivers/LPC/VGA device drivers. 1. Fix the incorrect definition of EFI_PCI_IO_ATTRIBUTE_VGA_IO_16 (does not conform to the UEFI spec) in PciIo.h. 2. Add missing definitions of ISA and VGA IO attributes in PCI Root Bridge IO protocol. 3. Improve the algorithm in the PCI bus driver to get PCI platform policy from PCI Platform Protocol and PCI Override Protocol. 4. Update the PCI bus driver to use the PCI platform policy to determine the supported attributes that are returned by the EFI_PCI_IO_PROTOCOL.Attributes() function. This is required by the PI spec. 5. Add a backward compatibility workaround for PCI VGA drivers in Option ROM, which typically sets VGA_IO without checking supported attributes. 6. Update the PCI host bridge driver in PcAtChipsetPkg to report VGA_IO_16 and ISA_IO_16 instead of VGA_IO/ISA_IO attributes. Modern chipsets don’t have hardware capability to control 10-bit or 16-bit decoding for ISA/VGA aliases. 7. Update LPC/VGA device drivers to check supported attributes of VGA_IO/VGA_IO_16 or ISA_IO/ISA_IO_16. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11204 6f19259b-4bc3-4df7-8a09-765794883524
* fix GCC build failure. make function definition same with declaration.erictian2010-11-121-3/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11044 6f19259b-4bc3-4df7-8a09-765794883524
* fix build errorerictian2010-11-101-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11024 6f19259b-4bc3-4df7-8a09-765794883524
* store Year/Month/Day to variable in SetWakeupTime() because PCAT RTC Alarm ↵erictian2010-11-102-26/+64
| | | | | | registers has not corresponding Y/M/D alarm register. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11021 6f19259b-4bc3-4df7-8a09-765794883524
* Refine code to make code run safely.ydong102010-10-191-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10962 6f19259b-4bc3-4df7-8a09-765794883524
* RefRefine soma code to make code run safely.ydong102010-09-1714-170/+507
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10885 6f19259b-4bc3-4df7-8a09-765794883524
* Fix PcAtChipsetPkg build failure by changing the PcAtChipsetPkg.dsc to ↵niruiyu2010-08-111-2/+2
| | | | | | reference the correct module. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10789 6f19259b-4bc3-4df7-8a09-765794883524
* Update KbcResetDxe to be more generic by layering it on top of the ↵mdkinney2010-08-034-129/+48
| | | | | | | | | ResetSystemLib class. Reduce number of source files from 3 to 1. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10768 6f19259b-4bc3-4df7-8a09-765794883524
* Add ResetSystemLib instances for PCAT that only supports cold reset and a ↵mdkinney2010-08-031-0/+2
| | | | | | warm reset that is always converted to a cold reset. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10767 6f19259b-4bc3-4df7-8a09-765794883524
* Add ResetSystemLib instances for PCAT that only supports cold reset and a ↵mdkinney2010-08-032-0/+124
| | | | | | warm reset that is always converted to a cold reset. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10766 6f19259b-4bc3-4df7-8a09-765794883524
* Remove IO and MMIO GCD add operations from this generic PCI Hot Bridge drivers.mdkinney2010-07-161-36/+0
| | | | | | A platform specific PEIm or DXE module is required to add the IO and MMIO resources to the GCD. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10658 6f19259b-4bc3-4df7-8a09-765794883524
* Update logic in Suuported() for PCI-ISA Bridges with Positive Decode to ↵mdkinney2010-07-021-4/+23
| | | | | | | | avoid false positives on bridges of class PCI_CLASS_BRIDGE_OTHER. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10626 6f19259b-4bc3-4df7-8a09-765794883524
* PcAtChipsetPkg PciHostBridgeDxe: Fix build warning with GCCjljusten2010-06-191-0/+42
| | | | | | | Add default case to switch blocks to remove GCC compiler warning. The default case code path should never be taken. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10592 6f19259b-4bc3-4df7-8a09-765794883524
* Update PcAtChipsetPkg PciRootBridgeIo to consume IoLib&PciLib.rsun32010-06-185-334/+439
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10591 6f19259b-4bc3-4df7-8a09-765794883524
* Convert some C-style comments to Doxygen style for coding standard compliance.darylm5032010-06-032-97/+98
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10563 6f19259b-4bc3-4df7-8a09-765794883524
* Clean up package/platform DSC files by the following steps:lgao42010-05-211-2/+0
| | | | | | | | | 1. Remove PCDs those use the default values/types from the DEC file. 2. Remove the unused library instances. 3. Group common library instances in common [LibraryClasses] section as the default library instance for all modules. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10533 6f19259b-4bc3-4df7-8a09-765794883524
* Refine function comment to follow doxygen format.klu22010-05-203-504/+348
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10520 6f19259b-4bc3-4df7-8a09-765794883524
* Update the copyright notice formathhtian2010-04-2428-41/+41
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10426 6f19259b-4bc3-4df7-8a09-765794883524
* Fix format of Copyright notice to conform to legal requirements.darylm5032010-04-154-67/+66
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10375 6f19259b-4bc3-4df7-8a09-765794883524
* Refine the file/function comments to follow doxygen formatklu22010-04-1215-991/+1832
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10359 6f19259b-4bc3-4df7-8a09-765794883524
* Update the modules with the different module GUID to avoid the different ↵lgao42010-04-061-1/+1
| | | | | | modules with the same module GUID. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10343 6f19259b-4bc3-4df7-8a09-765794883524
* Correct PCD Pcd8259LegacyModeMask and Pcd8259LegacyModeEdgeLevel definition ↵lgao42010-04-021-2/+2
| | | | | | in PcAtChipsetPkg. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10330 6f19259b-4bc3-4df7-8a09-765794883524
* Remove over-specified dependencies on IntelFrameworkPkg and ↵xli242010-03-034-4/+2
| | | | | | IntelFrameworkModulePkg. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10161 6f19259b-4bc3-4df7-8a09-765794883524
* Correct copyright to 2010.lgao42010-02-281-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10120 6f19259b-4bc3-4df7-8a09-765794883524
* Remove svn:executable on *.c, *.h, *.asm, *.S, *.inf and *.asl*jljusten2010-02-257-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10087 6f19259b-4bc3-4df7-8a09-765794883524
* remove svn:executable attribute for INF file.klu22010-02-251-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10085 6f19259b-4bc3-4df7-8a09-765794883524
* Clean up EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION.klu22010-02-255-10/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10075 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Correct File header to ## @filelgao42010-02-2310-35/+35
| | | | | | 2. Remove unnecessary .common] postfix on section. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10051 6f19259b-4bc3-4df7-8a09-765794883524
* Remove unnecessary use of FixedPcdxxx() functions and [FixedPcd] INF ↵mdkinney2010-01-301-9/+6
| | | | | | | | | | sections. These should only be used for PCDs that are used to pre-init global variables, pre-init global structures, or size arrays. Do some minor clean ups to INF files git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9871 6f19259b-4bc3-4df7-8a09-765794883524