people/mcb30/edk2.git
13 years agoSafely use MDE StrSize(), instead of its own function calculating string size, becaus...
xli24 [Thu, 26 Apr 2007 08:36:34 +0000 (08:36 +0000)]
Safely use MDE StrSize(), instead of its own function calculating string size, because the IPF global pointer conversion issue has been solved.

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

13 years agoRemove the package dependency of MdePkg.
qhuang8 [Thu, 26 Apr 2007 06:25:41 +0000 (06:25 +0000)]
Remove the package dependency of MdePkg.

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

13 years agoFixed EDKT549 by adding code to check if the module is binary or not before generatin...
jwang36 [Thu, 26 Apr 2007 02:53:19 +0000 (02:53 +0000)]
Fixed EDKT549 by adding code to check if the module is binary or not before generating AutoGen.h/.c

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

13 years agoClean up the following module msa files.
lgao4 [Fri, 20 Apr 2007 01:29:05 +0000 (01:29 +0000)]
Clean up the following module msa files.

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

13 years agoPerfected MSA files.
vanjeff [Thu, 19 Apr 2007 07:02:17 +0000 (07:02 +0000)]
Perfected MSA files.

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

13 years agoTo cleanup typo error.
yshang1 [Wed, 18 Apr 2007 09:32:11 +0000 (09:32 +0000)]
To cleanup typo error.

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

13 years agoTo fix the GP convert issue, which results in the GP of registered EsalServices is...
yshang1 [Wed, 18 Apr 2007 09:27:05 +0000 (09:27 +0000)]
To fix the GP convert issue, which results in the GP of registered EsalServices is not correctly.

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

13 years agoFix the issue that Windows Server 2003 installation fails on Tiger.
xli24 [Wed, 18 Apr 2007 08:32:27 +0000 (08:32 +0000)]
Fix the issue that Windows Server 2003 installation fails on Tiger.

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

13 years agoRemove autogen.h from all dxs files, because autogen.h file has been included by...
lgao4 [Wed, 18 Apr 2007 03:58:23 +0000 (03:58 +0000)]
Remove autogen.h from all dxs files, because autogen.h file has been included by global compiler option.

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

13 years ago1. Fixed one bug in UpdateDataCheck().
vanjeff [Tue, 17 Apr 2007 13:31:47 +0000 (13:31 +0000)]
1. Fixed one bug in UpdateDataCheck().
2. Reduce one time notify function calling.
3. Fix comments bug in resources degrade function.

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

13 years agoFix the inconsistent guid for terminal driver which is used in GeneralBds libary.
klu2 [Mon, 16 Apr 2007 08:10:56 +0000 (08:10 +0000)]
Fix the inconsistent guid for terminal driver which is used in GeneralBds libary.

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

13 years agoUse siaddr as the PXE server address first and use option 54 when siaddr is NULL.
qhuang8 [Mon, 16 Apr 2007 05:55:32 +0000 (05:55 +0000)]
Use siaddr as the PXE server address first and use option 54 when siaddr is NULL.

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

13 years ago1. UsbMassStorage: Increase the timeout of USBFloppyRead10 and USBFloppyWrite10 for...
qhuang8 [Mon, 16 Apr 2007 05:20:06 +0000 (05:20 +0000)]
1. UsbMassStorage: Increase the timeout of USBFloppyRead10 and USBFloppyWrite10 for data transfer.
2. PxeBc: Fix array out bound error and add code to check the validation of the IP and subnet mask addresses.
3. DxeIpl: Make sure FV HOB is not corrupted by checking FV signature.

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

13 years agoCommitted through web interface.
bbahnsen [Fri, 13 Apr 2007 17:59:22 +0000 (17:59 +0000)]
Committed through web interface.

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

13 years agoCommitted through web interface.
bbahnsen [Fri, 13 Apr 2007 17:59:21 +0000 (17:59 +0000)]
Committed through web interface.

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

13 years agoFixed bug of incorrect processing of hexadecimal numbers.
bxing [Fri, 13 Apr 2007 08:19:54 +0000 (08:19 +0000)]
Fixed bug of incorrect processing of hexadecimal numbers.

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

13 years agoAdd link Map option for GCC tool to generate map file.
lgao4 [Fri, 13 Apr 2007 05:26:52 +0000 (05:26 +0000)]
Add link Map option for GCC tool to generate map file.

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

13 years agoAdd link Map option for GCC tool to generate map file.
lgao4 [Fri, 13 Apr 2007 05:25:05 +0000 (05:25 +0000)]
Add link Map option for GCC tool to generate map file.

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

13 years agoFixed some issues for IA32 architecture platform build.
vanjeff [Fri, 13 Apr 2007 02:23:10 +0000 (02:23 +0000)]
Fixed some issues for IA32 architecture platform build.
1. added UINTN typecast for shift.
2. updated Nt32.fpd and Unix.fpd.

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

13 years agoAdd link Map option for GCC tool to generate map file.
lgao4 [Fri, 13 Apr 2007 02:20:32 +0000 (02:20 +0000)]
Add link Map option for GCC tool to generate map file.

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

13 years ago1. Added EdkPciIncompatibleDeviceSupportLib in EdkModulePkg, this library is used...
vanjeff [Thu, 12 Apr 2007 09:07:01 +0000 (09:07 +0000)]
1. Added EdkPciIncompatibleDeviceSupportLib in EdkModulePkg, this library is used for PciBus driver and includes 3 Incompatible device lists.
2. Used EdkPciIncompatibleDeviceSupportLib in PciBus driver.
3. Redirect all Pci Configuration access to new APIs added in PciLib.c for PciBus driver.
4. Added one PCD PcdIncompatibleDeviceSupportMask in EdkModulePkg.spd to provide mask of PCI devices incompatibility check.

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

13 years agoFix CygWinGCC build failed. When GCC build, map file is not generated. We don't need...
lgao4 [Thu, 12 Apr 2007 02:36:28 +0000 (02:36 +0000)]
Fix CygWinGCC build failed. When GCC build, map file is not generated. We don't need copy map file when gcc build.

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

13 years agoFix run broken issue for EdkUnixPkg
klu2 [Wed, 11 Apr 2007 09:19:16 +0000 (09:19 +0000)]
Fix run broken issue for EdkUnixPkg

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

13 years ago1. Updated LOG file format generated by PeiRebase.
bxing [Wed, 11 Apr 2007 07:52:41 +0000 (07:52 +0000)]
1. Updated LOG file format generated by PeiRebase.
2. Updated PeiRebase to rebase an FV in a single pass.
3. Fixed bugs in GenFvMap to make it compilable by WinDDK and able to generate FV map file for production tip.
4. Update genefi task to copy map files to ${BIN_DIR} as well.

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

13 years agoChange default ModuleSA setting panel to be "FV Info" to remind user to specify FV_Bi...
jlin16 [Wed, 11 Apr 2007 07:01:59 +0000 (07:01 +0000)]
Change default ModuleSA setting panel to be "FV Info" to remind user to specify FV_Binding and FFS format for a added module.

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

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