mirror_edk2.git
13 years agoFixed potential issues to release resources when error occurs.
vanjeff [Wed, 28 Nov 2007 03:55:36 +0000 (03:55 +0000)]
Fixed potential issues to release resources when error occurs.

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

13 years agomodify the corresponding file path about Ps2MouseAbsolutePointerDxe driver & rename...
eric_tian [Wed, 28 Nov 2007 03:45:35 +0000 (03:45 +0000)]
modify the corresponding file path about Ps2MouseAbsolutePointerDxe driver & rename the Ps2MouseSimulateTouchPadDxe folder to Ps2MouseAbsolutePointer

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

13 years agochange "Ps2MouseSimulateTouchPad" to "Ps2MouseAbsolutePointer" for more clearing...
eric_tian [Wed, 28 Nov 2007 03:43:57 +0000 (03:43 +0000)]
change "Ps2MouseSimulateTouchPad" to "Ps2MouseAbsolutePointer" for more clearing the name's meaning.

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

13 years agomodify the corresponding file path about UsbMouseAbsolutePointerDxe driver
eric_tian [Wed, 28 Nov 2007 03:41:50 +0000 (03:41 +0000)]
modify the corresponding file path about UsbMouseAbsolutePointerDxe driver

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

13 years agochange the folder name of "UsbMouseSimulateTouchPadDxe" to "UsbMouseAbsolutePointer"
eric_tian [Wed, 28 Nov 2007 03:39:35 +0000 (03:39 +0000)]
change the folder name of "UsbMouseSimulateTouchPadDxe" to "UsbMouseAbsolutePointer"

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

13 years agochange "UsbMouseSimulateTouchPad" to "UsbMouseAbsolutePointer" for more clearing...
eric_tian [Wed, 28 Nov 2007 03:37:58 +0000 (03:37 +0000)]
change "UsbMouseSimulateTouchPad" to "UsbMouseAbsolutePointer" for more clearing the name's meaning.

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

13 years agoRearranged flags so they are in consiste locations, change ASM warning from /W3 ...
lhauch [Wed, 28 Nov 2007 01:20:03 +0000 (01:20 +0000)]
Rearranged flags so they are in consiste locations, change ASM warning from /W3 /W0 to just /W3

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

13 years agoUpdate NT32 BDS to produce the MemoryTypeInformation variable
mdkinney [Tue, 27 Nov 2007 20:57:50 +0000 (20:57 +0000)]
Update NT32 BDS to produce the MemoryTypeInformation variable

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

13 years agoRemove the unnecessary CapsuleInfo.h file.
lgao4 [Tue, 27 Nov 2007 07:09:12 +0000 (07:09 +0000)]
Remove the unnecessary CapsuleInfo.h file.

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

13 years agoAdd Capsule image Table entry in Uefi/UefiSpec.h according to UEFI2.1 spec definition.
lgao4 [Tue, 27 Nov 2007 07:06:01 +0000 (07:06 +0000)]
Add Capsule image Table entry in Uefi/UefiSpec.h according to UEFI2.1 spec definition.

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

13 years agouse a PS/2 mouse to simulate a faked touchpad device.
eric_tian [Tue, 27 Nov 2007 05:55:26 +0000 (05:55 +0000)]
use a PS/2 mouse to simulate a faked touchpad device.
verify the correction of the ABSOLUTE POINTER protocol's installation and usage

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

13 years agocorrect the gEfiCapsuleArchProtocolGuid to be the same with PI 1.0 spec with errata.
qwang12 [Tue, 27 Nov 2007 05:33:42 +0000 (05:33 +0000)]
correct the gEfiCapsuleArchProtocolGuid to be the same with PI 1.0 spec with errata.

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

13 years agoChange Sleep() time to 1ms to reduce pauses when running on single CPU system
mdkinney [Tue, 27 Nov 2007 02:50:59 +0000 (02:50 +0000)]
Change Sleep() time to 1ms to reduce pauses when running on single CPU system

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

13 years agoAdd FUNCTION_ENTRY_POINT macro
mdkinney [Tue, 27 Nov 2007 02:48:59 +0000 (02:48 +0000)]
Add FUNCTION_ENTRY_POINT macro
Update DxeDebugLibSerialPort to have a module type of BASE

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

