Commit Graph

84 Commits

Author SHA1 Message Date
jljusten ea4ee7ac38 EDK II Packages: Add Contributions.txt and License.txt files
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
2012-04-11 23:19:46 +00:00
niruiyu bae5fa3bda Update the Package version.
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
2011-12-13 08:33:18 +00:00
rsun3 9ff904b046 PcAtChipsetPkg HPET Timer DXE Driver: Update CPU Arch 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
2011-11-25 01:59:50 +00:00
erictian 6ff84d99d3 PcAtChipsetPkg: install RTC ARCH protocol even if RTC h/w is functioning 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
2011-11-22 06:11:16 +00:00
erictian 9bb1fced77 PcAtChipsetPkg: install RTC ARCH protocol even if the "RTC" variable is 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
2011-11-17 08:35:08 +00:00
erictian e02c57b63b PcAtChipsetPkg: Do right sign extension to avoid a wrong daylight value 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
2011-11-17 06:43:01 +00:00
erictian 95717b9495 According to PI errata 0000690, word "Ide Bus driver" has been replaced with "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
2011-11-15 09:43:32 +00:00
li-elvin 22fde64e92 HPET driver was updated and included:
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
2011-11-15 07:58:00 +00:00
ydong10 8e22eab877 Add "#ifdef ... #define ... #endif" check for the header file.
Signed-off-by: ydong10 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12287 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-07 02:42:52 +00:00
mdkinney 0cdda8d6f0 Add generic HPET Timer DXE Driver and support libraries.
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
2011-09-02 15:30:54 +00:00
mdkinney 986d1dfb08 Add generic HPET Timer DXE Driver and support libraries
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
2011-09-02 02:43:51 +00:00
niruiyu 69cb32fca2 Fix the comments to follow UEFI Spec regarding how to check an EFI_HANDLE is 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
2011-07-05 09:22:57 +00:00
mdkinney 53705ed148 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 17:51:00 +00:00
mdkinney 856f592ccf Update 8259 PCDs to support Dynamic and DynamicEx and PatchableInModule
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11618 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-04 20:56:30 +00:00
mdkinney d9d9e05391 Update DebugLib to provide support for "err" command in the EFI Shell to 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
2011-03-10 22:39:00 +00:00
niruiyu e8bce4b41c Enhance PcAt IsaAcpi driver to support enable/disable separated functions per PCD settings.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11362 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-10 07:33:42 +00:00
jljusten af388a9ae5 PcAtChipsetPkg/PciHostBridgeDxe: Fix enum type mismatch
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
2011-01-28 08:12:11 +00:00
rsun3 e0ee9d9314 Clean ISA_IO/ISA_IO_16 and VGA_IO/VGA_IO_16 attribute usage in PCI bus 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
2010-12-28 10:10:10 +00:00
erictian f1e20ed402 fix GCC build failure. make function definition same with declaration.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11044 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-12 05:14:15 +00:00
erictian aca70749de fix build error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11024 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-10 07:23:12 +00:00
erictian 7018623cd4 store Year/Month/Day to variable in SetWakeupTime() because PCAT RTC Alarm 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
2010-11-10 03:18:21 +00:00
ydong10 dfaaa5a5ed Refine code to make code run safely.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10962 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-19 09:31:16 +00:00
ydong10 24115e4492 RefRefine soma code to make code run safely.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10885 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-17 10:42:10 +00:00
niruiyu bab26f79ff Fix PcAtChipsetPkg build failure by changing the PcAtChipsetPkg.dsc to reference the correct module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10789 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-11 07:38:25 +00:00
mdkinney bb77cee7d1 Update KbcResetDxe to be more generic by layering it on top of the 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
2010-08-03 05:16:57 +00:00
mdkinney 27833309f8 Add ResetSystemLib instances for PCAT that only supports cold reset and a 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
2010-08-03 05:12:35 +00:00
mdkinney c07b2a9f88 Add ResetSystemLib instances for PCAT that only supports cold reset and a 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
2010-08-03 05:11:44 +00:00
mdkinney f5e004a3d0 Remove IO and MMIO GCD add operations from this generic PCI Hot Bridge drivers.
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
2010-07-16 19:06:24 +00:00
mdkinney 755e4d1184 Update logic in Suuported() for PCI-ISA Bridges with Positive Decode to 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
2010-07-02 23:20:11 +00:00
jljusten daaad2703d PcAtChipsetPkg PciHostBridgeDxe: Fix build warning with GCC
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
2010-06-19 06:08:07 +00:00
rsun3 cac2ab9556 Update PcAtChipsetPkg PciRootBridgeIo to consume IoLib&PciLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10591 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-18 09:21:47 +00:00
darylm503 3ea80ba2e4 Convert some C-style comments to Doxygen style for coding standard compliance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10563 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-03 02:15:55 +00:00
lgao4 8a86c112b5 Clean up package/platform DSC files by the following steps:
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
2010-05-21 02:49:42 +00:00
klu2 20c1e33fe4 Refine function comment to follow doxygen format.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10520 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-20 03:29:26 +00:00
hhtian 95d48e8299 Update the copyright notice format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10426 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-24 12:07:51 +00:00
darylm503 47ca9c9588 Fix format of Copyright notice to conform to legal requirements.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10375 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-15 21:43:01 +00:00
klu2 18c97f53ea Refine the file/function comments to follow doxygen format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10359 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-12 04:38:44 +00:00
lgao4 5e51a4d8ff Update the modules with the different module GUID to avoid the different modules with the same module GUID.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10343 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-06 02:56:17 +00:00
lgao4 1f44ee1077 Correct PCD Pcd8259LegacyModeMask and Pcd8259LegacyModeEdgeLevel definition in PcAtChipsetPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10330 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-02 05:22:40 +00:00
xli24 9851fbc915 Remove over-specified dependencies on IntelFrameworkPkg and IntelFrameworkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10161 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-03 03:38:09 +00:00
lgao4 1ae301da81 Correct copyright to 2010.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10120 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-28 11:37:55 +00:00
jljusten a495774f69 Remove svn:executable on *.c, *.h, *.asm, *.S, *.inf and *.asl*
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10087 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-25 18:17:41 +00:00
klu2 161a9a2f31 remove svn:executable attribute for INF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10085 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-25 17:30:32 +00:00
klu2 d2ffb81089 Clean up EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10075 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-25 16:38:12 +00:00
lgao4 7b202cb0f9 1. Correct File header to ## @file
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
2010-02-23 23:58:38 +00:00
mdkinney 2a8e98291d Remove unnecessary use of FixedPcdxxx() functions and [FixedPcd] INF 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
2010-01-30 00:11:41 +00:00
mdkinney f486871e32 Clean up INF. Remove dependency on CPU I/O 2 Protocol and the IntelFrameworkPkg. The dependency will be inherited in the IoLib used uses the CPU I/O 2 Protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9730 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 01:00:18 +00:00
xli24 8e9778c9a4 Update drivers to consume CPU I/O 2 Protocol instead of Framework CPU I/O Protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9524 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-07 03:25:16 +00:00
lgao4 fd7544c655 Correct library instance to pass build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9061 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-13 01:03:57 +00:00
vanjeff e5d1b4f48b add correct [Depex] section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9058 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-12 06:55:30 +00:00