mirror_edk2.git
13 years agoParameter checking in BdsLibMatchDevicePaths() is wrong. This bug was found because...
rsun3 [Wed, 3 Dec 2008 06:47:39 +0000 (06:47 +0000)]
Parameter checking in BdsLibMatchDevicePaths() is wrong. This bug was found because active console out devices are shown inactive in Setup Boot Maintenance Manager.

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

13 years agoFix entry point prototype.
qhuang8 [Wed, 3 Dec 2008 06:20:14 +0000 (06:20 +0000)]
Fix entry point prototype.

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

13 years agoFix entry point prototype.
qhuang8 [Wed, 3 Dec 2008 06:17:59 +0000 (06:17 +0000)]
Fix entry point prototype.

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

13 years agoFix entry point prototype.
qhuang8 [Wed, 3 Dec 2008 06:16:22 +0000 (06:16 +0000)]
Fix entry point prototype.

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

13 years agoFix entry point prototype.
qhuang8 [Wed, 3 Dec 2008 06:15:10 +0000 (06:15 +0000)]
Fix entry point prototype.

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

13 years agoFix constructor prototype.
qhuang8 [Wed, 3 Dec 2008 06:13:05 +0000 (06:13 +0000)]
Fix constructor prototype.

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

13 years agoFix typo in function prototype.
qhuang8 [Wed, 3 Dec 2008 05:30:10 +0000 (05:30 +0000)]
Fix typo in function prototype.

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

13 years agoAdd AsmEnableCache() and AsmDisableCache() as the IA32 & x64 specific BaseLib API.
qhuang8 [Wed, 3 Dec 2008 02:19:49 +0000 (02:19 +0000)]
Add AsmEnableCache() and AsmDisableCache() as the IA32 & x64 specific BaseLib API.

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

13 years ago1) Add in EcpEfiBreakPoint and EcpMemoryFence which will be defined as EFI_BREAKPOINT...
qwang12 [Tue, 2 Dec 2008 14:35:15 +0000 (14:35 +0000)]
1) Add in EcpEfiBreakPoint and EcpMemoryFence which will be defined as EFI_BREAKPOINT and MEMORY_FENCE.

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

13 years agoremove DEFIO_PCI_ADDRESS from MdePkg.
vanjeff [Tue, 2 Dec 2008 08:57:46 +0000 (08:57 +0000)]
remove DEFIO_PCI_ADDRESS from MdePkg.

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

13 years agoadjust codes.
vanjeff [Tue, 2 Dec 2008 08:19:15 +0000 (08:19 +0000)]
adjust codes.

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

13 years ago1. add some comments for structures
vanjeff [Tue, 2 Dec 2008 08:15:14 +0000 (08:15 +0000)]
1. add some comments for structures
2. refined doxgen format comments.

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

13 years agoremove duplicated #pragma pack().
vanjeff [Tue, 2 Dec 2008 08:14:09 +0000 (08:14 +0000)]
remove duplicated #pragma pack().

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

13 years agoCode scrub for PlatformBdsLibNull.inf library instance.
klu2 [Tue, 2 Dec 2008 08:09:28 +0000 (08:09 +0000)]
Code scrub for PlatformBdsLibNull.inf library instance.

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

13 years agoFix doxygen comment for structure definitions.
klu2 [Tue, 2 Dec 2008 05:52:37 +0000 (05:52 +0000)]
Fix doxygen comment for structure definitions.

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

13 years agoSplit architecture judgement then doxygen can merge them into one document.
klu2 [Mon, 1 Dec 2008 19:09:01 +0000 (19:09 +0000)]
Split architecture judgement then doxygen can merge them into one document.

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

13 years agoSync UefiLib instance in IntelFrameworkPkg with the one in MdePkg.
qhuang8 [Mon, 1 Dec 2008 14:42:26 +0000 (14:42 +0000)]
Sync UefiLib instance in IntelFrameworkPkg with the one in MdePkg.

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

13 years agoRemove several over-specific issues.
qhuang8 [Mon, 1 Dec 2008 14:40:23 +0000 (14:40 +0000)]
Remove several over-specific issues.

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

13 years agoDe-Unicode in MdePkg source files.
qhuang8 [Mon, 1 Dec 2008 14:13:51 +0000 (14:13 +0000)]
De-Unicode in MdePkg source files.

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

13 years agoDe-Unicode in MdePkg source files.
qhuang8 [Mon, 1 Dec 2008 14:06:25 +0000 (14:06 +0000)]
De-Unicode in MdePkg source files.

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

