mirror_edk2.git
14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 years agoRemoved EFI_SIZE_REDUCTION_APPLIED and SIZE_REDUCTION_ISA_COMBINED because one PCD...
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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 years agoEnable the building option "/Os" for IPF tip Intel Compiler building.
zliu3 [Wed, 14 Feb 2007 14:13:10 +0000 (14:13 +0000)]
Enable the building option "/Os" for IPF tip Intel Compiler building.

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

14 years agoMake DxeIpl loop find the required section type in peiprocessfile functions.
lgao4 [Wed, 14 Feb 2007 08:30:53 +0000 (08:30 +0000)]
Make DxeIpl loop find the required section type in peiprocessfile functions.

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

14 years agoAdd /W4 /WX for ICC tool chain of IPF in tools_def.template.
xli24 [Wed, 14 Feb 2007 07:22:02 +0000 (07:22 +0000)]
Add /W4 /WX for ICC tool chain of IPF in tools_def.template.

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

14 years agoTemporarily disable /WX for HelloWorld module, for there is a bug in tool, which...
xli24 [Wed, 14 Feb 2007 07:19:58 +0000 (07:19 +0000)]
Temporarily disable /WX for HelloWorld module, for there is a bug in tool, which causes inconsistency between UefiApplicationLib and AutoGen.c leading to warning of ICC compiler.

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

14 years agoAdded Print, ErrorPrint, AsciiPrint, AsciiErrorPrint() to the UEFI Library.
qwang12 [Wed, 14 Feb 2007 06:35:30 +0000 (06:35 +0000)]
Added Print, ErrorPrint, AsciiPrint, AsciiErrorPrint() to the UEFI Library.

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

14 years agoadd check for empty value of definitions.
jlin16 [Wed, 14 Feb 2007 03:08:45 +0000 (03:08 +0000)]
add check for empty value of definitions.

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

14 years agoClean up Lib MSAs for EdkModulePkg
qhuang8 [Wed, 14 Feb 2007 01:46:10 +0000 (01:46 +0000)]
Clean up Lib MSAs for EdkModulePkg
1. Remove unnecessary library class
2. Remove unreferenced GUID

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

14 years agoClean up MSA for MDE Libs:
qhuang8 [Tue, 13 Feb 2007 12:18:12 +0000 (12:18 +0000)]
Clean up MSA for MDE Libs:
1. Remove unreferenced Guid of gEfiStatusCodeDataTypeAssertGuid in PeiReportStatusCodeLib & DxeReportStatusCodeLib.msa
2. Remove dependency of BaseLib for SmmEntryPointerLib & PeiServicesTablePointerLibKr1
3. Add accurate arch support for SecPeiDxeTimerLibCpu & correct PcdFSBClock to "DYNAMIC"
4. Add dependency of gEfiDevicePathProtocolGuid for DevicePathLibDevicePathProtocol
5. Remove dependency of BaseLib & UefiRuntimeServicesTablePointerLib for UefiDriverEntryPointLib

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

14 years agoRemove the wrong dependency on PeimEntryPointLib
qhuang8 [Tue, 13 Feb 2007 11:32:15 +0000 (11:32 +0000)]
Remove the wrong dependency on PeimEntryPointLib

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

14 years ago1. Add two interfaces in PeCoffGetEntryPointLib.h
qhuang8 [Tue, 13 Feb 2007 11:12:05 +0000 (11:12 +0000)]
1. Add two interfaces in PeCoffGetEntryPointLib.h
2. Fix the description of EfiTestChildHandle & EfiTestManagedDevice
3. Clean up BasePciLbPciCf8 & BasePciLibPciExpress to remove the dependency on DebugLib

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

14 years agoAdd alias EFI_D_XXX to provide backward compatibilities.
qhuang8 [Tue, 13 Feb 2007 11:09:29 +0000 (11:09 +0000)]
Add alias EFI_D_XXX to provide backward compatibilities.

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

14 years agoDrop the support of DXE_RUNTIME_DRIVER since all combo MDE libraries are removed.
qhuang8 [Tue, 13 Feb 2007 11:07:47 +0000 (11:07 +0000)]
Drop the support of DXE_RUNTIME_DRIVER since all combo MDE libraries are removed.

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

14 years agoPcdLib is only referenced by IPF arch.
qhuang8 [Tue, 13 Feb 2007 11:05:08 +0000 (11:05 +0000)]
PcdLib is only referenced by IPF arch.

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

14 years agoBaseLib is only used by IA32, X64 & IPF
qhuang8 [Tue, 13 Feb 2007 11:04:24 +0000 (11:04 +0000)]
BaseLib is only used by IA32, X64 & IPF

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

14 years agoClean up MSA files
qhuang8 [Tue, 13 Feb 2007 11:01:18 +0000 (11:01 +0000)]
Clean up MSA files
Remove unreferenced PCDs & library instances.

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

14 years agoRemove the reference of UnixOemStatusHookLib
qhuang8 [Tue, 13 Feb 2007 10:59:03 +0000 (10:59 +0000)]
Remove the reference of UnixOemStatusHookLib

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

14 years agoSplit UnixOemHookStatusCodeLib to PEI/DXE instances
qhuang8 [Tue, 13 Feb 2007 10:51:57 +0000 (10:51 +0000)]
Split UnixOemHookStatusCodeLib to PEI/DXE instances

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

14 years agoRemove the combo library
qhuang8 [Tue, 13 Feb 2007 05:01:06 +0000 (05:01 +0000)]
Remove the combo library

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