13 years ago1) Improve the EFI Memory Map stability to improve ACPI S4 support
mdkinney [Tue, 27 Nov 2007 02:47:37 +0000 (02:47 +0000)]
1) Improve the EFI Memory Map stability to improve ACPI S4 support
2) Update DXE IPL to always publish the MemoryTypeInformation HOB

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

13 years agoA small changing to reduce size for ConSplitter module.
vanjeff [Fri, 23 Nov 2007 09:37:19 +0000 (09:37 +0000)]
A small changing to reduce size for ConSplitter module.

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

13 years agoalign some line to conform with code style
eric_tian [Fri, 23 Nov 2007 07:37:50 +0000 (07:37 +0000)]
align some line to conform with code style

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

13 years agoSave original PCI attributes in start() function and restore it in Stop().
vanjeff [Fri, 23 Nov 2007 06:19:16 +0000 (06:19 +0000)]
Save original PCI attributes in start() function and restore it in Stop().

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

13 years agoApply library to test controller handle.
qhuang8 [Fri, 23 Nov 2007 06:10:27 +0000 (06:10 +0000)]
Apply library to test controller handle.

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

13 years agoPort CirrusLogic5430 from EDK II code base.
qhuang8 [Fri, 23 Nov 2007 03:05:33 +0000 (03:05 +0000)]
Port CirrusLogic5430 from EDK II code base.
Add GOP, Component Name 2, Efi driver supported EFI version protocol support.

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

13 years agocorrect on bug in DebugLib instance.
qwang12 [Thu, 22 Nov 2007 08:16:50 +0000 (08:16 +0000)]
correct on bug in DebugLib instance.

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

13 years agoUpdate AtapiPassThru driver in Option ROM package to support to produce EFI Driver...
qhuang8 [Thu, 22 Nov 2007 07:15:08 +0000 (07:15 +0000)]
Update AtapiPassThru driver in Option ROM package to support to produce EFI Driver supported EFI version protocol, which is required for EFI drivers that are on PCI and other plug in cards.

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

13 years agoFix typo.
qhuang8 [Thu, 22 Nov 2007 07:13:30 +0000 (07:13 +0000)]
Fix typo.

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

13 years agoFix some bugs in DSC/INF file Nt32 platform
klu2 [Thu, 22 Nov 2007 06:55:30 +0000 (06:55 +0000)]
Fix some bugs in DSC/INF file Nt32 platform

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

13 years agoClean up: update "EFI" to "UEFI" if applicable.
qhuang8 [Thu, 22 Nov 2007 06:00:39 +0000 (06:00 +0000)]
Clean up: update "EFI" to "UEFI" if applicable.

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

13 years agoMinor change for GenFv to support capsule attribute, GenSec to support guid header...
lgao4 [Wed, 21 Nov 2007 03:50:33 +0000 (03:50 +0000)]
Minor change for GenFv to support capsule attribute, GenSec to support guid header size and GenFfs to pad alignment for TeImage.

And Add GenCrc32 tool

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

13 years agodelete a debug output to pass through EBC build and align some line to conform with...
eric_tian [Wed, 21 Nov 2007 03:44:19 +0000 (03:44 +0000)]
delete a debug output to pass through EBC build and align some line to conform with code style

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

13 years agoRemove the old definition in FlashMapHob
klu2 [Tue, 20 Nov 2007 10:33:34 +0000 (10:33 +0000)]
Remove the old definition in FlashMapHob

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

13 years agoRemove AtapiPassThru driver in NT32 DSC file
qhuang8 [Tue, 20 Nov 2007 10:12:39 +0000 (10:12 +0000)]
Remove AtapiPassThru driver in NT32 DSC file

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

13 years agoAdd change log for non-compatible change.
qhuang8 [Tue, 20 Nov 2007 07:34:25 +0000 (07:34 +0000)]
Add change log for non-compatible change.

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

13 years agoRemove debug print statement checked in inadvertently
qhuang8 [Tue, 20 Nov 2007 07:22:41 +0000 (07:22 +0000)]
Remove debug print statement checked in inadvertently

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