13 years agoAdd 3 reallocation pool services in MemoryAllocationLib class.
qhuang8 [Mon, 1 Dec 2008 13:52:44 +0000 (13:52 +0000)]
Add 3 reallocation pool services in MemoryAllocationLib class.

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

13 years agoUpdate the API of UsbGetInterface() & UsbGetConfiguration () to follow MdeLib spec.
qhuang8 [Mon, 1 Dec 2008 13:51:41 +0000 (13:51 +0000)]
Update the API of UsbGetInterface() & UsbGetConfiguration () to follow MdeLib spec.

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

13 years agoRemove ProcessLibraryDestructorList() from the library class of DxeCoreEntryPointLib...
qhuang8 [Mon, 1 Dec 2008 13:50:11 +0000 (13:50 +0000)]
Remove ProcessLibraryDestructorList() from the library class of DxeCoreEntryPointLib. This API is not in MdeLib spec and DxeCore does not use it.

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

13 years agoRefine MdePkg library instances: Remove unnecessary EFIAPI modifier for library worke...
qhuang8 [Mon, 1 Dec 2008 13:46:34 +0000 (13:46 +0000)]
Refine MdePkg library instances: Remove unnecessary EFIAPI modifier for library worker functions, fix some typos, etc

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

13 years agoUpdate PalCallLib to PalLib in BasePalLibNull.inf.
xli24 [Mon, 1 Dec 2008 07:39:11 +0000 (07:39 +0000)]
Update PalCallLib to PalLib in BasePalLibNull.inf.

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

13 years agoFix the issue that wrong doxygen header comments.
klu2 [Mon, 1 Dec 2008 07:34:29 +0000 (07:34 +0000)]
Fix the issue that wrong doxygen header comments.

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

13 years ago1) Fix a bug of DefaultVarStoreId of the Form Set should be used when Framework IfrSu...
qwang12 [Mon, 1 Dec 2008 07:16:55 +0000 (07:16 +0000)]
1) Fix a bug of DefaultVarStoreId of the Form Set should be used when Framework IfrSupportLib create new opcode.
2) Remove the unnecessary OpcodeCreation.h
3) Update the doxygen function header.

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

13 years agoCode scrub for GenericBdsLib library instance.
klu2 [Mon, 1 Dec 2008 05:55:58 +0000 (05:55 +0000)]
Code scrub for GenericBdsLib library instance.

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

13 years agoFixed a error although Math.c is not built include for building.
qwang12 [Mon, 1 Dec 2008 02:39:49 +0000 (02:39 +0000)]
Fixed a error although Math.c is not built include for building.

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

13 years agoGCC Cleanup: Files name should match the case in the file system.
qwang12 [Mon, 1 Dec 2008 02:38:31 +0000 (02:38 +0000)]
GCC Cleanup: Files name should match the case in the file system.

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

13 years agoGCC cleanup: forward slash used.o
qwang12 [Mon, 1 Dec 2008 02:32:20 +0000 (02:32 +0000)]
GCC cleanup: forward slash used.o

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

13 years agoRemove NibbleToHexChar() function from BaseLib
lgao4 [Mon, 1 Dec 2008 02:32:12 +0000 (02:32 +0000)]
Remove NibbleToHexChar() function from BaseLib

Move IsHexDigit, BufToHexString, HexStringToBuf from BaseLib to MdeModulePkg IfrSupportLib. The reason is:
1) IsHexDigit function provides the logic to check Hex Digit and convert it to Decimal value, which is required by IScsi LUN and HII user input. But this logic is not provided by any functions in MdeLib. So, it can't be deleted. It is moved to IfrSupportLib.
2) BufToHexString function converts a array of buffers to hex string. If the buffer length is less than sizeof (UINT64), it can be directly replaced by UnicodeValueToString(). But HII modules may use BufToHexString to convert the buffers whose length > sizeof (UINT64). For example:
.\MdeModulePkg\Universal\HiiDatabaseDxe\ConfigRouting.c line 201, 1148
.\Universal\SetupBrowserDxe\Setup.c line line 1457, 1503
Like this case, it is not easy to use UnicodeValueToString to replace BufToHexString. So, BufToHexString is still kept. Because such usages are in HII modules, this function is moved to IfrSupportLib.
3) HexStringToBuf is moved to IfrSupportLib. The reason is similar to BufToHexString.

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

