16 years ago1) Initialize gBS, gST, gImageHandle in UefiBootServicesTableLib.c to NULL
qwang12 [Fri, 6 Apr 2007 06:36:47 +0000 (06:36 +0000)]
1) Initialize gBS, gST, gImageHandle in UefiBootServicesTableLib.c to NULL
2) Add DxeCore infix to the module local variable gBS, gST, gRT, gDS in DxeMain.c. This is to solve the name conflict with UefiBootServicesTableLib which is defined in MDE Library Spec.
3) Add in check for gBS and gST in UefiDebugLibConOut/DebugLib.c and UefiDebugLibStdErr/DebugLib.c and MdePkg/Library/DxeReportStatusCodeLib/ReportStatusCodeLib.c. If they are not initialized, the API will just return with a error message.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2546 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoThe ALIGNMENT definition has been moved to common header file.
klu2 [Thu, 5 Apr 2007 09:27:56 +0000 (09:27 +0000)]
The ALIGNMENT definition has been moved to common header file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2545 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoChange PcdWinNtFileSystem value is to the correct directory.
lgao4 [Thu, 5 Apr 2007 09:16:04 +0000 (09:16 +0000)]
Change PcdWinNtFileSystem value is to the correct directory.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2544 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoTo fix
xgu3 [Thu, 5 Apr 2007 09:04:12 +0000 (09:04 +0000)]
To fix
USB Keyboard driver should add F11, F12 support
DxeIpl should not hardcode 36bit address

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2543 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoClean up the following module msa files, they are edkmodule package ftwlit, Crc32Sect...
lgao4 [Thu, 5 Apr 2007 09:00:46 +0000 (09:00 +0000)]
Clean up the following module msa files, they are edkmodule package ftwlit, Crc32SectionExtract, NullMemoryTest, PeiMemoryTest, MonotonicCounter modules.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2542 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoFixed the incremental build issue for .dxs file by adding .dep generation for Build_D...
jwang36 [Thu, 5 Apr 2007 08:52:59 +0000 (08:52 +0000)]
Fixed the incremental build issue for .dxs file by adding .dep generation for Build_DPX macro.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2541 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoOpen all warning checking for EdkUnixPkg, and current EdkUnixPkg has no warning now.
klu2 [Thu, 5 Apr 2007 08:42:35 +0000 (08:42 +0000)]
Open all warning checking for EdkUnixPkg, and current EdkUnixPkg has no warning now.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2540 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoAdd more judgement.
klu2 [Thu, 5 Apr 2007 08:18:50 +0000 (08:18 +0000)]
Add more judgement.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2539 6f19259b-4bc3-4df7-8a09-765794883524

16 years ago1) Change the alignment from 1 to 2 for IA32 and X64 arch.
klu2 [Thu, 5 Apr 2007 08:12:30 +0000 (08:12 +0000)]
1) Change the alignment from 1 to 2 for IA32 and X64 arch.
2) Move ALIGNMENT macro to common variable.h file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2538 6f19259b-4bc3-4df7-8a09-765794883524