13 years agoRemove Atapi Pass Thru driver in MdeModulePkg. This module is only used for testing...
qhuang8 [Tue, 20 Nov 2007 07:17:56 +0000 (07:17 +0000)]
Remove Atapi Pass Thru driver in MdeModulePkg. This module is only used for testing. We can use this module from OptionRomPkg

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

13 years agoAdd OptionRomPkg, it contains AtapiPassThru driver for the test purpose of Scsi Bus...
qhuang8 [Tue, 20 Nov 2007 07:05:44 +0000 (07:05 +0000)]
Add OptionRomPkg, it contains AtapiPassThru driver for the test purpose of Scsi Bus support.

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

13 years agoremove member context from _EFI_MTFTP4_TOKEN structure.
vanjeff [Tue, 20 Nov 2007 06:06:18 +0000 (06:06 +0000)]
remove member context from _EFI_MTFTP4_TOKEN structure.

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

13 years ago1. Add DPC protocol and DpcLib library in MdeModulePkg.
vanjeff [Tue, 20 Nov 2007 05:42:23 +0000 (05:42 +0000)]
1. Add DPC protocol and DpcLib library in MdeModulePkg.
2. Add DpcDxe module and DxeDpcLib module in MdeModulePkg
3. Port network stack module to use DPC.
4. Use MIN, and MAX defined in MdePkg to replace NET_MIN and NET_MAX.

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

13 years agoMove out the FlashMapHob
klu2 [Tue, 20 Nov 2007 02:14:56 +0000 (02:14 +0000)]
Move out the FlashMapHob

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

13 years agoRevert R4300 change, Runtime driver doesn't need to covert the physical address store...
lgao4 [Tue, 20 Nov 2007 01:58:41 +0000 (01:58 +0000)]
Revert R4300 change, Runtime driver doesn't need to covert the physical address stored in the configure tables after SetVirtualAddressMap().

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

13 years agoa. Revised error message for a module that is not required by a Platform when buildin...
jwang36 [Mon, 19 Nov 2007 08:24:41 +0000 (08:24 +0000)]
a. Revised error message for a module that is not required by a Platform when building just the module
b. Remove "/" or "\" following $(WORKSPACE) before getting real path when parsing DSC files

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

13 years agoUse MACRO EFI_FV_FILETYPE_ALL instead of a constant.
qwang12 [Mon, 19 Nov 2007 08:03:35 +0000 (08:03 +0000)]
Use MACRO EFI_FV_FILETYPE_ALL instead of a constant.

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

13 years ago1) Make PEI PI File system service to skip PAD file
qwang12 [Mon, 19 Nov 2007 08:02:39 +0000 (08:02 +0000)]
1) Make PEI PI File system service to skip PAD file
2) Remove some unused code

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

13 years agoFix up the comment for several functions and make sure the IN and OUT modifier of...
qwang12 [Sun, 18 Nov 2007 16:01:09 +0000 (16:01 +0000)]
Fix up the comment for several functions and make sure the IN and OUT modifier of the function parameter is correct.

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

13 years agoConvert the capsule image address installed in Configuration table to virtual address.
lgao4 [Fri, 16 Nov 2007 10:26:51 +0000 (10:26 +0000)]
Convert the capsule image address installed in Configuration table to virtual address.

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

13 years agoAdd CapsuleInfo guid to store the list of capsule image guid.
lgao4 [Fri, 16 Nov 2007 10:14:34 +0000 (10:14 +0000)]
Add CapsuleInfo guid to store the list of capsule image guid.

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

13 years agoAdd a feature flag to allow platform developer to decide if TE or PE32 section should...
qwang12 [Thu, 15 Nov 2007 09:00:14 +0000 (09:00 +0000)]
Add a feature flag to allow platform developer to decide if TE or PE32 section should be searched in PEI dispatcher.

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

13 years agoadd UsbMouseSimulateTouchPad driver to verify the correction of dispatching AbsoluteP...
eric_tian [Wed, 14 Nov 2007 07:08:55 +0000 (07:08 +0000)]
add UsbMouseSimulateTouchPad driver to verify the correction of dispatching AbsolutePointer event of consplitter

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

13 years agoRemove gEfiNetworkInterfaceIdentifierProtocolGuid reference from code base. Only...
vanjeff [Tue, 13 Nov 2007 09:09:00 +0000 (09:09 +0000)]
Remove gEfiNetworkInterfaceIdentifierProtocolGuid reference from code base. Only left its definition in MdePkg.

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

