15 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

15 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

15 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

15 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

15 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

15 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

16 years ago1. Sync definition of EFI_DEBUG_IMAGE_INFO with UEFI spec
qhuang8 [Thu, 8 Mar 2007 07:04:05 +0000 (07:04 +0000)]
1. Sync definition of EFI_DEBUG_IMAGE_INFO with UEFI spec
2. Make performance data for End of BDS is not recorded in Boot Manager Boot

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

16 years ago1. Fix EDKT528: Framework wizard should not force user to specify a GuidCName for...
hche10x [Thu, 8 Mar 2007 05:48:32 +0000 (05:48 +0000)]
1. Fix EDKT528: Framework wizard should not force user to specify a GuidCName for all HOB types

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

16 years ago- Fixed PVCS tracker 484 by merging the GenDll and GenEfi macro in BuildMacro.xml...
jwang36 [Thu, 8 Mar 2007 01:44:17 +0000 (01:44 +0000)]
- Fixed PVCS tracker 484 by merging the GenDll and GenEfi macro in BuildMacro.xml to GenEfi, moving out GenDll and GenEfi macro calling inside macro EFI_SECTION_TE and EFI_SECTION_PE32, and generating the calling of GenEfi macro according to the module type (binary or library).
- Cleaned the coding style of AutoGen.java

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

16 years agoFix the issue of Linux cannot boot and reset on IPF.
xli24 [Wed, 7 Mar 2007 09:34:54 +0000 (09:34 +0000)]
Fix the issue of Linux cannot boot and reset on IPF.

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

16 years agoUpdate binary shell application with UEFI version and release version. These binary...
lgao4 [Wed, 7 Mar 2007 07:44:23 +0000 (07:44 +0000)]
Update binary shell application with UEFI version and release version. These binary shell applications are from R8 INTEG_20070306 tip.

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

16 years agoDo not use return value of REPORT_STATUS_CODE_WITH_DEVICE_PATH to override the curren...
klu2 [Tue, 6 Mar 2007 05:27:05 +0000 (05:27 +0000)]
Do not use return value of REPORT_STATUS_CODE_WITH_DEVICE_PATH to override the current function's return status.

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

16 years agoFixed EDKT527 by adding a check on the file size in case of zero byte of byte
jwang36 [Tue, 6 Mar 2007 03:28:01 +0000 (03:28 +0000)]
Fixed EDKT527 by adding a check on the file size in case of zero byte of byte

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

16 years ago1. Change the protocol usage type in UefiDriverModelLib
qhuang8 [Mon, 5 Mar 2007 07:28:22 +0000 (07:28 +0000)]
1. Change the protocol usage type in UefiDriverModelLib
2. Remove a redundant Guid entry in spd

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

16 years agoAssign IDE_BLK_IO_DEV.UdmaMode when detecting the disk hardware support UDMA mode.
klu2 [Mon, 5 Mar 2007 06:42:29 +0000 (06:42 +0000)]
Assign IDE_BLK_IO_DEV.UdmaMode when detecting the disk hardware support UDMA mode.

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

16 years agoCorrect APPLICATION_EFI ffs key file type from EFI_FV_FILETYPE_DRIVER to EFI_FV_FILET...
lgao4 [Mon, 5 Mar 2007 06:25:35 +0000 (06:25 +0000)]
Correct APPLICATION_EFI ffs key file type from EFI_FV_FILETYPE_DRIVER to EFI_FV_FILETYPE_APPLICATION, and remove depex section from application ffs layout.

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

vanjeff [Mon, 5 Mar 2007 03:41:22 +0000 (03:41 +0000)]
Removed EFI_SIZE_REDUCTION_APPLIED and SIZE_REDUCTION_ISA_COMBINED because one PCD PcdComponentNameDisable has been introduced.

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

16 years agoRollback wrong commit in r2414
klu2 [Mon, 5 Mar 2007 02:08:42 +0000 (02:08 +0000)]
Rollback wrong commit in r2414

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

16 years agoFix case-sensitive build issue for filename in Linux
klu2 [Mon, 5 Mar 2007 02:05:22 +0000 (02:05 +0000)]
Fix case-sensitive build issue for filename in Linux

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

16 years agoAdd blank line at end of file to pass GCC build.
klu2 [Mon, 5 Mar 2007 01:50:40 +0000 (01:50 +0000)]
Add blank line at end of file to pass GCC build.

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