16 years agofix build warning issue
klu2 [Thu, 5 Apr 2007 07:27:17 +0000 (07:27 +0000)]
fix build warning issue

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2537 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoThe alignment of data section also meet with the requirement of section itself.
klu2 [Thu, 5 Apr 2007 07:04:33 +0000 (07:04 +0000)]
The alignment of data section also meet with the requirement of section itself.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2536 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoSync the HII GUID with EDK I code base. Please take note: This GUID is not the same...
qwang12 [Thu, 5 Apr 2007 01:26:00 +0000 (01:26 +0000)]
Sync the HII GUID with EDK I code base. Please take note: This GUID is not the same with the one listed in Framework HII Spec 0.92. The HII protocol interface have changed from the one defined in Framework HII spec 0.92. Ergo the HII protocol GUID is updated to reflect the change.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2535 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoFix the TPL broken issue for UnixPkg
klu2 [Wed, 4 Apr 2007 07:40:40 +0000 (07:40 +0000)]
Fix the TPL broken issue for UnixPkg

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2534 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoChange BDS to get the default logo picture by default bmp logo guid.
lgao4 [Wed, 4 Apr 2007 06:24:26 +0000 (06:24 +0000)]
Change BDS to get the default logo picture by default bmp logo guid.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2533 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoFixed issue for ICC, since ICC does not allow to cast data with volatile qualifier.
yshang1 [Wed, 4 Apr 2007 06:22:45 +0000 (06:22 +0000)]
Fixed issue for ICC, since ICC does not allow to cast data with volatile qualifier.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2532 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoFix the unalignment issue for RODATA section when converting ELF image to PE image.
klu2 [Wed, 4 Apr 2007 05:57:31 +0000 (05:57 +0000)]
Fix the unalignment issue for RODATA section when converting ELF image to PE image.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2531 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoChange the Guid Value of EFI_ISCSI_INITIATOR_NAME_PROTOCOL_GUID.
qhuang8 [Wed, 4 Apr 2007 03:20:39 +0000 (03:20 +0000)]
The original one is 15-byte structure, not a valid Guid structure.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2530 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoRename the enum value of EFI_STANDBY_BUTTON_PHASE.
yshang1 [Wed, 4 Apr 2007 03:14:30 +0000 (03:14 +0000)]
Rename the enum value of EFI_STANDBY_BUTTON_PHASE.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2529 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoUpdate the MSA for ICC build.
yshang1 [Wed, 4 Apr 2007 02:46:32 +0000 (02:46 +0000)]
Update the MSA for ICC build.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2528 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoSMMcis defines "Exit" as the one of phases of EFI_SMM_STANDBY_BUTTON_CONTEXT. The...
yshang1 [Tue, 3 Apr 2007 09:23:26 +0000 (09:23 +0000)]
SMMcis defines "Exit" as the one of phases of EFI_SMM_STANDBY_BUTTON_CONTEXT. The "Exit" conflicts with UefiApplicationEntryPoint library's Exit() in MDE spec and breaks all application build in r9. To fix the issue, I changed the "Exit" to "StandbyButtonExit" in EFI_SMM_STANDBY_BUTTON_CONTEXT temporarily.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2527 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoUpdated MSA file for EBC.
yshang1 [Tue, 3 Apr 2007 07:13:38 +0000 (07:13 +0000)]
Updated MSA file for EBC.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2526 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoFixed an issue which a library module could be built even it's not in the active...
jwang36 [Tue, 3 Apr 2007 06:29:13 +0000 (06:29 +0000)]
Fixed an issue which a library module could be built even it's not in the active platform.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2525 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoAdd the ReadWriteBarrier in the Acquire/ReleaseSpin to block the unexpected optimizat...
yshang1 [Tue, 3 Apr 2007 06:25:25 +0000 (06:25 +0000)]
Add the ReadWriteBarrier in the Acquire/ReleaseSpin to block the unexpected optimization of compiler.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2524 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoAdd in OFFSET_OF macro as defined in MDE Library spec
qwang12 [Mon, 2 Apr 2007 08:40:56 +0000 (08:40 +0000)]
Add in OFFSET_OF macro as defined in MDE Library spec

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2523 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoAdd comments on the definition of SPIN_LOCK_RELEASED & SPIN_LOCK_ACQUIRED
qhuang8 [Mon, 2 Apr 2007 08:15:58 +0000 (08:15 +0000)]
Add comments on the definition of SPIN_LOCK_RELEASED & SPIN_LOCK_ACQUIRED

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2522 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoMerged the fix of CompressDll.dll manifest issue when built by VS2005
jwang36 [Mon, 2 Apr 2007 07:38:34 +0000 (07:38 +0000)]
Merged the fix of CompressDll.dll manifest issue when built by VS2005

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2521 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoRestored the SetVirtualAddress and SetExitBootService related code generation for...
jwang36 [Fri, 30 Mar 2007 10:55:54 +0000 (10:55 +0000)]
Restored the SetVirtualAddress and SetExitBootService related code generation for UEFI_APPLICATION type of module.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2520 6f19259b-4bc3-4df7-8a09-765794883524

