Commit Graph

288 Commits

Author SHA1 Message Date
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
klu2 ba6f7d3658 Use PcAtChipsetPkg\PcatRealTimeClockRuntimeDxe\PcatRealTimeClockRuntimeDxe.inf instead of original PcAtChipsetPkg\PcRtc\RealTimeClock.inf
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8767 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-07 03:19:28 +00:00
gikidy d569cbb0d1 Fix system memory map issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8685 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-30 05:47:12 +00:00
klu2 ea7beacbea Fix build warning of implicitly pointer casting
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8651 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-24 19:12:35 +00:00
eric_tian 86608df412 remove the self-implementation on checksum() in this module by using BaseLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8638 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-24 02:32:30 +00:00
klu2 e88f305671 This patch includes:
1) Use the binaries of boot sector directly instead of building it. Because the code of boot sector will be modified rarely and it is native code.
2) Correct the shell binary file path which is changed by recently.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8620 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-22 03:01:53 +00:00
gikidy 7e7e7fec0a Corrected bad declaration.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8553 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-15 05:15:51 +00:00
lgao4 c2bd20a514 Retire gEfiProcessorProducerGuid,gEfiMemoryProducerGuid,
gEfiMiscProducerGuid, which are not consumed by any module. 
They can be replaced by gEfiCallerIdGuid. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8540 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-12 09:09:51 +00:00
mdkinney 20fac4432d Remove EFI_BDS_ARCH_PROTOCOL_INSTANCE from PlatformBdsLib.h and BdsDxe module
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8492 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-07 04:43:47 +00:00
mdkinney 0c1e1762b3 Retire <FrameworkModuleBase.h>, <FrameworkModuleDxe.h>, and <FrameworkModulePei.h>
They only provided a single #define that is associated with DEBUG() messages sent through ReportStatusCode.  That one #define has now been added to <Guid/StatusCodeDataTypeDebug.h>


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8488 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-07 01:13:55 +00:00
mdkinney df93b0ff9a Move gEfiPciOptionRomTableGuid from IntelFrameworkModulePkg to the DuetPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8483 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-05 21:32:38 +00:00
mdkinney bc61c01ae5 Increase source portability by replace the use of EFI_STATUS_CODE_DATA_MAX_SIZE with sizeof(Buffer)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8438 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-01 22:42:58 +00:00
mdkinney fd89439238 1) Move gEfiStatusCodeDataTypeDebugGuid from the IntelFrameworkPkg to the IntelFrameworkModulePkg. This GUID is not defined in the Framework Specifications, so it is part of the implementation. This GUID is used to pass DEBUG() information to the Status Code Protocol and PPI. This GUID is now defined in IntelFrameworkModulePkg/Include/Guid/StatusCodeDataTypeDebug.h. The GUID definition was also moved from the DEC file in the IntelFrameworkPkg to the IntelFrameworkModulePkg.
2) Move data structure use to pass DEBUG() info to Status Code Protocol and Status Code PPI from IntelFrameworkModulePkg.Include/DebugInfo.h into the new GUID file IntelFrameworkModulePkg/Include/Guid/StatusCodeDataTypeDebug.h

3) Delete IntelFrameworkModulePkg/Include/DebugInfo.h because all the content is now in IntelFrameworkModulePkg/Include/Guid/StatusCodeDataTypeDebug.h