13 years agoRemove gEfiNetworkInterfaceIdentifierProtocolGuid reference from code base. Only...
vanjeff [Tue, 13 Nov 2007 09:08:17 +0000 (09:08 +0000)]
Remove gEfiNetworkInterfaceIdentifierProtocolGuid reference from code base. Only left its definition in MdePkg.

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

13 years ago1. CoreOpenImageFile(): FilePath should be IN OUT.
vanjeff [Fri, 9 Nov 2007 07:26:24 +0000 (07:26 +0000)]
1. CoreOpenImageFile(): FilePath should be IN OUT.
2. Use offset address to build device path instead of absolute address.

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

13 years agoFix build break for X64 cpu architecture.
qhuang8 [Thu, 8 Nov 2007 07:33:43 +0000 (07:33 +0000)]
Fix build break for X64 cpu architecture.

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

13 years agogEfiVariableWriteArchProtocolGuid should be used for the depex as defined in PI spec...
qwang12 [Thu, 8 Nov 2007 05:28:44 +0000 (05:28 +0000)]
gEfiVariableWriteArchProtocolGuid should be used for the depex as defined in PI spec as this driver set a NV variable.

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

13 years agoFixed the dependency issue on wrong name of makefile.
jwang36 [Thu, 8 Nov 2007 03:57:35 +0000 (03:57 +0000)]
Fixed the dependency issue on wrong name of makefile.

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

13 years agoPI spec will be updated to make it clear that this HOB should describe the stack...
qhuang8 [Thu, 8 Nov 2007 03:57:04 +0000 (03:57 +0000)]
PI spec will be updated to make it clear that this HOB should describe the stack range before going to DXE.
Therefore, we should update stack Hob in DxeLoad to reflect real stack

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

13 years agoMerge EDK899: fixed bug to support EFI_HOB_TYPE_MEMORY_ALLOCATION to allocate resour...
qhuang8 [Thu, 8 Nov 2007 03:52:35 +0000 (03:52 +0000)]
Merge EDK899:  fixed bug to support EFI_HOB_TYPE_MEMORY_ALLOCATION to allocate resource in PEI

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

13 years ago1) If PeiLoadImage fails, the section extraction PPI or Decompress PPI may not be...
qwang12 [Thu, 8 Nov 2007 03:50:37 +0000 (03:50 +0000)]
1) If PeiLoadImage fails, the section extraction PPI or Decompress PPI may not be ready, we flag that more Peims need to be dispatched.
2) Set the stack to be cacheable before the stack switch occurs so that IPF recovery path will be run from cacheble memory for code, data and stack.

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

13 years agoFix the wrong memory type for BSP stack hob. EfiConventionalMemoryType will be reclai...
qhuang8 [Thu, 8 Nov 2007 03:48:49 +0000 (03:48 +0000)]
Fix the wrong memory type for BSP stack hob. EfiConventionalMemoryType will be reclaimed by DxeCore.

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

13 years ago1) Fix bugs in BaseMemoryLibOptXXX instances in MdePkg.
yshang1 [Thu, 8 Nov 2007 03:40:50 +0000 (03:40 +0000)]
1) Fix bugs in BaseMemoryLibOptXXX instances in MdePkg.
2) Add BaseMemoryLibOptXXX in MdePkg.dsc.
3) Clean up the MdeModulePkg.dsc.

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

13 years agoRemoved the PAL definition of PAL_ROUTE_CONFIG because it is not in published Itanium...
zliu3 [Wed, 7 Nov 2007 09:15:14 +0000 (09:15 +0000)]
Removed the PAL definition of PAL_ROUTE_CONFIG because it is not in published Itanium spec

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

13 years agoFix GenFv bug without init local variable
lgao4 [Wed, 7 Nov 2007 07:48:54 +0000 (07:48 +0000)]
Fix GenFv bug without init local variable

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

13 years agoStrip the relocation section for SEC, PEIM and PEI CORE typed files, according to...
jlin16 [Wed, 7 Nov 2007 05:59:12 +0000 (05:59 +0000)]
Strip the relocation section for SEC, PEIM and PEI CORE typed files, according to relocation strip flag in FDF file and shadow flag in INF file.

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