16 years ago1. Advance IP in case of Break(3) in breakpoint exception
qhuang8 [Fri, 30 Mar 2007 08:44:55 +0000 (08:44 +0000)]
1. Advance IP in case of Break(3) in breakpoint exception
2. Add stack management algorithm to avoid pool allocation during EBC instruction interpretation.
3. Add multi EBC image support.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2519 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoremove unnecessary files from EdkGenericBdsLib in EdkNt32pkg
vanjeff [Fri, 30 Mar 2007 06:23:16 +0000 (06:23 +0000)]
remove unnecessary files from EdkGenericBdsLib in EdkNt32pkg

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2518 6f19259b-4bc3-4df7-8a09-765794883524

16 years ago1. Perfect libraries MSA files
vanjeff [Fri, 30 Mar 2007 06:15:19 +0000 (06:15 +0000)]
1. Perfect libraries MSA files
2. Use MemoryAllocationLib to replace gBS memory services in EdkEt32Pkg.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2517 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoSync the Guid value of MTFTP protocol in spd file since it has been updated in header...
qhuang8 [Fri, 30 Mar 2007 05:14:52 +0000 (05:14 +0000)]
Sync the Guid value of MTFTP protocol in spd file since it has been updated in header file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2516 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoVariable driver: add checking to make sure flash is properly initialized
qhuang8 [Thu, 29 Mar 2007 07:48:48 +0000 (07:48 +0000)]
Variable driver: add checking to make sure flash is properly initialized
PxeBc driver: fix the issue that the giaddr is wrongly interpreted to "gateway address"

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2515 6f19259b-4bc3-4df7-8a09-765794883524

16 years ago1.Define SPIN_LOCK as "volatile UINTN" to prevent mutli-processor access harzard.
qhuang8 [Thu, 29 Mar 2007 07:45:24 +0000 (07:45 +0000)]
1.Define SPIN_LOCK as "volatile UINTN" to prevent mutli-processor access harzard.
2.Sync MTFTP4 Protocol GUID with spec.
3.Sync the definition the EFI_IP4_VARIABLE_DATA and EFI_TCP4_VARIABLE_DATA with spec

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2514 6f19259b-4bc3-4df7-8a09-765794883524

16 years ago1. Use MemoryAllocationLib to replace boot services memory services functions in...
vanjeff [Thu, 29 Mar 2007 06:58:38 +0000 (06:58 +0000)]
1. Use MemoryAllocationLib to replace boot services memory services functions in EdkModulePkg.
2. Added NULL pointer check before calling FreePool () to fix bugs when free memory.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2513 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoto fix
xgu3 [Thu, 29 Mar 2007 06:04:36 +0000 (06:04 +0000)]
to fix
[NT32] Emulator can't run when built with /O1

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2512 6f19259b-4bc3-4df7-8a09-765794883524

16 years ago[Source] Useless assigning statement in ata and atapi
xgu3 [Thu, 29 Mar 2007 03:42:03 +0000 (03:42 +0000)]
[Source]  Useless assigning statement  in ata and atapi
NT32, WinNT GOP PixelFormat should be BltOnly
NT32, SimpleTxtIn should add F11, F12 support

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2511 6f19259b-4bc3-4df7-8a09-765794883524

16 years ago1. Removed #ifndef to enable Capsule architecture protocol on IPF.
vanjeff [Wed, 28 Mar 2007 03:28:13 +0000 (03:28 +0000)]
1. Removed #ifndef to enable Capsule architecture protocol on IPF.
2. Added ASSERT (FLASE) in SwitchStack ().
3. Removed unreached branch from UefiNotTiano.c.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2510 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoCorrect some wrong usage types
qhuang8 [Tue, 27 Mar 2007 09:20:55 +0000 (09:20 +0000)]
Correct some wrong usage types

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2509 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoadd new blank line for GCC build
klu2 [Tue, 27 Mar 2007 05:18:34 +0000 (05:18 +0000)]
add new blank line for GCC build

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2508 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoFixed an Autogen issue which will cause build break when encountering some kind of...
jwang36 [Tue, 27 Mar 2007 03:05:30 +0000 (03:05 +0000)]
Fixed an Autogen issue which will cause build break when encountering some kind of module.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2507 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoRemove the generation of "Exit" function calling since the UefiApplicationLib has...
jwang36 [Mon, 26 Mar 2007 09:30:32 +0000 (09:30 +0000)]
Remove the generation of "Exit" function calling since the UefiApplicationLib has defined the Exit function.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2506 6f19259b-4bc3-4df7-8a09-765794883524