13 years ago1. Fixed issue when calculating timeout value in timeout function in MNP module.
vanjeff [Mon, 1 Dec 2008 01:59:45 +0000 (01:59 +0000)]
1. Fixed issue when calculating timeout value in timeout function in MNP module.
2. Added and refine some comments.
3. Enable UefiPxeBc Module to accept all broadcast packets for UDP Read&Write interface.

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

13 years agoFixed regression bug HSD201375
jwang36 [Sat, 29 Nov 2008 12:20:14 +0000 (12:20 +0000)]
Fixed regression bug HSD201375

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

13 years agoMove GlueLib's PeiPerformanceLib and DxePerformanceLib to [Components.IA32,Components...
qwang12 [Sat, 29 Nov 2008 09:09:03 +0000 (09:09 +0000)]
Move GlueLib's PeiPerformanceLib and DxePerformanceLib to [Components.IA32,Components.X64] and [Libraries.IA32,Libraries.X64] as the ECP implementation use AsmReadTsc () function (IA32/X64 only).

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

13 years agoAdd CompilerStubLib_Edk2.inf which is built by EDK II tool chain.
qwang12 [Sat, 29 Nov 2008 07:38:29 +0000 (07:38 +0000)]
Add CompilerStubLib_Edk2.inf which is built by EDK II tool chain.

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

13 years agoAdd CompilerStubLib_Edk2.inf which is built by EDK II tool chain.
qwang12 [Sat, 29 Nov 2008 07:37:49 +0000 (07:37 +0000)]
Add CompilerStubLib_Edk2.inf which is built by EDK II tool chain.

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

13 years ago1) Revert the original CompilerStubLib.inf which will be built by EDK tool chain...
qwang12 [Sat, 29 Nov 2008 07:36:43 +0000 (07:36 +0000)]
1) Revert the original CompilerStubLib.inf which will be built by EDK tool chain. CompilerStubLib_Edk2.inf is the one that should be built by EDK II tool chain.
2) Revert the memcpy.c and memset.c. We use CompilerStubLib_Edk2.inf to switch the file combinations that are built under differnt tool-chains.

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

13 years agoFix to pass the Richford tip ICC build, this check-in is need for the previous check...
zliu3 [Sat, 29 Nov 2008 04:01:15 +0000 (04:01 +0000)]
Fix to pass the Richford tip ICC build, this check-in is need for the previous check-in version r6765 (Fix the parameter typo, it should confirm to UEFI spec.)

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

13 years agoFix coding style issues for Tcp4Dxe driver.
niry [Fri, 28 Nov 2008 08:32:24 +0000 (08:32 +0000)]
Fix coding style issues for Tcp4Dxe driver.

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

13 years agoRefine the comments in PciSegmentLib
qhuang8 [Fri, 28 Nov 2008 06:14:55 +0000 (06:14 +0000)]
Refine the comments in PciSegmentLib

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

13 years agoAdded /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT) in EBC_CC_FLAGSto ensure correct...
jwang36 [Fri, 28 Nov 2008 06:11:32 +0000 (06:11 +0000)]
Added /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT) in EBC_CC_FLAGSto ensure correct R8's module entry point for EBC arch.

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

13 years agoa. Fixed R8 module build issue for EBC arch
jwang36 [Fri, 28 Nov 2008 06:09:25 +0000 (06:09 +0000)]
a. Fixed R8 module build issue for EBC arch
B. Fixed issue in trimming preprocessed VFR file with no space between "struct" and open "{".

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

13 years agoFunction headers in .h and .c files synchronized with spec
jji4 [Fri, 28 Nov 2008 02:18:02 +0000 (02:18 +0000)]
Function headers in .h and .c files synchronized with spec

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

13 years agoUpdate the entry point function's prototype.
qwang12 [Fri, 28 Nov 2008 01:21:54 +0000 (01:21 +0000)]
Update the entry point function's prototype.
Add Doxygen function header.

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

13 years agoUpdate the entry point function's prototype.
qwang12 [Fri, 28 Nov 2008 01:21:29 +0000 (01:21 +0000)]
Update the entry point function's prototype.

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

13 years agoAdd the AND of all architectural protocols for this special DXE_RUNTIME driver.
qhuang8 [Thu, 27 Nov 2008 14:08:09 +0000 (14:08 +0000)]
Add the AND of all architectural protocols for this special DXE_RUNTIME driver.

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

13 years agoAdd several missing assertions.
qhuang8 [Thu, 27 Nov 2008 13:31:05 +0000 (13:31 +0000)]
Add several missing assertions.

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