Module Impacts
==============
1) Modules that currently use #include <DebugInfo.h> must be updated to #include <Guid/StatusCodeDataTypeDebug.h>.  
2) Modules that currently use #include <Guid/StatusCodeDataTypeId.h> and don't #include <DebugInfo.h> will have to add #include <Guid/StatusCodeDataTypeDebug.h>.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8433 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-01 21:18:30 +00:00
gikidy ae3d1e91ef Replaced ASM_GLOBAL with .global, and add start label for some files to avoid link warnings.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8416 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-01 03:25:36 +00:00
mdkinney b5a8e95c5e This checkin addresses the compatibility issue of passing arguments of type VA_LIST between components. The type VA_LIST is mapped onto the compiler specific implementation of varargs. As a result, modules build with different compilers may not use the same VA_LIST structure. The solution to this issue is to define a new type called BASE_LIST that is a compiler independent method of passing varargs between modules.
1) Update all implementations of ReportStatusCodeExtractDebugInfo() to use an argument of type BASE_LIST instead of VA_LIST.
2) Update status code listeners to use the BASE_LIST based APIs in the PrintLib instead of the VA_LIST based APIs, since ReportStatusCodeExtractDebugInfo() was updated to return a parameter of type BASE_LIST.



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8407 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-30 23:54:11 +00:00
rsun3 53fafef5c6 change ISO 639-2 language codes to RFC 4646 codes in .UNI files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8380 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-25 09:57:27 +00:00
mdkinney 94853f20f3 Terminate the Capability List traversal if the Capability Pointer is less than 0x40, or the Capability Pointer is not aligned on a 32-bit boundary.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8375 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-21 22:25:38 +00:00
xli24 ced10e2ed2 Replace .globl with ASM_GLOBAL
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8347 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 10:26:52 +00:00
xli24 d5172f911d 1. Remove .extern from GCC assembly.
2. Define macro for .global/.globl in GCC assembly.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8344 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 09:42:59 +00:00
qhuang8 e779654316 Remove the duplicated EdidActive.h & EdidDiscovery.h in DuetPkg. MdePkg has already defined these two files with the exactly same contents.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8257 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-08 01:23:49 +00:00
gikidy 754f83b752 Delete useless files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8252 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-06 09:46:04 +00:00
gikidy 11d909a4b1 1. Open USB related and logo support FVs, remove some useless FVs.
2. Update PostBuild.sh for LZMA support under Linux.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8250 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-06 09:03:11 +00:00
gikidy 8b85412a1d Ported LZMA to DUET platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8245 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-06 03:44:47 +00:00
qhuang8 de42c02756 Fix a bug that L"PlatformLang" must be a null-terminated ASCII string according to UEFI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8233 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-04 05:56:36 +00:00
gikidy 607e91f5a2 Replace references to RFC 3066 with RFC 4646.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8221 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30 07:00:27 +00:00
eric_tian 21946ba86b fix ICC build warning
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8203 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-29 08:05:00 +00:00
eric_tian a24b4043cd improve platformlangcodes/langcodes and platformlang/lang autoupdate mechanism.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8197 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-29 02:42:01 +00:00
gikidy 986825f093 Add a note for Duet build under Linux environment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8127 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-20 02:33:08 +00:00
gikidy 0141c7019c Steps for build Duet under Linux environment added.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8121 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-17 06:14:23 +00:00
lgao4 c1a83b5325 Remove unused IfrSupportLib and ExtendedIfrSupportLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8120 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-17 05:47:02 +00:00
klu2 72be1c7a37 Remove macro usage of EFI32, EFI64 in duet package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8100 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-16 06:27:51 +00:00
klu2 6c8e40caa9 Fix BiosVideo thunk bug about invalid legacy region area.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8099 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-16 04:46:18 +00:00
klu2 f8b30ae529 add return if no valid architecture
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8094 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-16 02:36:20 +00:00
rsun3 cb7d01c0c9 HII Library Class interface refine.
The "HiiLib" prefix for all HII Library API function names changed to "Hii".

Remove: 
  HiiLibPreparePackageList(), replaced by HiiAddPackages()
  HiiLibNewString(), replaced by HiiSetString()
  HiiLibGetStringFromHandle(), replaced by HiiGetString()
  HiiLibGetStringFromToken(), replaced by HiiGetPackageString()
  HiiLibExtractGuidFromHiiHandle()
  HiiLibDevicePathToHiiHandle()
  HiiLibGetSupportedSecondaryLanguages()
  HiiLibGetSupportedLanguageNumber()
  HiiLibExportPackageLists()
  HiiLibListPackageLists()
  
Interface change:
  HiiAddPackages()
  HiiSetString()
  HiiGetString()
  HiiGetHiiHandles()

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8083 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-14 10:47:19 +00:00
vanjeff 05c7cb5d8e Per UEFI spec, SetMode() should clear screen anyway with black color.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8081 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-14 08:40:40 +00:00
lgao4 87cac63ddd Add UefiHiiServicesLib library instance in every one DSC
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8067 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-13 06:12:19 +00:00