Commit Graph

446 Commits

Author SHA1 Message Date
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
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
qhuang8 f05b1c14ec Fix the bug that debug output fails to print hex value to screen. Remove module internal SPrint() and use UnicodeSPrintAsciiFormat() in print library instead.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8057 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-10 06:52:02 +00:00
klu2 8141eea5fa Add comments for introducing startup sequence for DUET boot disk.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8043 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-09 06:19:15 +00:00
klu2 c0e741ef23 Add comments for introducing startup sequence for DUET boot disk.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8042 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-09 06:16:52 +00:00
rsun3 f6f910dd12 Retire Extended HII library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8011 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-02 08:48:03 +00:00
klu2 15fcbcbee0 Remove some drivers to save image size
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8001 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-01 08:53:13 +00:00
gikidy 6976b5cdf8 Add code for floppy format process.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7993 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-31 06:38:37 +00:00
rsun3 3751c4cf94 Retire FrameworkHiiLib library class. Remove FrameworkHiiLib library instance now and will be added later if necessary.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7988 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-31 02:41:33 +00:00
klu2 8941b53e59 Fix building warning for mismatching paramter pointer type
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7981 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-30 06:04:55 +00:00
klu2 bda1bdbbf0 Add more comments for override PCD and library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7962 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-26 15:18:10 +00:00
klu2 d6ca2c1eb5 1, cleanup DSC file, use NULL library instance for DebugLib and
ReportStatusCodeLib in global commen section. And use overriden library 
instance in DxeCore for sample.
2, cleanup FDF file


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7960 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-26 14:58:34 +00:00
qhuang8 40b499c613 Add header file "SerialStatusCode.h" inclusion.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7956 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-25 14:29:29 +00:00
klu2 d26b17e3c7 Also output information to serial
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7952 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-25 09:10:47 +00:00
klu2 3ffa0f1f8a Fix name conflict for GetVariable defined in UefiLib.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7947 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-25 06:48:03 +00:00
gikidy 536c563dd9 Add a parameter for process boot disk create.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7933 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-24 09:23:21 +00:00
klu2 3a4e990ec4 Remove single module's compression from FDF. We could get smaller size when compressing whole image.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7903 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-18 06:21:27 +00:00
gikidy 7bc4989f1d Fix build break for EFI_SMBIOS_TABLE_GUID name has been changed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7894 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-17 02:07:29 +00:00
gikidy e343d4473d File st32_64.S added for X64.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7889 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-16 09:03:53 +00:00
gikidy 72f7d3c341 File st16_64.S added for X64.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7888 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-16 08:51:21 +00:00
gikidy 3bd0ef806e Added efi64.S file for X64 and reviewed efi32.S file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7887 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-16 07:56:33 +00:00
klu2 fe9591c5b4 It is safe to use bcat command to cat binary files, if bcat is avaiable, so add bcat command into comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7885 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-16 04:59:21 +00:00
gikidy ded312f134 1. Add start64.S file for X64.
2. start.S file reviewed.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7884 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-16 04:50:05 +00:00
klu2 560b815e21 Final boot image just need combination, no need to create directory
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7883 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-16 02:52:48 +00:00
klu2 9f214f6fca Remove working modification for debug
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7880 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-15 12:00:03 +00:00
klu2 49794755ba Remove exit from batch file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7879 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-15 11:49:12 +00:00
gikidy d0b0659fbe cleanScreen verified.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7874 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-13 03:32:55 +00:00
gikidy 7674c40a2d Fix cleanScreen issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7873 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-13 03:30:27 +00:00
eric_tian 933676058b retire gEfiAlternateFvBlockGuid. All platform FvbRuntimeDxe drivers will not produce such protocol to signify itself support writable FVB protocol.
FaultTolerantWrite driver and variable driver will register notification event to locate right protocol.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7865 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-12 05:10:53 +00:00
gikidy f3fb74cdac 1. Fix some convert issue.
2. org address changed.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7864 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-12 02:54:02 +00:00
klu2 a39d85f6ed Add more comments for thunk call.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7836 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-09 07:48:44 +00:00
qhuang8 9075e54371 Use binary INF file to solve filename case issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7830 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-06 02:17:47 +00:00
qhuang8 c0dece4ae2 Use cpu arch macro instead of hard code ia32
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7828 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-06 01:14:30 +00:00
qhuang8 c6811ca12b Rename library instance name from "PeCoffExtraActionLibNull" to "BasePeCoffExtraActionLibNull"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7824 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 15:29:23 +00:00
klu2 640a2e529e Fix issue for boot sector
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7819 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 15:22:54 +00:00
klu2 88e9055e52 Should use 16 bit code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7818 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 14:25:53 +00:00
klu2 a8abbe2bb5 Should use 16 bit code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7817 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 14:25:31 +00:00
klu2 4d382070b4 Refine comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7816 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 14:13:25 +00:00
qhuang8 3fd6fdeb0b Remove PeRemove PeiPeCoffLoader.h and gPeiPeCoffLoaderGuid, and Add PeCoffExtraActionLib class and instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7808 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 09:16:13 +00:00
jljusten c15c888908 Remove 'BASETOOLS_DIR' variable. We assume basetools are in the PATH
during a build.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7802 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 00:44:05 +00:00
klu2 d0c94e5954 The IA32 register definition is quit different between edk and edk2 code base, so should not use EFI_IA32_REGISTER_SET to prepare thunk call based on edk2's BaseLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7786 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-03 14:43:49 +00:00
gikidy 5b7021e627 Convert CreateBootDisk from windows bat file to Linux sh file.
For Linux version of Genbootsector & Bootsectimage has not pass build yet, this sh file has not completely done.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7777 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-03 06:27:07 +00:00
gikidy c521660aa1 Linux split replaced by BaseTools Split.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7776 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-03 04:29:29 +00:00
klu2 296d3525fd Refine comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7774 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-03 02:33:58 +00:00
klu2 2776527d46 Remove debug message code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7773 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-03 02:25:10 +00:00
klu2 49de9dd497 Fix ICC building issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7772 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-03 02:16:24 +00:00
klu2 237bb9d0be Fix bug of wrong stack16 stack for thunk call. This may cause Duet failed to enter graphic mode under Qemu simulator or some platforms.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7771 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02 15:03:37 +00:00
klu2 71bd6db178 Update PostBuild.sh
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7770 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02 12:12:46 +00:00
klu2 3ef254bb50 Use com as postfix as MSFT does.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7769 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02 11:56:02 +00:00
klu2 5defbd8dba Add post build script for linux
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7768 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02 09:28:44 +00:00
gikidy f89afddbe3 Add PostBuild process file for Unix environment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7767 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02 08:37:23 +00:00
qhuang8 2ea15d0255 remove Bmp.h and ShellFile.h From MdeModulePkg to IntelFrameworkPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7760 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02 06:16:21 +00:00
vanjeff a51a9ea364 remove PCI_MAX_SEGMENT from Industry Standard file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7750 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02 03:19:37 +00:00
eric_tian 19d0df057a remove comment line
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7749 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02 02:01:32 +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
klu2 23833b2c68 Add thunk code for CpuDxe driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7744 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-01 10:13:03 +00:00
klu2 880237f3bd Add missing protocol definition in dec file and remove LegacyBiosThunk protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7743 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-01 09:54:54 +00:00
klu2 105c70e21b Duet X64 still use IA32 tool chain to generate bootsector. So update postbuild.bat to correct the binary path.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7742 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-01 09:52:07 +00:00
klu2 99032c4556 Pass X64 GCC building
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7741 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-01 09:24:57 +00:00
klu2 b0e441b554 Update step for FAT32 usb.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7740 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-01 08:04:03 +00:00
klu2 fe74f17339 fix building issue for linux tool chain
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7739 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-01 07:31:42 +00:00
klu2 f1294e4a56 Refine the comments for BiosVideo thunk driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7738 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-01 07:12:53 +00:00
klu2 0d92cdc200 Update BiosVideo driver to produce GOP protocol but not UgaDraw protocol which is retired from UEFI specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7737 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-01 04:47:53 +00:00
klu2 fd677afe31 Should use UINTN for architecture register.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7736 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-28 18:39:04 +00:00
klu2 024a9e1dcf Fix building issue for linux toolchain
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7735 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-28 18:32:46 +00:00
klu2 439c34f3fe Fix build broken for variable's header modification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7734 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-28 18:15:09 +00:00
klu2 7da78b1f09 1, Port BiosVideoThunkDxe driver from edk to edk2;
2, The LegacyBiosThunk driver has been merged to BiosVideoThunkDxe driver, because only BiosVideo use legacy thunk now.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7733 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-28 17:28:44 +00:00
eric_tian 3709c4cd5b 1. delete Include/Guid/VariableInfo.h
2. move VariableFormat.h into GUID directory and change the “Signature” field of the VARIABLE_STORE_HEADER to gEfiVariableGuid value.
3. merging VARIABLE_INFO_ENTRY structure into the new Include/Guid/VariableFormat.h
4. change gEfiVariableInfoGuid into gEfiVariableGuid.
5. modify FDF files to use new guid value instead of the original signature.
6. all code related to signature is changed to use guid value.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7728 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-27 05:35:08 +00:00
gikidy c42d374322 1. Use /Map to generate map files;
2. Add code to process bin files split.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7726 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-27 03:41:50 +00:00
klu2 20193e01ca Should use code16 for 16-bit assembler, otherwise 32-bit prefix will be added
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7721 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-26 14:41:56 +00:00
klu2 0375ec8d8f boot sector use 16-bit code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7720 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-26 12:54:41 +00:00
klu2 57b6de773d in 16-bit code, cs:[] require prefix because sengment size is set 32 bits. so use $ to reference string tag directly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7719 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-26 12:52:17 +00:00
klu2 6efe5f9605 1, Change name of PcdPlatformBootTimeoutDefault to PcdPlatformBootTimeout, now this PCD is *not* only hold default value of Bds timeout, but it is associated with a HII type PCD to hold persistent value for BDS timeout. Platform integrator will establish this mapping in platform DSC file.
2, Move PcdPlatformBootTimeout to IntelFrameworkModulePkg.
3, Remove BdsLibGetTimeout() interface from GenericBdsLib, because the PCD PcdPlatformBootTimeout will take care of persistent for time out value.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7709 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-26 07:20:33 +00:00
gikidy 43d4555b08 Add GNUmakefile for Linux GCC to build BootSector;
Now the makefile only for pass build and source control. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7700 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-26 03:41:41 +00:00
gikidy fd549a4db9 1. Add GNUmakefile for Linux GCC to build BootSector;
2. Modified some S files to pass ld phase.
Now the makefile only for pass build and source control. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7699 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-26 03:39:15 +00:00
klu2 002774aab4 Move library class GenericBdsLib and PlatformBdsLib to IntelFrameworkModulePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7658 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 15:53:29 +00:00
klu2 113173812b uncomment usb related modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7652 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 14:14:05 +00:00
qhuang8 204d0e01f6 Fix build break:
Remove unused NvDataFvHob
Replace it with NvDataFvGuid


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7650 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 12:28:22 +00:00
klu2 736e3559ba Fix some broken file path.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7648 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 11:29:03 +00:00
lgao4 0e4cb657f6 Don't produce FvbExtension Protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7631 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 06:35:26 +00:00
jljusten 7632bfcccc Update paths for items which moved from DuetPkg to PcAtChipsetPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7620 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 22:45:34 +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
jljusten 4a6a21cfe0 CpuIoDxe driver was moved to UefiCpuPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7610 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 20:17:50 +00:00
jljusten 8b2ba4d882 Moving DuetPkg/CpuIoDxe to UefiCpuPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7608 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 19:56:13 +00:00
klu2 1d0cab2ec2 Merge tristan's patch:
while compiling with GCC I have found two issues in PcatPciRootBridge.c:

