Commit Graph

323 Commits

Author SHA1 Message Date
mdkinney d4577dceca 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@9872 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-30 00:13:41 +00:00
mdkinney 4a1db20fac Remove unused definitions
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9857 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-28 21:44:35 +00:00
gikidy 9f485cc7cd File header added.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9846 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-28 03:14:11 +00:00
niruiyu fee4cb816c Fix the issue GCC DUET x64 cannot boot to front page but reset when timer interrupt is enabled (HSD 203180).
I created the correct IDT and GDT which was wrongly created before.
Comments were updated to reflect the actual meaning of the code and IDT alignment was set to 8 byte.
Some unnecessary alginments were removed.
DUET x64 MSFT and GCC both can boot to front page now.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9845 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-28 03:07:36 +00:00
niruiyu 5270672ca9 Re-enable BoisVideoThunk driver in DUET because the BiosVideoThunk hang issue was fixed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9844 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-28 02:16:33 +00:00
niruiyu d9dd98f0dc Fix DUET x64 hang in Video Option ROM.
The root cause is EfiLdr module was wrongly loaded to address 0x0 corrupting the BDA(0x400) region. The patch set module base address to 0x10000 which aligns to R8 behavior.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9824 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-26 09:23:24 +00:00
mdkinney fa8a1af2eb Use GetFirstGuidHob() instead of GetNextGuidHob() when only the first GUID instance is required
Remove extra references to gEfiHobListGuid in INF files.  

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9797 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-25 01:52:31 +00:00
eric_tian e843cdd7d9 1. update bat file to generate right bootia32.efi/bootx64.efi file according to command line parameters.
2. fix a print error in which a %x in format string exists but the corresponding variable argument is not present!
3. fix CONSUME_MEMORY too small issue. In X64 arch, cpu may cause the paging table is too big and beyond the pei memory scope between EfiMemoryTop and EfimemoryBottom. for example, a cpu support 44bits addressing memory space may occupied ~64M paging table.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9794 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-19 08:28:28 +00:00
klu2 f4d7c87220 Seems the BiosVideo thunk does not work recently, temporary disable it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9781 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-16 08:32:38 +00:00
mdkinney 2b963c0793 Add SmbiosDxe module that is required by BDS
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9779 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-15 21:11:55 +00:00
klu2 3ae5030e9c Fix Duet broken caused by LzmaUefiDecompress's interface is changed in IntelFrameworkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9776 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-15 12:39:20 +00:00
eric_tian a8a863a2b3 add DataSize check to avoid PlatformLang/Lang variable is auto-mapped when try to delete these variables.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9748 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 07:25:27 +00:00
mdkinney b149a6100f Update Copyright date
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9729 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 00:24:41 +00:00
mdkinney fa7df1d692 Clean up MetronomeDxe INF file. This module uses the IoLib, so the dependency on the CPU I/O Protocol can be removed from this INF file. If the IoLib that layers on top of a CPU I/O Protocol is used, then the dependency will be inherited from the lib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9728 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 00:13:55 +00:00
xli24 74bafbaed9 Refer to OEM status code hook library instances in MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9644 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-29 09:57:26 +00:00
xli24 102e70874b Refer to status code library instances in MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9634 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-29 09:09:20 +00:00
xli24 1d7dfebf38 Add package dependency for gEfiStatusCodeDataTypeDebugGuid.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9618 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-28 02:55:12 +00:00
klu2 5e973c9630 Correct license's header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9594 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-23 15:35:51 +00:00
eric_tian 81c5255cdf add error handling for input parameter.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9582 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-22 07:16:37 +00:00
gikidy 4b37cc04b7 Update ReadMe file for we use the binaries of boot sector directly instead of building it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9559 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-14 03:09:49 +00:00
klu2 1c8bea11af Fix a obvious bug for judge whether the PPB support ISA
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9557 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-12 08:55:02 +00:00
xli24 3a5ac5bff0 Update 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@9534 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-07 12:51:53 +00:00
xli24 b6d793e37c Update 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@9533 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-07 12:48:53 +00:00
lgao4 8273af4ea1 Add DxeSecurityManagementLib instance
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9489 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-26 01:33:07 +00:00
davidhuang 21020c7c8b 1. PI SMBIOS Checkin. Major change include:
1) Produce PI SMBIOS protocol in MdeModulePkg
2) Update all consumers (in CorePkgs and native platform pkgs) to consume SMBIOS protocol instead of DataHub
3) Pass ECC tool; Verify Nt32, Duet, Unix platform

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9454 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-20 04:00:54 +00:00
klu2 169fa21031 Correct the shell script file type as executable
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9436 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-17 07:04:47 +00:00
qhuang8 b0b961c8f9 Use to use UEFI EFI_FILE_PROTOCOL to replace EFI_FILE
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9299 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-22 02:47:41 +00:00
klu2 595c3b6cf7 Add Ehci driver for handle USB 2.0 device.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9282 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-21 09:27:40 +00:00
klu2 df6434f27a Rollback patch temporary until receive legal approve.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9277 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-17 02:16:30 +00:00
klu2 e7b2c17aad Apply patch from Patrick Georgi. Correct build tool path to stable version.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9263 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-15 02:18:21 +00:00
qhuang8 208628f805 Remove .rept directive to improve portability.
we might have to replace them with copies.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9171 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-21 03:20:20 +00:00
qhuang8 b29a823d91 Detab in DuetPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9170 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-21 02:51:09 +00:00
qhuang8 08b1f48660 Use .fill directive to improve portability.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9168 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-21 01:50:48 +00:00
qhuang8 9811c39250 Use .p2align directive instead of ambiguous .align directive.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9164 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-20 09:15:11 +00:00
qhuang8 f3eb213152 Make end of line consistent for DuetPkg. There is no other update.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9149 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-20 06:44:42 +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 626790e9be update include file to use IndustryStandard/Pci.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9034 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-11 02:35:12 +00:00
klu2 d3a12d776c Use PcAtChipsetPkg's IdeControllerDxe driver and retire the one in DuetPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9017 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-28 02:57:17 +00:00
klu2 93d4ce9181 Add IDE support for edk2 Duet platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9000 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 07:36:29 +00:00
eric_tian 1a573c7ea2 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@8998 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 06:18:30 +00:00
eric_tian 03a2bbf3a1 ProcessCapsule() and BdsMemoryTest() are implemented in the BdsDxe module, which will be invoked at PlatformBds library.
It is not proper for a library implementation to assume the names of function in a parent module.
Instead, they must be designed as the pointers to these two BdsDxe functions and passed in.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8928 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-13 12:01:46 +00:00
vanjeff ebe8d2ba8d remove work around, since we had added return value check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8921 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-13 06:07:23 +00:00
mdkinney 551b6ada05 If module really is a Framework module and not a PI module, then use FrameworkDxe.h instead of PeDxe.h and FrameworkPei.h instead of PiPei.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8903 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-11 23:29:43 +00:00
eric_tian 1257e058d7 roll back the change on the naming of DataHubRecords.h for backward compatibility.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8878 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 10:16:50 +00:00
lgao4 24cdd14e81 Move LockKeyboards API from GenericBdsLib to PlatformBdsLib
And change PlatformBdsLockNonUpdatableFlash in PlatformBdsLib return type to VOID.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8855 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 03:26:52 +00:00
mdkinney 951d3095d8 Remove code that fills in the FirmwareVendor and FirmwareRevision in the EFI System Table and depend on BdsDxe in the IntelFrameworkModulePkg to do this instead.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8850 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-09 23:59:35 +00:00
lgao4 d46f36324f Retire Logo and Shell guid header file, which are replaced by gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile and gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8829 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-09 05:48:35 +00:00
eric_tian 59d2a62262 change ProcessorCoreFrequencyRecordType to EFI_PROCESSOR_FREQUENCY_RECORD_NUMBER. the latter is defined by spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8810 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-08 07:26:01 +00:00
klu2 9e8c32c6a4 Correct the file name case for linux environment
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8809 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-08 07:25:02 +00:00
klu2 dc12989214 Use PcAtChipsetPkg\PcatRealTimeClockRuntimeDxe\PcatRealTimeClockRuntimeDxe.inf instead of original PcAtChipsetPkg\PcRtc\RealTimeClock.inf
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8775 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-07 04:51:46 +00:00