16 years agoIn IdeBus driver block I/O read/write interface, it will always try to use UDMA mode...
klu2 [Fri, 2 Mar 2007 08:21:43 +0000 (08:21 +0000)]
In IdeBus driver block I/O read/write interface, it will always try to use UDMA mode first, if fails, then try to use PIO mode.
This may cause side effects if disk does not support UDMA mode and also let bad performance.
The modification is to record supported mode and only try supported mode when do disk read/write.
Also this patch combines the code for read/readex/write/writex to reduce code size.

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

16 years ago1.replace macros EFI32 with MDE_CPU_IA32
vanjeff [Fri, 2 Mar 2007 05:38:05 +0000 (05:38 +0000)]
1.replace macros EFI32 with MDE_CPU_IA32
2.replace macros EFIX64 with MDE_CPU_X64
3.replace macros EFI64 with MDE_CPU_IPF

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

16 years ago1. Fix an issue about the calculation of GlyphBufferSize
qhuang8 [Wed, 28 Feb 2007 07:41:28 +0000 (07:41 +0000)]
1. Fix an issue about the calculation of GlyphBufferSize
2. Fix a bug in handling the overlapped case by reverse-copying the destine region & source region
3. Fix an issue that the leading spaces could not be displayed in highlight mode

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

16 years agoAdd range checking of partition for MBR.
xli24 [Wed, 28 Feb 2007 06:22:43 +0000 (06:22 +0000)]
Add range checking of partition for MBR.

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

16 years ago1) add && MDE_CPU_EBC guard for MSC specific pragma in Decode.c as EBC C compiler...
qwang12 [Wed, 28 Feb 2007 03:48:13 +0000 (03:48 +0000)]
1) add && MDE_CPU_EBC guard for MSC specific pragma in Decode.c as EBC C compiler does not recongnize the pragma.

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

16 years agoThe token for PERF_END macro is CHAR8 but not CHAR16
klu2 [Wed, 28 Feb 2007 03:24:10 +0000 (03:24 +0000)]
The token for PERF_END macro is CHAR8 but not CHAR16

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

16 years agoRemove the unused library instance EdkNullCustomizedDecompressLib.
lgao4 [Tue, 27 Feb 2007 09:25:30 +0000 (09:25 +0000)]
Remove the unused library instance EdkNullCustomizedDecompressLib.

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

16 years agoRemove the unused library instance EdkNullCustomizedDecompressLib.
lgao4 [Tue, 27 Feb 2007 09:25:08 +0000 (09:25 +0000)]
Remove the unused library instance EdkNullCustomizedDecompressLib.

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

16 years agoclean up MSA file and sync FPD file
vanjeff [Tue, 27 Feb 2007 06:39:39 +0000 (06:39 +0000)]
clean up MSA file and sync FPD file

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

16 years agoclean up MSA/SPD files.
vanjeff [Tue, 27 Feb 2007 06:25:05 +0000 (06:25 +0000)]
clean up MSA/SPD files.

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

16 years ago1) add __MSC_EXTENSIONS__ guard for MSC specific pragma in Decode.c
qwang12 [Tue, 27 Feb 2007 03:30:12 +0000 (03:30 +0000)]
1) add __MSC_EXTENSIONS__ guard for MSC specific pragma in Decode.c
2) remove a dangling pragma in E100b.c

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

16 years agoClean up MSA file of the checked in modules which include:
qwang12 [Mon, 26 Feb 2007 07:00:31 +0000 (07:00 +0000)]
Clean up MSA file of the checked in modules which include:
1) remove unused library class
2) remove unreferenced GUIDs

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

16 years agoAdd PcdUefiLibMaxPrintBufferSize for all modules who use UefLib library instance.
klu2 [Mon, 26 Feb 2007 03:19:32 +0000 (03:19 +0000)]
Add PcdUefiLibMaxPrintBufferSize for all modules who use UefLib library instance.

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

16 years agoAdd the definition of IsaIoProtocol.
qhuang8 [Sun, 25 Feb 2007 09:44:14 +0000 (09:44 +0000)]
Add the definition of IsaIoProtocol.

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

16 years agoclean up msa files in EdkModulePkg, removed unnecessary library definitions and PCDs.
vanjeff [Thu, 15 Feb 2007 08:14:57 +0000 (08:14 +0000)]
clean up msa files in EdkModulePkg, removed unnecessary library definitions and PCDs.

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

16 years agoRemove the unreferenced local variable.
qwang12 [Thu, 15 Feb 2007 03:32:38 +0000 (03:32 +0000)]
Remove the unreferenced local variable.

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