* when vendor id is read, the code read 2 * 2 bytes into a buffer of 2 bytes.
  The 'buffer overflow' crashed efi.

* when pci configuration header is read, the code read by chunks of 4 bytes,
  but the buffer is aligned on 2 bytes.  According to the compilation options,
  the reads may fail (and the failure is ignored).


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7602 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 14:05:41 +00:00
klu2 24f5b8022f Fix building issue for VS2003 and VS2005 tool chain. The "/GS-" is not recognized by VS2003 but need by VS2005, so the CFLAGS should override from tools_def.txt but not replace CFLAGS defined in tools_def.txt.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7586 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:35:29 +00:00
qhuang8 b4e83ab76d Update DuetPkg to include DxePcdDriver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7582 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:22:04 +00:00
qhuang8 d894c8a331 Remove unused DuetDxeReportStatusCodeLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7581 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:21:25 +00:00
gikidy f735177861 Add build option /GS- to pass build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7558 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20 09:29:01 +00:00
gikidy ccec4c3969 Port Intel .asm to GAS S
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7557 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20 08:22:04 +00:00
gikidy 01f1138afe Linkage errors fixed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7556 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20 08:16:12 +00:00
gikidy 5ffcd2579f Patch for CpuInterrupt.S from Tristan Gingold.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7555 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20 08:03:44 +00:00
jji4 166451c51c New .S files added
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7554 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20 07:52:31 +00:00
jji4 9ffd16fb49 syntax checked
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7553 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20 07:51:59 +00:00
jji4 6794a1b951 The asm file for Ia32 has been translated from MASM to GAS.
Build in CYGWINGCC is OK.
It needs to be checked for the logic and debugged for the running.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7552 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20 06:04:15 +00:00
jji4 9be1da069f Port Intel .asm to GNU .S
These .S files now are not for compiler but for us to control the version.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7551 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20 05:25:12 +00:00
gikidy 819958c65f Port Intel .asm to GNU .S
These .S files now is not for compiler but for us to control the version.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7549 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20 03:11:41 +00:00
jji4 32f9b796d3 Port Intel .asm to GNU .S
These .S files now is not for compiler but for us to control the version.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7548 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20 03:01:49 +00:00
jwang36 6054c68c3e Use "==" to define build options for USER_DEFINED module
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7546 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20 02:09:39 +00:00
xli24 6074a6fb4b Add comments in DSC files to explain the function and design of components section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7487 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-10 08:55:43 +00:00
qhuang8 8e0e028a28 Update ReportStatusCodeLib mapping: Use DxeCoreReportStatusLibFromHob DXE_CORE and DxeReportStatusCodeLib in IntelFrameworkModulePkg for all other modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7484 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-09 10:04:00 +00:00
qhuang8 6dacb8cda9 Add DxeCoreReportStatusCodeLibFromHob library instance. For now, it is dedicated to DxeCore for DuetPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7483 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-09 10:02:28 +00:00
xli24 693e49cad6 Add comments in platform DSC files to remind that binaries are only listed in FDF, not in DSC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7446 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 03:15:09 +00:00
mdkinney e8ba34ff3d Update DUET PCI Bus Driver to use PeCoffLib instead of parsing the PE/COFF image itself
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7439 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-05 19:31:45 +00:00
qhuang8 c7b5f50ffa Fix minor coding style issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7434 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-05 02:13:25 +00:00
qhuang8 269c0ba2d5 Clean up PcRtc:
1. Remove the architecture subdirectory (IPF architecture is not supported any more
2. Merge IA32 source with x64 source to ResetEntry.c in the upper level directory)
3. Pass CYGWIN GCC tool chain.
4. Remove the used DXS file

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7412 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 00:58:26 +00:00
qhuang8 abae655fd2 clean up PciRootBridgeNoEnumerationDxe:
Refine to pass GYGWIN GCC.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7411 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 00:57:22 +00:00
qhuang8 9e65d5e975 Clean up DuetBdsLib:
Refine to pass CYGWIN GCC tool chain.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7410 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 00:56:15 +00:00
qhuang8 6583c3582f Clean up KbcRestDxe:
1. Remove the architecture subdirectory (IPF architecture is not supported any more
2. Merge IA32 source with x64 source to ResetEntry.c in the upper level directory)
3. Remove the used DXS file

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7409 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 00:55:00 +00:00
qhuang8 4b869fed0d Clean up to fix GUID format issues to pass GCC tool chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7408 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 00:51:40 +00:00
qhuang8 61494dad40 Clean up FvbRuntimeService:
Remove the unused DXS file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7407 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 00:50:51 +00:00
qhuang8 c02d4876db Clean up FSVariable:
Remove the unused DXS file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7406 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 00:50:03 +00:00
qhuang8 ffdc186777 Clean up EfiLdr:
Refine code to pass CYGWIN GCC tool chain build 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7405 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 00:49:30 +00:00
qhuang8 9008db4a28 Clean up DxeIpl:
1. Remove the assembly by using IoLib & BaseLib in MdePkg
2. Refine code to pass CYGWIN GCC tool chain build 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7404 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 00:48:56 +00:00
qhuang8 3eb90413ba Clean up DataHubGenDxe:
1. Fix the structure assignment
2. Removed the unused DXS file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7403 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 00:46:49 +00:00
qhuang8 8c7f0932d6 Clean up CpuIoDxe:
1. Remove the assembly files by using IoLib in MdePkg.
2. Remove the unused DXS file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7402 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 00:45:16 +00:00
qhuang8 8e6a99100c Remove unused DXS file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7401 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 00:43:31 +00:00
klu2 62d8cc5fbc Add GCC assember for DxeIpl module
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7396 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-02 19:09:21 +00:00
klu2 ef03248cb5 Add GCC assember for DxeIpl module
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7395 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-02 19:09:11 +00:00
mdkinney 914826ba1d Split out Synchronization Library from Base Library
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7376 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-30 00:38:55 +00:00
qhuang8 cc4678aa94 Fix the path for BDS.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7365 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-23 15:50:44 +00:00
klu2 80f73b51f5 Move BdsDxe and GenericBdsLib to IntelFrameworkModulePkg, these modules need dependent on gEfiLegacyBiosProtocol to provide legacy boot support. But legacy boot is not described by PI/UEFI specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7355 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-23 07:26:35 +00:00
klu2 ba992f96fa 1, Add logo.bmp to fv file for showing it in graphic mode
2, Hard code timeout to 5 second.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7315 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-20 03:23:21 +00:00
klu2 6ef5ab88d7 For PollMem or PollIo, EFI_SUCESS should be returned when paramter Delay == 0.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7265 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-14 02:08:14 +00:00
klu2 9be2c306aa Use ACPI timer for Duet platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7264 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-13 18:39:43 +00:00
klu2 f8e01ca87b Fix bugs in decompress implement in EfiLdr, and enable FAT driver in FDF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7254 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-13 07:41:23 +00:00
klu2 4176aa9faf Add build steps for duet platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7234 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 07:42:41 +00:00
lgao4 8e3fdb95fa Move Varialbe common definitions (GET_PAD_SIZE and HEADER_ALIGN macro) into MdeModulePackage Include VariableFormat.h
And Use PCD to replace macros in source code to reduce confusion.(FixedPcdGet32(PcdMaxVariableSize) replaces MAX_VARIABLE_SIZE, and FixedPcdGet32(PcdMaxHardwareErrorVariableSize) replaces MAX_HARDWARE_ERROR_VARIABLE_SIZE.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7230 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 06:31:30 +00:00
klu2 dc4dc1ded8 1, Remove DxeReportStatus driver, because DxeIpl has published a instance from hob. And new status code library will use this instance from hob.
2, Use gBS->Stall() for MicroSecondDelay() implementation in DuetTimerLib.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7202 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-07 09:36:44 +00:00
klu2 f254e82106 Usb ASM but *not* ASM16, the tool chain of ASM is same as ASM16 in tool_def.txt, ASM16 should also be removed from tool_def.txt
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7198 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-07 02:15:35 +00:00
klu2 a4f31dafa7 Remove debug code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7196 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-06 09:18:15 +00:00
klu2 3d0134ba7b Add dummy GnuMakefile to pass UNIXGCC building for boot sector module. In future, boot sector should be ported to
Unix environment.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7195 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-06 09:05:34 +00:00
klu2 afbf572a61 Add bootsector module, this module is not a EFI driver or PEIM, but the raw image for boot disk. It is should be built in tiny mode with 16 assembler compiler and linker. And currently only MSFT is supported.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7194 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-06 08:41:52 +00:00
lgao4 ac4274ddde Remove /Fa option to cause multithread build failed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7190 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-06 05:01:54 +00:00
klu2 a64a47bc22 Use ASMLINK macro but *not* ASMLINK16
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7189 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-06 04:45:39 +00:00
klu2 2a5ef1fcec Use relative path for base tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7188 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-06 04:38:58 +00:00
klu2 e25803f0f0 1, Enable USB boot for R9's Duet.
2, Work around an RTC issue for DUET under vmware environment.
3, Enable early serial status code output for DxeCore module.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7187 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-06 03:25:24 +00:00
klu2 cf0206ee8b Add DuetDxeReportStatusCodeLib which will get ReportStatusCode from hob if fail to get protocol. This library could be used for DxeCore module to output early debug message via serial.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7186 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-06 01:59:59 +00:00
lgao4 54cdf471a0 Correct Compiler option /FAcs to /FAsc
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7180 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-05 02:12:37 +00:00
klu2 5b8adaa558 Fix bug that Duet BDS fail to get PciExpressAddress from guid hob.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7155 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-30 08:26:28 +00:00