13 years agoFix a memory leak issue.
qhuang8 [Wed, 7 Nov 2007 03:19:35 +0000 (03:19 +0000)]
Fix a memory leak issue.

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

13 years agoFix a memory leak issue.
qhuang8 [Wed, 7 Nov 2007 02:59:26 +0000 (02:59 +0000)]
Fix a memory leak issue.

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

13 years agoUpdate tool to support reloc section removed, PAD file with same guid and check no...
lgao4 [Tue, 6 Nov 2007 11:23:02 +0000 (11:23 +0000)]
Update tool to support reloc section removed, PAD file with same guid and check no duplicated guid file in the same fv image.

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

13 years agoTo find DxeCore by PE32 section is enough, DxeCore can't be wrapped TE section.
lgao4 [Tue, 6 Nov 2007 10:08:57 +0000 (10:08 +0000)]
To find DxeCore by PE32 section is enough, DxeCore can't be wrapped TE section.

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

13 years agoFixed an issue which would cause trimming empty file error.
jwang36 [Tue, 6 Nov 2007 06:39:13 +0000 (06:39 +0000)]
Fixed an issue which would cause trimming empty file error.

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

13 years agoAdd the -mno-red-zone for gcc on x64. Since the GNU calling convention of x64 defines...
yshang1 [Tue, 6 Nov 2007 05:30:16 +0000 (05:30 +0000)]
Add the -mno-red-zone for gcc on x64. Since the GNU calling convention of x64 defines the 128bytes red zone beyond the stack point could not be modified by interrupt or exception handler, and Edk prime assumes all data beyond stack point should be volatile, if not add the option, the interrupt or exception handler may corrupt the red zone, which may be used as temporary storage.

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

13 years agoFix two issues:
qhuang8 [Tue, 6 Nov 2007 01:38:25 +0000 (01:38 +0000)]
Fix two issues:
1. EDK II StrnCpy does not necessarily "0" terminate destination string if the source string length is larger than "n". Caller needs to terminate it itself.
2. The definition of EFI_HII_CALLBACK_PACKET has been changed to follow framework HII spec 0.92, we need to change the corresponding code correctly.

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

13 years agodefine the variable related to PCD for supporting big variable (>32K) easily.
gtian [Mon, 5 Nov 2007 16:11:50 +0000 (16:11 +0000)]
define the variable related to PCD for supporting big variable (>32K) easily.

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

13 years agothe implementation of FVB->SetAttribute() interface should check the unchanged bit...
klu2 [Mon, 5 Nov 2007 06:29:00 +0000 (06:29 +0000)]
the implementation of FVB->SetAttribute() interface should check the unchanged bit in parameter at first.

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

13 years agoedk2/MdePkg/MdePkg/Library/UefiScsiLib/UefiScsiLib.c:
jljusten [Fri, 2 Nov 2007 00:00:44 +0000 (00:00 +0000)]
edk2/MdePkg/MdePkg/Library/UefiScsiLib/UefiScsiLib.c:
edk2/MdePkg/MdePkg/Library/DxeSmbusLib/InternalSmbusLib.h:
  Fixed include filenames (case) for case-sensitive filesystems.

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

13 years agoAdd more PAL_ROUTE related definition in to PalCallLib.h
gtian [Thu, 1 Nov 2007 07:59:32 +0000 (07:59 +0000)]
Add more PAL_ROUTE related definition in to PalCallLib.h

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

13 years agoThe default value of SecMain should be set as INIT_CAR_VALUE = 0x5aa55aa5, then PeiMa...
klu2 [Thu, 1 Nov 2007 07:10:43 +0000 (07:10 +0000)]
The default value of SecMain should be set as INIT_CAR_VALUE = 0x5aa55aa5, then PeiMain could computer how many stack ever used.

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

13 years agoShould use MaxCarTop but *not* CarTop to computer the usage of stack
klu2 [Thu, 1 Nov 2007 06:19:38 +0000 (06:19 +0000)]
Should use MaxCarTop but *not* CarTop to computer the usage of stack

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

