Commit Graph

2225 Commits

Author SHA1 Message Date
qhuang8 02dab42847 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
2007-03-29 07:48:48 +00:00
qhuang8 46dd23b81e 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
2007-03-29 07:45:24 +00:00
vanjeff c8dd259d61 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
2007-03-29 06:58:38 +00:00
xgu3 cb360b2656 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
2007-03-29 06:04:36 +00:00
xgu3 4b2e068430 [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
2007-03-29 03:42:03 +00:00
vanjeff 0f6b6f755b 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
2007-03-28 03:28:13 +00:00
qhuang8 1f74094161 Correct some wrong usage types
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2509 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-27 09:20:55 +00:00
klu2 203cff9245 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
2007-03-27 05:18:34 +00:00
jwang36 253d2919cd 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
2007-03-27 03:05:30 +00:00
jwang36 a5dd05b513 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
2007-03-26 09:30:32 +00:00
vanjeff c0b162a2c0 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
2007-03-26 07:00:30 +00:00
klu2 3b660b0c8b 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
2007-03-26 02:39:18 +00:00
klu2 3841e92053 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
2007-03-23 05:54:23 +00:00
klu2 8d58174fc6 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
2007-03-23 05:52:34 +00:00
qwang12 e2180ee88c 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
2007-03-22 10:36:04 +00:00
klu2 c91c4f470e 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
2007-03-22 09:34:49 +00:00
vanjeff cb41bea732 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
2007-03-22 03:03:32 +00:00
klu2 ebc5b9557e fix build broken issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2498 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-21 07:48:03 +00:00
klu2 54be95a116 fix the build broken issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2497 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-21 07:35:53 +00:00
klu2 affd605871 Fix build broken issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2496 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-21 07:34:49 +00:00
vanjeff ce8bd86e8f 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
2007-03-21 01:27:01 +00:00
qwang12 6dcb94c713 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
2007-03-20 10:04:54 +00:00
jlin16 21801bb353 Thread work load assignment change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2491 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-20 09:45:50 +00:00
vanjeff 9cc655d5a9 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
2007-03-20 06:59:54 +00:00
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