people/mcb30/edk2.git
13 years agoFix the DEVICE_PATH_MESSAGING_SAS GUID definition according to UEFI 2.1 spec.
xli24 [Wed, 11 Apr 2007 05:57:37 +0000 (05:57 +0000)]
Fix the DEVICE_PATH_MESSAGING_SAS GUID definition according to UEFI 2.1 spec.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2557 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoAllocate memory in DebugSupport beforehand, in order to avoid calling memory allocati...
xli24 [Wed, 11 Apr 2007 03:15:15 +0000 (03:15 +0000)]
Allocate memory in DebugSupport beforehand, in order to avoid calling memory allocation services in high TPL level.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2556 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoMerge the patch provided by Johnson
klu2 [Wed, 11 Apr 2007 03:08:47 +0000 (03:08 +0000)]
Merge the patch provided by Johnson

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2555 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoPerfected MSA files.
vanjeff [Tue, 10 Apr 2007 09:26:43 +0000 (09:26 +0000)]
Perfected MSA files.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2554 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoremoved ICC compile issue.
vanjeff [Tue, 10 Apr 2007 07:10:28 +0000 (07:10 +0000)]
removed ICC compile issue.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2553 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoPerfected MSA files.
vanjeff [Tue, 10 Apr 2007 05:09:57 +0000 (05:09 +0000)]
Perfected MSA files.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2552 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoClean up the following module msa files, they are three networt and two PCD modules.
lgao4 [Mon, 9 Apr 2007 07:37:43 +0000 (07:37 +0000)]
Clean up the following module msa files, they are three networt and two PCD modules.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2551 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoRemove 3 library instances: EdkDxeDebugLibReportStatusCode, EdkUefiDebugLibConOut...
qwang12 [Mon, 9 Apr 2007 03:51:50 +0000 (03:51 +0000)]
Remove 3 library instances: EdkDxeDebugLibReportStatusCode, EdkUefiDebugLibConOut and EdkUefiDebugLibStdErr in EdkModulePkg.

1) EdkUefiDebugLibConOut, EdkUefiDebugLibStdErr should be replaced by respective library instance in MdePkg
2) We will have a replacement implementation for EdkDxeDebugLibReportStatusCode to emulate the EDK I implementation with a gEfiDebugMaskProtocolGuid which allows Developer to Set debug level using SHELL command err.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2550 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoA typo in comments that alignment should be 8 for IPF
klu2 [Mon, 9 Apr 2007 03:39:37 +0000 (03:39 +0000)]
A typo in comments that alignment should be 8 for IPF

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2549 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoChange the alignment of variable from 2 back to 1 for compability of test case.
klu2 [Mon, 9 Apr 2007 03:36:37 +0000 (03:36 +0000)]
Change the alignment of variable from 2 back to 1 for compability of test case.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2548 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoFix an issue that some image tool will generate PE32+ image with PE32 magic. We now...
qhuang8 [Mon, 9 Apr 2007 01:42:09 +0000 (01:42 +0000)]
Fix an issue that some image tool will generate PE32+ image with PE32 magic. We now determine magic based on machine type.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2547 de2fecce-e211-0410-80a6-f3fac2684e05

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

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2546 de2fecce-e211-0410-80a6-f3fac2684e05

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

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2545 de2fecce-e211-0410-80a6-f3fac2684e05

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

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2544 de2fecce-e211-0410-80a6-f3fac2684e05

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

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2543 de2fecce-e211-0410-80a6-f3fac2684e05

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

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2542 de2fecce-e211-0410-80a6-f3fac2684e05

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

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2541 de2fecce-e211-0410-80a6-f3fac2684e05

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

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2540 de2fecce-e211-0410-80a6-f3fac2684e05

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

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2539 de2fecce-e211-0410-80a6-f3fac2684e05

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

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2538 de2fecce-e211-0410-80a6-f3fac2684e05

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

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2537 de2fecce-e211-0410-80a6-f3fac2684e05

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

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2536 de2fecce-e211-0410-80a6-f3fac2684e05

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

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2535 de2fecce-e211-0410-80a6-f3fac2684e05

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

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2534 de2fecce-e211-0410-80a6-f3fac2684e05

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

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2533 de2fecce-e211-0410-80a6-f3fac2684e05

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

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2532 de2fecce-e211-0410-80a6-f3fac2684e05

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

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2531 de2fecce-e211-0410-80a6-f3fac2684e05

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

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2530 de2fecce-e211-0410-80a6-f3fac2684e05

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

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2529 de2fecce-e211-0410-80a6-f3fac2684e05

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

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2528 de2fecce-e211-0410-80a6-f3fac2684e05

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

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2527 de2fecce-e211-0410-80a6-f3fac2684e05

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

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2526 de2fecce-e211-0410-80a6-f3fac2684e05

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

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2525 de2fecce-e211-0410-80a6-f3fac2684e05

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

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2524 de2fecce-e211-0410-80a6-f3fac2684e05

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

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2523 de2fecce-e211-0410-80a6-f3fac2684e05

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

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2522 de2fecce-e211-0410-80a6-f3fac2684e05

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

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2521 de2fecce-e211-0410-80a6-f3fac2684e05

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

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2520 de2fecce-e211-0410-80a6-f3fac2684e05

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

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2519 de2fecce-e211-0410-80a6-f3fac2684e05

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

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2518 de2fecce-e211-0410-80a6-f3fac2684e05

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

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2517 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2516 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2515 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2514 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2513 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2512 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2511 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2510 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2509 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2508 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2507 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2506 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2505 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2504 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2503 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2502 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2501 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2500 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2499 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2498 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2497 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2496 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2495 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2492 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2491 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2490 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2489 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2488 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2487 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2486 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2485 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2484 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2483 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2482 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2481 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2480 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2479 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2478 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2474 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2473 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2472 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2471 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2470 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2469 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2468 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2467 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2466 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2465 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2461 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2460 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2459 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2458 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2457 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2456 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2455 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2454 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2450 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2449 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2448 de2fecce-e211-0410-80a6-f3fac2684e05

13 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.tianocore.org/svn/edk2/trunk@2447 de2fecce-e211-0410-80a6-f3fac2684e05