13 years agoPrint entry point address by using 0x%10p for the above 4G address.
lgao4 [Thu, 1 Nov 2007 02:29:44 +0000 (02:29 +0000)]
Print entry point address by using 0x%10p for the above 4G address.

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

13 years agoThis setup is not needed, the edksetup.bat file that exists in the root will eventual...
lhauch [Wed, 31 Oct 2007 15:49:03 +0000 (15:49 +0000)]
This setup is not needed, the edksetup.bat file that exists in the root will eventually be moved to BaseTools\Bin

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

13 years agoPrint real entry point for IPF image.
lgao4 [Wed, 31 Oct 2007 11:46:42 +0000 (11:46 +0000)]
Print real entry point for IPF image.
Print DxeCore Entry point and image address.
Set FileHandle = NULL when not found FFS file in PeiService PeiFfsFindNextFile.

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

13 years agoAdded change log for r4251
jwang36 [Wed, 31 Oct 2007 10:46:34 +0000 (10:46 +0000)]
Added change log for r4251

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

13 years agoa. Fixed an issue which a incorrect command (no leading space/tab) generated in top...
jwang36 [Wed, 31 Oct 2007 10:35:08 +0000 (10:35 +0000)]
a. Fixed an issue which a incorrect command (no leading space/tab) generated in top level Makefile
b. Added code to check zero thread number and disable multi-thread build mode if zero thread number.

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

13 years agoFix the issue that CAR size is shown as negative number.
klu2 [Wed, 31 Oct 2007 09:59:18 +0000 (09:59 +0000)]
Fix the issue that CAR size is shown as negative number.

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

13 years agoAdded VS2005 support
jwang36 [Wed, 31 Oct 2007 09:12:54 +0000 (09:12 +0000)]
Added VS2005 support

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

13 years agoa. Changed MYTOOLS to use Visual Studio Team Suite for IA32 and X64. IPF is still...
jwang36 [Wed, 31 Oct 2007 09:07:31 +0000 (09:07 +0000)]
a. Changed MYTOOLS to use Visual Studio Team Suite for IA32 and X64. IPF is still use WINDKK.
b. Re-generated build.exe and GenFds.exe to incorporate new changes of build tools
c. Enable multi-thread build mode by default

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

13 years ago1) Change GUID of emuvariable module.
yshang1 [Wed, 31 Oct 2007 08:58:40 +0000 (08:58 +0000)]
1) Change GUID of emuvariable module.
2) Support print 64bit's HobList.

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

13 years agoAdded macro GLOBAL_OBJECT and GLOBAL_CONSTANT, and changed '.global' to '.globl'...
zliu3 [Wed, 31 Oct 2007 03:10:22 +0000 (03:10 +0000)]
Added macro GLOBAL_OBJECT and GLOBAL_CONSTANT, and changed '.global' to '.globl' based on HP feedback

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

13 years agoAdd Add Driver Diagnostic 2 Protocol support for IdeBus driver.
qhuang8 [Tue, 30 Oct 2007 06:45:44 +0000 (06:45 +0000)]
Add Add Driver Diagnostic 2 Protocol support for IdeBus driver.

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

13 years agoAdd Driver Diagnostic 2 Protocol support for WinNtBlockIo driver.
qhuang8 [Tue, 30 Oct 2007 05:28:45 +0000 (05:28 +0000)]
Add Driver Diagnostic 2 Protocol support for WinNtBlockIo driver.

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

13 years agoMdeModulePkg/Universal/DevicePathDxe/DevicePathFromText.c:
jljusten [Tue, 30 Oct 2007 00:36:55 +0000 (00:36 +0000)]
MdeModulePkg/Universal/DevicePathDxe/DevicePathFromText.c:
  Pre-initialize local variable 'Digit' in two functions to
  prevent a compiler warning.

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

13 years agoMdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c:
jljusten [Tue, 30 Oct 2007 00:13:22 +0000 (00:13 +0000)]
MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c:
  Pre-initialize GuageData variable to remove compiler warning.

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

13 years agoMdePkg/Library/BaseLib/ChkStkGcc.c:
jljusten [Tue, 30 Oct 2007 00:10:23 +0000 (00:10 +0000)]
MdePkg/Library/BaseLib/ChkStkGcc.c:
MdePkg/Library/BaseLib/BaseLib.inf:
  Added stub (nil) implementation of __chkstk for which calls are generated
  by newer versions of gcc.

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