14 years agoSplit Nt32OemHookStatusCodeLib to PEI/DXE instances
qhuang8 [Tue, 13 Feb 2007 05:00:26 +0000 (05:00 +0000)]
Split Nt32OemHookStatusCodeLib to PEI/DXE instances

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

14 years agostart timer at initialization
tgingold [Tue, 13 Feb 2007 02:16:12 +0000 (02:16 +0000)]
start timer at initialization

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

14 years agouse nanosleep instead of usleep, ugaX11 calls msSleep instead of usleep
tgingold [Tue, 13 Feb 2007 02:15:19 +0000 (02:15 +0000)]
use nanosleep instead of usleep, ugaX11 calls msSleep instead of usleep

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

14 years agoUpdate all String related functions in BaseLib for this change introduced in Mde...
qwang12 [Tue, 13 Feb 2007 01:47:44 +0000 (01:47 +0000)]
Update all String related functions in BaseLib for this change introduced in Mde Library Spec 0.60e:
"Updated all functions that take pointers to Unicode strings as parameters to ASSERT() if the pointer is not aligned in a 16-bit boundary."

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

14 years agoEdkGenericBdsLib and Logo removed, use EdkGenericPlatformBdsLib
tgingold [Tue, 13 Feb 2007 00:05:13 +0000 (00:05 +0000)]
EdkGenericBdsLib and Logo removed, use EdkGenericPlatformBdsLib

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

14 years agonewline added at end
tgingold [Tue, 13 Feb 2007 00:02:26 +0000 (00:02 +0000)]
newline added at end

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

14 years agoLogo and EdkgenericBdsLib removed
tgingold [Tue, 13 Feb 2007 00:00:56 +0000 (00:00 +0000)]
Logo and EdkgenericBdsLib removed

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

14 years agoupdated to use new packages from EdkModule
tgingold [Tue, 13 Feb 2007 00:00:22 +0000 (00:00 +0000)]
updated to use new packages from EdkModule

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

14 years agoUpdated for added package
tgingold [Mon, 12 Feb 2007 23:41:26 +0000 (23:41 +0000)]
Updated for added package

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

14 years agoLogo added
tgingold [Mon, 12 Feb 2007 23:41:05 +0000 (23:41 +0000)]
Logo added

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

14 years agoEdkGenericPlatformBdsLib added
tgingold [Mon, 12 Feb 2007 23:40:29 +0000 (23:40 +0000)]
EdkGenericPlatformBdsLib added

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

14 years agoEdkGenericBdsLib added
tgingold [Mon, 12 Feb 2007 23:39:38 +0000 (23:39 +0000)]
EdkGenericBdsLib added

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

14 years agoUpdate MDE and EdkModule packages for ICC build with /W4 /WX /Ox switches, for some...
xli24 [Mon, 12 Feb 2007 08:12:05 +0000 (08:12 +0000)]
Update MDE and EdkModule packages for ICC build with /W4 /WX /Ox switches, for some latest modifications break it.

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

14 years agofix gcc warnings (missing braces around initializer)
tgingold [Mon, 12 Feb 2007 07:21:12 +0000 (07:21 +0000)]
fix gcc warnings (missing braces around initializer)

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

14 years agoFix an issue in page allocation.
xli24 [Mon, 12 Feb 2007 03:52:20 +0000 (03:52 +0000)]
Fix an issue in page allocation.

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

14 years ago1) Added BIT0, BIT1, …, BIT63 to the Base Defines
qwang12 [Mon, 12 Feb 2007 02:53:23 +0000 (02:53 +0000)]
1) Added BIT0, BIT1, …, BIT63 to the Base Defines
2) Added MIN() and MAX() macros to the Base Macros
3) Added StrStr(), StrDecimalToUnitn(), StrDecimalToUint64(), StrHexToUintn(), StrHexToUintn64(), UnicodeToAscii(), AsciiStrStr(), AsciiStrDecimalToUnitn(), AsciiStrDecimalToUint64(), AsciiStrHexToUintn(), AsciiStrHexToUintn64(), and AsciiToUnicode() to the Base Library String Functions
4) Added the Base Library Checksum Functions which include CalculateSum8(), CaclculateCheckSum8(), CalculateSum16(), CalculateChecksum16(), CalculateSum32(), CalculateCheckSum32(), CalculateSum64(), CalculateChecksum64().

5) Added MMIO Buffer functions to the I/O Library including MmioReadBuffer8(), MmioReadBuffer16(), MmioReadBuffer32(), MmioReadBuffer64(), MmioWriteBuffer8(), MmioWriteBuffer16(), MmioWriteBuffer32(), MmioWriteBuffer64().

6) Changed the parameter name from SizeOfValue to SizeOfBuffer in PcdSetPtr(), PcdSetPtrEx(), PatchPcdSetPtr(), LibPcdSetPtr(), LibPcdSetPtrEx(), LibPatchPcdSetPtr()

7) Added RADIX_HEX flag to the Print Library to support the conversion of values to hexadecimal strings in UnicodeValueToString() and AsciiValueToString()

8) Added EfiGetCurrentTpl() UEFI Library.

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

14 years agofix a typo in a comment
tgingold [Sun, 11 Feb 2007 06:37:26 +0000 (06:37 +0000)]
fix a typo in a comment

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

14 years agofix a typo in a comment
tgingold [Sun, 11 Feb 2007 06:37:03 +0000 (06:37 +0000)]
fix a typo in a comment

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