Commit Graph

2351 Commits

Author SHA1 Message Date
jlin16 231f8bfb92 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
2007-03-20 06:02:06 +00:00
jlin16 55c30c85e0 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
2007-03-20 03:02:13 +00:00
vanjeff 3aaddf9276 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
2007-03-20 02:44:09 +00:00
qwang12 b06af5d71e 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
2007-03-19 09:05:41 +00:00
klu2 4bdeaa6bb4 Cleanup the msa for PeiVariable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2485 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-16 09:31:08 +00:00
qhuang8 3f85e79bb3 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
2007-03-16 09:25:12 +00:00
qhuang8 3c17ed18fa 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
2007-03-16 09:24:10 +00:00
klu2 bb60dd97af 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
2007-03-16 09:12:20 +00:00
vanjeff 7af45bf1f0 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
2007-03-16 05:36:52 +00:00
lgao4 6626ad113e 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
2007-03-16 02:33:49 +00:00
vprabhal 8f6b43f235 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
2007-03-16 00:30:52 +00:00
qhuang8 8daa8ed41b 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
2007-03-15 11:06:40 +00:00
klu2 137749b7ed 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
2007-03-15 07:08:48 +00:00
klu2 f4e8c17bc2 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
2007-03-15 06:30:33 +00:00
qhuang8 2e71184711 Fix the TPL issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2472 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-15 05:58:17 +00:00
jwang36 8c8b94e252 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
2007-03-15 02:47:24 +00:00
vanjeff e5f461a850 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
2007-03-15 02:33:16 +00:00
vprabhal aa156393bf 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
2007-03-14 23:45:03 +00:00
vprabhal e8d4831b19 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
2007-03-14 23:44:44 +00:00
vprabhal fce67685cc 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
2007-03-14 23:43:34 +00:00
vprabhal 80b0426d70 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
2007-03-14 23:17:47 +00:00
vprabhal f7211e3cec 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
2007-03-14 20:36:54 +00:00
lgao4 08aa37e015 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
2007-03-14 07:42:20 +00:00
qwang12 5db2b1e12d Make sure RestoreTPL paired with RaiseTPL
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2460 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-14 02:23:16 +00:00
qwang12 68154a82a8 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
2007-03-14 02:15:36 +00:00
qwang12 675a7b0b3f 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
2007-03-14 02:14:28 +00:00
qwang12 ddc9ec37af 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
2007-03-14 02:12:16 +00:00
lgao4 2c3b5ec562 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
2007-03-14 02:02:43 +00:00
qwang12 9db9711c41 pair RaiseTPL with RestoreTPL
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2455 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-13 07:45:05 +00:00
qwang12 657579afc2 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
2007-03-13 03:33:42 +00:00
qwang12 1a682c8c37 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
2007-03-12 09:58:28 +00:00
qwang12 ac10bddd8e 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
2007-03-12 09:48:53 +00:00
qwang12 ddcbfc1674 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
2007-03-12 09:46:29 +00:00
qwang12 0fe0b10e10 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
2007-03-12 09:42:34 +00:00
qwang12 a2fa23fee1 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
2007-03-12 09:30:08 +00:00
qwang12 6544f5188c 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
2007-03-12 09:24:41 +00:00
qwang12 6ed71dcc32 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
2007-03-12 07:56:16 +00:00
qwang12 c094abe585 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
2007-03-12 07:47:33 +00:00
jwang36 90a98f29c5 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
2007-03-12 06:57:33 +00:00
qwang12 d126eaecb0 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
2007-03-12 06:26:10 +00:00
jwang36 87c40bc89d 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
2007-03-10 14:23:39 +00:00
lgao4 6c18e19ad5 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
2007-03-09 12:35:51 +00:00
klu2 27061085e5 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
2007-03-09 09:04:53 +00:00
qwang12 17fb73c8e1 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
2007-03-09 07:25:58 +00:00
qwang12 42721684d5 Update the comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2432 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-09 01:12:51 +00:00
qhuang8 df557cca2f 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
2007-03-08 07:04:05 +00:00
hche10x 5b396948e7 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
2007-03-08 05:48:32 +00:00
jwang36 a30ae9faea - 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
2007-03-08 01:44:17 +00:00
xli24 64b41a0710 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
2007-03-07 09:34:54 +00:00
lgao4 dba086cc52 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
2007-03-07 07:44:23 +00:00