16 years ago1. Removed definition for EFI_1_1 from module ConSplitter
vanjeff [Mon, 26 Mar 2007 07:00:30 +0000 (07:00 +0000)]
1. Removed definition for EFI_1_1 from module ConSplitter
2. Removed old Intel Framework specification extension for Media Firmware file path from Uefi/UefiSpec.h and UefiLib/UefiNotTiano.c
3. Added EFI revision check in UefiLib/UefiNotTiano.c and removed one EFI_SPECIFICATION_VERSION wrapper in Uefi/UefiSpec.h.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2505 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoFor building UnixPkg in CYGWIN, it should use gcc binded by CYGWIN but not the 4...
klu2 [Mon, 26 Mar 2007 02:39:18 +0000 (02:39 +0000)]
For building UnixPkg in CYGWIN, it should use gcc binded by CYGWIN but not the 4.2 gcc which support PE.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2504 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoAdd tool chain's configuration for building and running UnixPkg in CYGWIN environment.
klu2 [Fri, 23 Mar 2007 05:54:23 +0000 (05:54 +0000)]
Add tool chain's configuration for building and running UnixPkg in CYGWIN environment.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2503 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoAdd target.txt file for building UnixPkg in CYGWIN environment.
klu2 [Fri, 23 Mar 2007 05:52:34 +0000 (05:52 +0000)]
Add target.txt file for building UnixPkg in CYGWIN environment.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2502 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoAdd return EFI_INVALID_PARAMETER if pointer type parameter for UEFI and Tiano Decompr...
qwang12 [Thu, 22 Mar 2007 10:36:04 +0000 (10:36 +0000)]
Add return EFI_INVALID_PARAMETER if pointer type parameter for UEFI and Tiano Decompress protocol function is NULL. The check is necessary. The protocols is built based on library instance of the Decompress Library. The Library class in MDE library spec 0.60e only define to do ASSERT for NULL pointer input.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2501 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoNeed no zero pool for improving performance.
klu2 [Thu, 22 Mar 2007 09:34:49 +0000 (09:34 +0000)]
Need no zero pool for improving performance.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2500 6f19259b-4bc3-4df7-8a09-765794883524

16 years ago1. Removed AsmSwitchStackAndBackingStore from BaseLib.h
vanjeff [Thu, 22 Mar 2007 03:03:32 +0000 (03:03 +0000)]
1. Removed AsmSwitchStackAndBackingStore from BaseLib.h
2. Modified SwitchStack definition update to MWG 0.60e.
3. Added BaseLib/Ipf/InternalSwitchStack.c and removed BaseLib/Ipf/Non-existing.c
4. Updated any references of AsmSwitchStackAndBackingStore to SwichStack on IPF.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2499 6f19259b-4bc3-4df7-8a09-765794883524

16 years agofix build broken issue
klu2 [Wed, 21 Mar 2007 07:48:03 +0000 (07:48 +0000)]
fix build broken issue

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2498 6f19259b-4bc3-4df7-8a09-765794883524

16 years agofix the build broken issue
klu2 [Wed, 21 Mar 2007 07:35:53 +0000 (07:35 +0000)]
fix the build broken issue

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2497 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoFix build broken issue.
klu2 [Wed, 21 Mar 2007 07:34:49 +0000 (07:34 +0000)]
Fix build broken issue.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2496 6f19259b-4bc3-4df7-8a09-765794883524