13 years agoFix the parameter typo, it should confirm to UEFI spec.
qhuang8 [Thu, 27 Nov 2008 13:22:23 +0000 (13:22 +0000)]
Fix the parameter typo, it should confirm to UEFI spec.

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

13 years agoMake HiiDatabase module not depend on HiiLib; otherwise it will inherit HII_DATABASE_...
qhuang8 [Thu, 27 Nov 2008 13:15:24 +0000 (13:15 +0000)]
Make HiiDatabase module not depend on HiiLib; otherwise it will inherit HII_DATABASE_PROTOCOL to its own dependency.

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

13 years agoFixed one bug when calculating timeout value in timeout function for UDP protocol.
vanjeff [Thu, 27 Nov 2008 09:46:01 +0000 (09:46 +0000)]
Fixed one bug when calculating timeout value in timeout function for UDP protocol.

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

13 years agoCheck In Build.exe and tools_def.template
lgao4 [Thu, 27 Nov 2008 09:15:52 +0000 (09:15 +0000)]
Check In Build.exe and tools_def.template
1. Declare entry point, constructor into AutoGen.h
2. Create ModuleNameStrDefs.h to contain uni code string ID.

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

13 years agoPass ICC building.
klu2 [Thu, 27 Nov 2008 09:11:41 +0000 (09:11 +0000)]
Pass ICC building.

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

13 years agoClean ECP for build failure.
xli24 [Thu, 27 Nov 2008 07:58:15 +0000 (07:58 +0000)]
Clean ECP for build failure.

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

13 years agoRemove GetCurrentLanguage () from UefiLib in MdePkg
qhuang8 [Thu, 27 Nov 2008 07:44:08 +0000 (07:44 +0000)]
Remove GetCurrentLanguage () from UefiLib in MdePkg

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

13 years agoAdd GetCurrentLanguage() to HiiLib in MdeModulePkg
qhuang8 [Thu, 27 Nov 2008 07:43:56 +0000 (07:43 +0000)]
Add GetCurrentLanguage() to HiiLib in MdeModulePkg

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

13 years ago1. Removal PalCallStatic API
qhuang8 [Thu, 27 Nov 2008 06:48:03 +0000 (06:48 +0000)]
1. Removal PalCallStatic API
2. Two two new ReadApplicationRegister.c(), ReadControlRegister.c() API together with its related definitions in BaseLib.h
3. Remove prototype of AsmSwitchStackAndBackingStore() in public BaseLib.h, it is supposed to be a worker function for AsmSwitchStack()

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

13 years agoAdd the AND of all architectural protocols for UEFI drivers. Build tool will optimize...
qhuang8 [Thu, 27 Nov 2008 06:44:33 +0000 (06:44 +0000)]
Add the AND of all architectural protocols for UEFI drivers. Build tool will optimize for size if the UEFI drivers only depends on these architecture protocol. Otherwise the final dependency will be AND APs AND extra dependency inherited from [depex] sections of library instances.

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

13 years agoUpdate PEIM entry point to follow PEIM entry point.
lgao4 [Thu, 27 Nov 2008 05:24:29 +0000 (05:24 +0000)]
Update PEIM entry point to follow PEIM entry point.

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

13 years agoUpdate PEIM entry point to follow PEIM entry point.
lgao4 [Thu, 27 Nov 2008 05:18:34 +0000 (05:18 +0000)]
Update PEIM entry point to follow PEIM entry point.

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

13 years agoUpdate PEIM entry point to follow PEIM entry point.
lgao4 [Thu, 27 Nov 2008 05:18:32 +0000 (05:18 +0000)]
Update PEIM entry point to follow PEIM entry point.

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

13 years agoAdd necessary CONST modifier.
xli24 [Thu, 27 Nov 2008 05:07:24 +0000 (05:07 +0000)]
Add necessary CONST modifier.

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

13 years agoAdd necessary CONST modifier.
xli24 [Thu, 27 Nov 2008 05:01:58 +0000 (05:01 +0000)]
Add necessary CONST modifier.

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

13 years agoAdd additional comments for structure definition.
lgao4 [Thu, 27 Nov 2008 04:53:43 +0000 (04:53 +0000)]
Add additional comments for structure definition.

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

13 years agoFix ICC building issue for DuetPkg
klu2 [Thu, 27 Nov 2008 04:37:39 +0000 (04:37 +0000)]
Fix ICC building issue for DuetPkg

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