13 years agoMdePkg/Library/BaseMemoryLibRepStr/x64/*.S:
jljusten [Tue, 30 Oct 2007 00:06:27 +0000 (00:06 +0000)]
MdePkg/Library/BaseMemoryLibRepStr/x64/*.S:
  Added assembly files for gnu toolchain.
  Uses '.intel_syntax' which requires binutils >= 2.10.
MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf:
  Include .S files for BaseMemoryLibRepStr module.

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

13 years agoBaseTools/Conf/tools_def.template:
jljusten [Mon, 29 Oct 2007 23:17:12 +0000 (23:17 +0000)]
BaseTools/Conf/tools_def.template:
  Added '-x assembler' to *_UNIXGCC_*_ASM_FLAGS so pre-processed assembly
  files (*.iii) will assemble correctly.

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

13 years agoFixed filename case for case-sensitive file systems.
jljusten [Mon, 29 Oct 2007 23:11:19 +0000 (23:11 +0000)]
Fixed filename case for case-sensitive file systems.

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

13 years agoBaseTools/Conf/build_rule.template:
jljusten [Mon, 29 Oct 2007 18:34:07 +0000 (18:34 +0000)]
BaseTools/Conf/build_rule.template:
  Fixes for GCC toolpath on unix.  (Changes tested on OS X).

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

13 years agoBaseTools/Conf/tools_def.template:
jljusten [Mon, 29 Oct 2007 08:01:12 +0000 (08:01 +0000)]
BaseTools/Conf/tools_def.template:
  Changes for UNIXGCC toolchain.
  Tested on OS X with x86_64-pc-mingw32 bintools/gcc

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

13 years agoUpdate the build instructions and change log:
qhuang8 [Mon, 29 Oct 2007 07:44:04 +0000 (07:44 +0000)]
Update the build instructions and change log:
The shell binaries are now built with Edk Shell source 1.03 release + EdkCompatiblityPkg(r2246) so that it can be built and customized under EDKII environment.

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

13 years agoBaseTools/ConfTemplates:
jljusten [Mon, 29 Oct 2007 07:43:33 +0000 (07:43 +0000)]
BaseTools/ConfTemplates:
  Removing BaseTools/ConfTemplates/* and using common BaseTools/Conf,
  even though they cannot be made common for all systems.  (For example,
  target.template)  I will look a different method to accomplish the
  same goal.

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

13 years agoBaseTools/BuildEnv.py:
jljusten [Mon, 29 Oct 2007 07:42:00 +0000 (07:42 +0000)]
BaseTools/BuildEnv.py:
  Removing BaseTools/ConfTemplates/* and using common BaseTools/Conf,
  even though they cannot be made common for all systems.  (For example,
  target.template)  I will look a different method to accomplish the
  same goal.

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

13 years agoAdding link for BaseTools/Bin/PosixLike/Trim to allow tool to be run
jljusten [Mon, 29 Oct 2007 07:19:18 +0000 (07:19 +0000)]
Adding link for BaseTools/Bin/PosixLike/Trim to allow tool to be run
during the build process.

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

13 years agoUpdate shell binaries with EDK shell 1.03 built with ECP r4226.
qhuang8 [Mon, 29 Oct 2007 05:31:43 +0000 (05:31 +0000)]
Update shell binaries with EDK shell 1.03 built with  ECP r4226.

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

13 years agoRemove the unnecessary library reference.
qhuang8 [Mon, 29 Oct 2007 05:16:07 +0000 (05:16 +0000)]
Remove the unnecessary library reference.

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

13 years agoAdjust the build infrastructure to support IA32 architect build. Ia32.dsc is more...
qhuang8 [Mon, 29 Oct 2007 04:58:20 +0000 (04:58 +0000)]
Adjust the build infrastructure to support IA32 architect build. Ia32.dsc is more suitable than reuse Nt32.dsc

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

13 years agoAdd one judge whether TeImage or PeImage has reloc section when relocate TeImage...
lgao4 [Fri, 26 Oct 2007 09:28:29 +0000 (09:28 +0000)]
Add one judge whether TeImage or PeImage has reloc section when relocate TeImage or PeImage into memory.

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