16 years ago1. Removed #ifdef EDK_RELEASE_VERSION from all c files for all modules
vanjeff [Wed, 21 Mar 2007 01:27:01 +0000 (01:27 +0000)]
1. Removed #ifdef EDK_RELEASE_VERSION from all c files for all modules
2. Removed #ifdef EFI_SPECIFICATION_VERSION from all c files for all modules
3. Added comments for file VariableWorker.c

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2495 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoChange the TPL lock level to EFI_TPL_NOTIFY. Variable Service is called in ResetSyste...
qwang12 [Tue, 20 Mar 2007 10:04:54 +0000 (10:04 +0000)]
Change the TPL lock level to EFI_TPL_NOTIFY. Variable Service is called in ResetSystem runtime service. As there is no restriction stated in UEFI spec about TPL restriction for ResetSystem, so SCT does test it under NOTIFY level. This fix can be temperary. We may revert it back after discussion with Architects..

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2492 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoThread work load assignment change.
jlin16 [Tue, 20 Mar 2007 09:45:50 +0000 (09:45 +0000)]
Thread work load assignment change.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2491 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoRemoved #ifdef SNP_DEBUG and used debug lib to output information.
vanjeff [Tue, 20 Mar 2007 06:59:54 +0000 (06:59 +0000)]
Removed #ifdef SNP_DEBUG and used debug lib to output information.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2490 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoCreate more threads to synchronize pcd data for FrameworkModules in a platform.
jlin16 [Tue, 20 Mar 2007 06:02:06 +0000 (06:02 +0000)]
Create more threads to synchronize pcd data for FrameworkModules in a platform.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2489 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoUtilize multi-thread support of JAVA to improve UI response time of opening Framework...
jlin16 [Tue, 20 Mar 2007 03:02:13 +0000 (03:02 +0000)]
Utilize multi-thread support of JAVA to improve UI response time of opening FrameworkModules in a platform.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2488 6f19259b-4bc3-4df7-8a09-765794883524

16 years ago1. Removed #ifdef SNP_DEBUG and used debug lib to output information
vanjeff [Tue, 20 Mar 2007 02:44:09 +0000 (02:44 +0000)]
1. Removed #ifdef SNP_DEBUG and used debug lib to output information
2. Rename PcdPlatformNoCsmSupport to PcdPlatformCsmSupport.
3  Removed #ifdef EFI_NO_CSM and used PcdPlatformCsmSupport.
4. Removed #ifdef ALIGNMENT from C Variable.c and added 2 files Variable/Pei/Ipf/VariableWorker.c and Variable/Pei/VariableWorker.c

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2487 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoChange the EfiAquireLock with RaiseTPL as the call to Boot Service UnloadImage can...
qwang12 [Mon, 19 Mar 2007 09:05:41 +0000 (09:05 +0000)]
Change the EfiAquireLock with RaiseTPL as the call to Boot Service UnloadImage can be nested in another call to UnloadImage. So RaiseTPL is proper (EfiAcquireLock will ASSERT when these this API are nested in the call chain) in this situation to server the sychronization purposes.

The same change has been done to Boot Service Exit with the same reason applied.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2486 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoCleanup the msa for PeiVariable.
klu2 [Fri, 16 Mar 2007 09:31:08 +0000 (09:31 +0000)]
Cleanup the msa for PeiVariable.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2485 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoRollback the work-around fix of FAT detection since the root cause is issue in partit...
qhuang8 [Fri, 16 Mar 2007 09:25:12 +0000 (09:25 +0000)]
Rollback the work-around fix of FAT detection since the root cause is issue in partition driver.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2484 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoFix a critical bug: When reading block succeeds but detecting MBR fails, it should...
qhuang8 [Fri, 16 Mar 2007 09:24:10 +0000 (09:24 +0000)]
Fix a critical bug: When reading block succeeds but detecting MBR fails, it should return error code instead of EFI_SUCCESS.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2483 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoFix the issue that the variable Unicode string may be not aligned on 16-bit boundary...
klu2 [Fri, 16 Mar 2007 09:12:20 +0000 (09:12 +0000)]
Fix the issue that the variable Unicode string may be not aligned on 16-bit boundary in flash (it dependent on ALIGNMENT macro in EdkModulePkg\Universal\Variable\Pei\x64\VarMachine.h). The unalignment Unicode string will lead assert of StrCmp, StrCopy, StrLen function in Mde library.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2482 6f19259b-4bc3-4df7-8a09-765794883524