13 years ago1) Initialize return value for UefiOp for all execution path.
qwang12 [Thu, 27 Nov 2008 02:43:22 +0000 (02:43 +0000)]
1) Initialize return value for UefiOp for all execution path.

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

13 years ago1) Change the return type of IfrLibFreeUpdateData to VOID.
qwang12 [Thu, 27 Nov 2008 02:34:39 +0000 (02:34 +0000)]
1) Change the return type of IfrLibFreeUpdateData to VOID.
2) Remove some unused #include and library instance.

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

13 years agoICC IA32 Cleanup.
qwang12 [Thu, 27 Nov 2008 02:22:59 +0000 (02:22 +0000)]
ICC IA32 Cleanup.

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

13 years agoFix ECC issue for PCD Dxe and Peim
klu2 [Thu, 27 Nov 2008 02:15:51 +0000 (02:15 +0000)]
Fix ECC issue for PCD Dxe and Peim

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

13 years agoFix ECC issue for GenericBdsLib
klu2 [Thu, 27 Nov 2008 02:07:59 +0000 (02:07 +0000)]
Fix ECC issue for GenericBdsLib

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

13 years agoGCC/ICC Cleanup.
qwang12 [Thu, 27 Nov 2008 02:05:01 +0000 (02:05 +0000)]
GCC/ICC Cleanup.

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

13 years agoFix constructor/destructor issue for DXE_DRIVER library instance.
qhuang8 [Thu, 27 Nov 2008 00:44:29 +0000 (00:44 +0000)]
Fix constructor/destructor issue for DXE_DRIVER library instance.

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

13 years agoFix constructor/destructor issue for DXE_RUNTIM_DRIVER library instance.
qhuang8 [Thu, 27 Nov 2008 00:42:04 +0000 (00:42 +0000)]
Fix constructor/destructor issue for DXE_RUNTIM_DRIVER library instance.

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

13 years agoFix bundle of issue for ICC build
klu2 [Wed, 26 Nov 2008 17:59:34 +0000 (17:59 +0000)]
Fix bundle of issue for ICC build

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

13 years agoPI defines the architectural way to get PeiServicesTablePointer from sizeof (UINTN...
qwang12 [Wed, 26 Nov 2008 11:28:02 +0000 (11:28 +0000)]
PI defines the architectural way to get PeiServicesTablePointer from sizeof (UINTN) bytes before the IDT table base. Add the runtime detection of PI version so that Mm7 Library instance is usable under PI 1.0 system.

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

13 years agoadd ULL suffix to Long Long number.
qwang12 [Wed, 26 Nov 2008 11:27:06 +0000 (11:27 +0000)]
add ULL suffix to Long Long number.

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

13 years agoadd ULL suffix to PEI_SERVICES_SIGNATURE
qwang12 [Wed, 26 Nov 2008 11:25:34 +0000 (11:25 +0000)]
add ULL suffix to PEI_SERVICES_SIGNATURE

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

13 years ago1) Add in SharingStringPack to make UpdateString only create/update string token...
qwang12 [Wed, 26 Nov 2008 11:02:31 +0000 (11:02 +0000)]
1) Add in SharingStringPack to make UpdateString only create/update string token in the String Packages that shares String Package with each other. For a String Token to be updated in a Package, TagGUID must be the same and SharingStringPack need to be true too.
If a package list has both String Package and Form Package registered, the Create/Update of String Token will only be done in this Package List.
2) Add in Doxygen Function headers.

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

13 years agoPcd Tools need .Map file when building a EFI binary for EBC tool chain.
klu2 [Wed, 26 Nov 2008 08:21:25 +0000 (08:21 +0000)]
Pcd Tools need .Map file when building a EFI binary for EBC tool chain.

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

13 years agoRemove BootSector from DSC of DuetPkg.
xli24 [Wed, 26 Nov 2008 07:51:07 +0000 (07:51 +0000)]
Remove BootSector from DSC of DuetPkg.

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

13 years agoFix the build failure of DuetBdsLib.
xli24 [Wed, 26 Nov 2008 07:21:58 +0000 (07:21 +0000)]
Fix the build failure of DuetBdsLib.

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

13 years agoSynchronize function comment in h file
gikidy [Wed, 26 Nov 2008 06:57:44 +0000 (06:57 +0000)]
Synchronize function comment in h file
with  c file instance of  this functions in MdePkg.

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

13 years agoFunction headers in .h and .c files synchronized with spec
jji4 [Wed, 26 Nov 2008 06:38:05 +0000 (06:38 +0000)]
Function headers in .h and .c files synchronized with spec

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

