Commit Graph

115 Commits

Author SHA1 Message Date
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
eric_tian 6844f1882f update include file to use IndustryStandard/Pci.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9037 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-11 02:36:55 +00:00
gikidy 558bfebb99 For pass all compilers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9015 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-27 09:08:49 +00:00
gikidy 2ba53a4f23 Add Nanosecond initialize when CMOS clear for ConvertRtcTimeToEfiTime can not initialize it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9014 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-27 09:00:41 +00:00
eric_tian 52c8c12b24 roll back the changes on replace Pcixx.h with Pci.h due to it's NOT in the scope of this release.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9001 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 09:11:10 +00:00
eric_tian 48e9cc78d5 if module doesn't explicitly depend on specific Pci spec, it should include IndustryStandard/Pci.h rather than Pcixxx.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8995 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 06:15:22 +00:00
rsun3 6bfa178cca Fixed 2 bugs in the RTC driver of PcAtChipsetPkg.
1. RtcTimeFieldsValid() has bug checking the validity of TIME fields, which causes SetTime() will not return EFI_INVALID_PARAMETER when it is fed with invliad time fields.
2. Logical error in handling Time Zone and Day Light Saving.GetTime() won't return Time Zone and Day Light Saving set by last SetTime() call.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8948 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-15 06:17:57 +00:00
jljusten 3faeea7665 Add UefiRuntimeLib to PcAtChipsetPkg.dsc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8786 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-07 22:52:13 +00:00
klu2 af6f4f4b27 Add declaration header file for token space.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8781 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-07 06:38:18 +00:00
klu2 b32a23104c Remove original PcRtc driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8780 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-07 06:37:13 +00:00
klu2 5ff1b59cb1 Use PcAtChipsetPkg\PcatRealTimeClockRuntimeDxe\PcatRealTimeClockRuntimeDxe.inf instead of original PcAtChipsetPkg\PcRtc\RealTimeClock.inf
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8770 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-07 03:21:16 +00:00
klu2 345e5a6556 Move PcatRealTimeClockRuntimeDxe driver to PcAtChipsetPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8766 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-07 02:48:17 +00:00
klu2 e356f99943 Add Pcd8259LegacyModeEdgeLevel into PcAtChipsetPkg.dec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8760 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-06 07:40:18 +00:00
klu2 31ed75a9bd 1) Add package description file (dec) for PcAtChipsetPkg
2) Add Pcd8259LegacyModeMask for platform developer configure default mask value in legacy mode.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8750 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-06 02:59:37 +00:00
klu2 0547cf4b30 1) Add package description file (dec) for PcAtChipsetPkg
2) Add Pcd8259LegacyModeMask for platform developer configure default mask value in legacy mode.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8749 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-06 02:58:12 +00:00
vanjeff b63f669a8a 1. Remove SetVecotor() in SetMode().
2. Change initialized legacy interrupt mask value to 0xffff to disable all interrupts at the beginning.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8696 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-01 05:25:38 +00:00
xli24 248e14f111 Fix the bug that necessary call of SetVectorBase() is missing in the SetMode() function.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8676 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-29 04:41:20 +00:00
gikidy aa4d03f7fb 1. Enhance the RTC driver to not reserve the CMOS century register MSB.
2. Replace BcdToDecimal with library BcdToDecimal8 and remove it's definition.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8477 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-05 06:51:40 +00:00
vanjeff ae6a37f06b 1. removed an extra call to SetVectorBase() in the SetMode() function.
2. implemented GetInterruptLine() function.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8418 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-01 07:16:03 +00:00
jljusten a1f11f7547 Add IdeControllerDxe driver. This driver is very similar to
edk.tianocore.org (Edk) Edk/Sample/Bus/Pci/IdeController/Dxe.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8397 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-27 21:09:58 +00:00
jljusten 21b404d11e Add a simple PCI host bridge driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8396 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-27 21:09:52 +00:00
jljusten e85b5bdf54 Remove unnecessary references to DuetPkg in PcAtChipsetPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7977 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-29 18:42:12 +00:00
qhuang8 0e087563a3 Add Missing library class mapping.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7955 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-25 12:42:29 +00:00
jljusten 90b8b0ecf5 Merge improved comments into this driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7748 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02 00:58:29 +00:00
jljusten 3efaa6e097 Move IntelFrameworkModulePkg/Universal/Legacy8259Dxe to
PcAtChipsetPkg/8259InterruptControllerDxe.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7747 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-01 23:45:51 +00:00
jljusten c9b1a9df15 Move IntelFrameworkModulePkg/Universal/Legacy8259Dxe to
PcAtChipsetPkg/8259InterruptControllerDxe.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7746 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-01 23:33:20 +00:00
jljusten f3496ff4b0 Add PcAtChipsetPkg.dsc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7623 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 23:22:25 +00:00
jljusten c860b4634d Minor clean-up. Change PCI Device ID check from 7110 to 7000-7FFF.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7622 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 23:17:06 +00:00
jljusten a9fd67211e Cleanup and remove DuetPkg references. Allow library to be used with
any driver type (increased scope from DXE_DRIVER to BASE).


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7621 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 23:14:09 +00:00
jljusten e2238c0a57 DuetSerialIoLib.inf => SerialIoLib.inf
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7619 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 22:42:03 +00:00
jljusten c46d031318 DuetPkg/Library/DuetSerialIoLib => PcAtChipsetPkg/Library/SerialIoLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7618 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 22:36:26 +00:00
jljusten cff10e3e4e PcRtc: DuetPkg => PcAtChipsetPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7616 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 22:33:20 +00:00
jljusten 84042d3ea7 KbcResetDxe: DuetPkg => PcAtChipsetPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7615 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 22:32:16 +00:00
jljusten 81727f38ed IsaAcpiDxe: DuetPkg => PcAtChipsetPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7614 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 22:30:53 +00:00
jljusten b6eec000f7 8254TimerDxe: DuetPkg => PcAtChipsetPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7613 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 22:28:36 +00:00