16 years ago1. Added PcdNtEmulator and Removed MACRO EFI_NT_EMULATOR
vanjeff [Fri, 16 Mar 2007 05:36:52 +0000 (05:36 +0000)]
1. Added PcdNtEmulator and Removed MACRO EFI_NT_EMULATOR
2. Updated *.fpd of all Package.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2481 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoPerfect the msa of the following modules, DiskIo, Partition, English and Ebc.
lgao4 [Fri, 16 Mar 2007 02:33:49 +0000 (02:33 +0000)]
Perfect the msa of the following modules, DiskIo, Partition, English and Ebc.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2480 6f19259b-4bc3-4df7-8a09-765794883524

16 years agofixed a build error with Intel IPF compiler
vprabhal [Fri, 16 Mar 2007 00:30:52 +0000 (00:30 +0000)]
fixed a build error with Intel IPF compiler

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2479 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoFix the issue of FAT detection in previous check-in (Based on source code SVN revisio...
qhuang8 [Thu, 15 Mar 2007 11:06:40 +0000 (11:06 +0000)]
Fix the issue of FAT detection in previous check-in (Based on source code SVN revision 18)

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2478 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoFix the issue that HiiGetForms does not return correct BufferLength
klu2 [Thu, 15 Mar 2007 07:08:48 +0000 (07:08 +0000)]
Fix the issue that HiiGetForms does not return correct BufferLength

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2474 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoFix the issue of Wide char help strings cannot break into multiple lines correctly
klu2 [Thu, 15 Mar 2007 06:30:33 +0000 (06:30 +0000)]
Fix the issue of Wide char help strings cannot break into multiple lines correctly

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2473 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoFix the TPL issue
qhuang8 [Thu, 15 Mar 2007 05:58:17 +0000 (05:58 +0000)]
Fix the TPL issue

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2472 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoFixed EDKT538; Removed the some code generation for UEFI_APPLICATION type of module...
jwang36 [Thu, 15 Mar 2007 02:47:24 +0000 (02:47 +0000)]
Fixed EDKT538; Removed the some code generation for UEFI_APPLICATION type of module. Refer to EDKT538 for details.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2471 6f19259b-4bc3-4df7-8a09-765794883524

16 years ago1. Remove #ifdef _MSC_EXTENSION_ from all source files
vanjeff [Thu, 15 Mar 2007 02:33:16 +0000 (02:33 +0000)]
1. Remove #ifdef _MSC_EXTENSION_ from all source files
2. Remove #ifdef _GCC_ from all resource files
3. Remove #if 0 from all resource files
4. Remove #ifdef MDE_CPU_IPF and #ifdef MDE_CPU_EBC
5. Remove #progam from Decode.c
6. Remove #ifdef TIANO_EXTENSION_FLAG from source files
7. Remove #ifdef SUPPORT_IPV6, since code base doesn't support IPV6 at all.
8. Remove #ifdef SpecialNowaitVersion from pxe_bc_mtftp.c, since it's only used for test.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2470 6f19259b-4bc3-4df7-8a09-765794883524

16 years agochanged the guid assignment from constant array to hi and low UINT64s (Intel compiler...
vprabhal [Wed, 14 Mar 2007 23:45:03 +0000 (23:45 +0000)]
changed the guid assignment from constant array to hi and low UINT64s (Intel compiler was using a global variable to assign an array which is not OK at run time)

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2469 6f19259b-4bc3-4df7-8a09-765794883524

16 years agochanged the guid assignment from constant array to hi and low UINT64s (Intel compiler...
vprabhal [Wed, 14 Mar 2007 23:44:44 +0000 (23:44 +0000)]
changed the guid assignment from constant array to hi and low UINT64s (Intel compiler was using a global variable to assign an array which is not OK at run time)

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2468 6f19259b-4bc3-4df7-8a09-765794883524

16 years agochanged the guid assignment from constant array to hi and low UINT64s (Intel compiler...
vprabhal [Wed, 14 Mar 2007 23:43:34 +0000 (23:43 +0000)]
changed the guid assignment from constant array to hi and low UINT64s (Intel compiler was using a global variable to assign an array which is not OK at run time)

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2467 6f19259b-4bc3-4df7-8a09-765794883524

16 years agothe ipf compiler needs a switch to not use FP registers higher than 0-31 for both...
vprabhal [Wed, 14 Mar 2007 23:17:47 +0000 (23:17 +0000)]
the ipf compiler needs a switch to not use FP registers higher than 0-31 for both Intel and MSFT compilers.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2466 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoredefined the guids as _hi and _lo to deal with intel compiler's method of assigning...
vprabhal [Wed, 14 Mar 2007 20:36:54 +0000 (20:36 +0000)]
redefined the guids as _hi and _lo to deal with intel compiler's method of assigning array constants using global variables

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2465 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoAdd check whether input parameter is NULL before call freepool API defined in MDE.
lgao4 [Wed, 14 Mar 2007 07:42:20 +0000 (07:42 +0000)]
Add check whether input parameter is NULL before call freepool API defined in MDE.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2461 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoMake sure RestoreTPL paired with RaiseTPL
qwang12 [Wed, 14 Mar 2007 02:23:16 +0000 (02:23 +0000)]
Make sure RestoreTPL paired with RaiseTPL

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2460 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoRemove the BugBug in package header file for DXE_CORE and DXE_DRIVER which force...
qwang12 [Wed, 14 Mar 2007 02:15:36 +0000 (02:15 +0000)]
Remove the BugBug in package header file for DXE_CORE and DXE_DRIVER which force every driver to include MdePkg/Include/Library/PeCoffLib.h.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2459 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoRemove the BugBug in package header file for DXE_CORE and DXE_DRIVER which force...
qwang12 [Wed, 14 Mar 2007 02:14:28 +0000 (02:14 +0000)]
Remove the BugBug in package header file for DXE_CORE and DXE_DRIVER which force every driver to include MdePkg/Include/Library/PeCoffLib.h.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2458 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoRemove the BugBug in package header file for DXE_CORE and DXE_DRIVER which force...
qwang12 [Wed, 14 Mar 2007 02:12:16 +0000 (02:12 +0000)]
Remove the BugBug in package header file for DXE_CORE and DXE_DRIVER which force every driver to include MdePkg/Include/Library/PeCoffLib.h.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2457 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoClean up the gBS sevice (CopyMem, SetMem, AllocatePool, FreePool) with the correspond...
lgao4 [Wed, 14 Mar 2007 02:02:43 +0000 (02:02 +0000)]
Clean up the gBS sevice (CopyMem, SetMem, AllocatePool, FreePool) with the corresponding APIs defined in Mde library class for these modules.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2456 6f19259b-4bc3-4df7-8a09-765794883524

16 years agopair RaiseTPL with RestoreTPL
qwang12 [Tue, 13 Mar 2007 07:45:05 +0000 (07:45 +0000)]
pair RaiseTPL with RestoreTPL

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2455 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoSTATIC should be prefixed for internal functions to pass the stringent compiler such...
qwang12 [Tue, 13 Mar 2007 03:33:42 +0000 (03:33 +0000)]
STATIC should be prefixed for internal functions to pass the stringent compiler such as Intel ICC for IPF with /WX /W4 options.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2454 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoAdd a lock to protect the critical region in Service APIs for gEfiBlockIoProtocolGuid...
qwang12 [Mon, 12 Mar 2007 09:58:28 +0000 (09:58 +0000)]
Add a lock to protect the critical region in Service APIs for gEfiBlockIoProtocolGuid and gEfiSimpleFileSystemProtocolGuid Protocol to prevent re-entrance of the same API from from different TPL level. In UEFI 2.1 spec, it is state that the service API for this Protocol is callable at EFI_TPL_CALLBACK level.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2450 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoAdd a lock to protect the critical region in Service APIs for gEfiBlockIoProtocolGuid...
qwang12 [Mon, 12 Mar 2007 09:48:53 +0000 (09:48 +0000)]
Add a lock to protect the critical region in Service APIs for gEfiBlockIoProtocolGuid and gEfiSimpleFileSystemProtocolGuid Protocol to prevent re-entrance of the same API from from different TPL level. In UEFI 2.1 spec, it is state that the service API for this Protocol is callable at EFI_TPL_CALLBACK level.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2449 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoResolve the build break caused by changes to DxeCore.
qwang12 [Mon, 12 Mar 2007 09:46:29 +0000 (09:46 +0000)]
Resolve the build break caused by changes to DxeCore.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2448 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoAdd a lock to protect the critical region in Service APIs for gEfiSimpleTextOutProtoc...
qwang12 [Mon, 12 Mar 2007 09:42:34 +0000 (09:42 +0000)]
Add a lock to protect the critical region in Service APIs for gEfiSimpleTextOutProtocolGuid Protocol to prevent re-entrance of the same API from from different TPL level. In UEFI 2.1 spec, it is state that the service API for this Protocol is callable at EFI_TPL_NOTIFY level.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2447 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoResolve the build break caused by changes to DxeCore.
qwang12 [Mon, 12 Mar 2007 09:30:08 +0000 (09:30 +0000)]
Resolve the build break caused by changes to DxeCore.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2446 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoResolve the build break caused by changes to DxeCore.
qwang12 [Mon, 12 Mar 2007 09:24:41 +0000 (09:24 +0000)]
Resolve the build break caused by changes to DxeCore.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2445 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoAdd a lock to protect the critical region in Service APIs for UEFI Runtime Variable...
qwang12 [Mon, 12 Mar 2007 07:56:16 +0000 (07:56 +0000)]
Add a lock to protect the critical region in Service APIs for UEFI Runtime Variable Service to prevent re-entrance of the variable service API from from different allowable TPL level. In UEFI 2.x and EFI 1.10 spec, EFI_TPL_CALLBACK is the allowable TPL level for Variable services.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2444 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoAdd a lock to protect the critical region in Service APIs for gEfiBlockIoProtocolGuid...
qwang12 [Mon, 12 Mar 2007 07:47:33 +0000 (07:47 +0000)]
Add a lock to protect the critical region in Service APIs for gEfiBlockIoProtocolGuid Protocol to prevent re-entrance of the same API from from different TPL level.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2443 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoFixed EDKT532 and EDKT533
jwang36 [Mon, 12 Mar 2007 06:57:33 +0000 (06:57 +0000)]
Fixed EDKT532 and EDKT533
- Support GUID CName in <Events>, <SystemTables>, <DataHubs>, <HiiPackages>, <Hobs> in msa file
- Support auto-insert related header file of DebugLib and UefiBootServicesTableLib according to module type

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2440 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoAdd a lock to protect the critical region in UEFI Boot Service API: Exit() and Unload...
qwang12 [Mon, 12 Mar 2007 06:26:10 +0000 (06:26 +0000)]
Add a lock to protect the critical region in UEFI Boot Service API: Exit() and UnloadImage from re-entrance from different TPL level.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2437 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoCommented out the pre-compile option of IPF ARCH for ICC tool chain. There's an issue...
jwang36 [Sat, 10 Mar 2007 14:23:39 +0000 (14:23 +0000)]
Commented out the pre-compile option of IPF ARCH for ICC tool chain. There's an issue in it which will cause incremental build failure. And it seems that there's not much improvement on build performance of Intel compiler. Comment out the pre-compile functionality for further investigation.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2436 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoPerfect the msa of the following console, datahub and DebugPort modules.
lgao4 [Fri, 9 Mar 2007 12:35:51 +0000 (12:35 +0000)]
Perfect the msa of the following console, datahub and DebugPort modules.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2435 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoThe latest IPF boot failure is found and is not caused by this fixing, so check-in...
klu2 [Fri, 9 Mar 2007 09:04:53 +0000 (09:04 +0000)]
The latest IPF boot failure is found and is not caused by this fixing, so check-in the fixing again.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2434 6f19259b-4bc3-4df7-8a09-765794883524

16 years ago1) Replace BdsLibGetBootMode with GetBootMode from HobLib of MdePkg.
qwang12 [Fri, 9 Mar 2007 07:25:58 +0000 (07:25 +0000)]
1) Replace BdsLibGetBootMode with GetBootMode from HobLib of MdePkg.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2433 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoUpdate the comments.
qwang12 [Fri, 9 Mar 2007 01:12:51 +0000 (01:12 +0000)]
Update the comments.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2432 6f19259b-4bc3-4df7-8a09-765794883524