13 years agoAdd SEC as supported module types to follow MdeLib spec.
qhuang8 [Wed, 26 Nov 2008 04:52:59 +0000 (04:52 +0000)]
Add SEC as supported module types to follow MdeLib spec.

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

13 years agoRemove the EBC architecture support.
qhuang8 [Wed, 26 Nov 2008 04:40:50 +0000 (04:40 +0000)]
Remove the EBC architecture support.

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

13 years agoFunction headers in .h and .c files synchronized with spec
jji4 [Wed, 26 Nov 2008 04:36:05 +0000 (04:36 +0000)]
Function headers in .h and .c files synchronized with spec

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

13 years agoSynchronize function comment in
gikidy [Wed, 26 Nov 2008 03:26:37 +0000 (03:26 +0000)]
Synchronize function comment in
MdePkg\Library\CpuLib.h, DebugLib.h,DevicePathLib.h, DxeServicesLib.h, DxeServicesTableLib.h, ExtractGuidedSectionLib.h, HobLib.h
with the c file instance of  this functions in MdePkg.

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

13 years agoRemove checking for overflow in several Multiple functions in BaseLib, for it is...
qhuang8 [Wed, 26 Nov 2008 01:41:49 +0000 (01:41 +0000)]
Remove checking for overflow in several Multiple functions in BaseLib, for it is not feasible to check in C code.

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

13 years agoFix build warning generated by ICC and MSVC compilers.
jljusten [Wed, 26 Nov 2008 01:24:35 +0000 (01:24 +0000)]
Fix build warning generated by ICC and MSVC compilers.

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

13 years agoFixed an incorrect PCD type string conversion
jwang36 [Tue, 25 Nov 2008 09:59:02 +0000 (09:59 +0000)]
Fixed an incorrect PCD type string conversion

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

13 years agoFunction headers in .h and .c files synchronized with spec
jji4 [Tue, 25 Nov 2008 08:38:41 +0000 (08:38 +0000)]
Function headers in .h and .c files synchronized with spec

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

13 years agoFunction headers in .h and .c files synchronized with spec
jji4 [Tue, 25 Nov 2008 07:38:54 +0000 (07:38 +0000)]
Function headers in .h and .c files synchronized with spec

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

13 years agoSynchronize function comment in MdePkg\Library\BaseMemoryLib.h,CacheMaintenanceLib...
gikidy [Tue, 25 Nov 2008 07:25:14 +0000 (07:25 +0000)]
Synchronize function comment in MdePkg\Library\BaseMemoryLib.h,CacheMaintenanceLib.h  with the c file instance of  this functions.

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

13 years agoremove vendor specific fields to improve CDROM read performance.
vanjeff [Tue, 25 Nov 2008 07:00:27 +0000 (07:00 +0000)]
remove vendor specific fields to improve CDROM read performance.

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

13 years agoAdd PI_SPECIFICATION_VERSION = 0x00010000 for the following library instances, becau...
lgao4 [Tue, 25 Nov 2008 04:53:13 +0000 (04:53 +0000)]
Add PI_SPECIFICATION_VERSION  = 0x00010000 for the following library instances, because they depend on the new definitions in PI spec.

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

13 years agoSynchronize function comment in MdePkg\Library\BaseLib.h with the instance of this...
gikidy [Tue, 25 Nov 2008 03:19:49 +0000 (03:19 +0000)]
Synchronize function comment in MdePkg\Library\BaseLib.h  with the instance of  this functions.

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

13 years agoFix minor issues in GCC assembly. The operand is 64bit and "q" prefix should be applied.
qhuang8 [Tue, 25 Nov 2008 02:49:23 +0000 (02:49 +0000)]
Fix minor issues in GCC assembly. The operand is 64bit and "q" prefix should be applied.

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

13 years agoClean up the unused EDK_RELEASE_VERSION, PI_SPECIFICATION_VERSION and EFI_SPECIFICATI...
lgao4 [Tue, 25 Nov 2008 02:36:57 +0000 (02:36 +0000)]
Clean up the unused EDK_RELEASE_VERSION, PI_SPECIFICATION_VERSION and EFI_SPECIFICATION_VERSION from all the MdePkg INF files.

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

13 years agocode scrub
eric_tian [Tue, 25 Nov 2008 02:26:17 +0000 (02:26 +0000)]
code scrub

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

13 years agoFix ICC warnings
qhuang8 [Tue, 25 Nov 2008 00:45:35 +0000 (00:45 +0000)]
Fix ICC warnings

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