Commit Graph

6237 Commits

Author SHA1 Message Date
gikidy 1f13f1c49a Follow the Mde_Lib_Spec to fix the function PeCoffLoaderUnloadImage() IN/OUT issue about definition and implementation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6826 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 02:03:39 +00:00
gikidy 0465a73e02 Follow the Mde_Lib_Spec to fix the function PeCoffLoaderUnloadImage() IN/OUT issue about definition and implementation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6825 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 02:03:14 +00:00
qwang12 d87a4d5757 UNIX GCC cleanup: file name is case sensitive.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6824 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 01:32:07 +00:00
qhuang8 b52f6a1ad8 Add CONST modifier for "Buffer" parameter in LibPcdSetPtr()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6823 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-03 15:38:24 +00:00
qwang12 53cf48e083 Update function comment and use MdePkg Library FreePool function.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6822 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-03 14:23:46 +00:00
qwang12 53dff89953 Update function comment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6821 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-03 14:22:56 +00:00
qwang12 aa274d2a3a 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@6820 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-03 13:53:50 +00:00
qwang12 81c56b8d1a Unix GCC cleanup:
File name is case sensitive.
Foward slash is used.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6819 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-03 13:50:50 +00:00
gikidy cfc8865f17 Remove some useless EDK_RELEASE_VERSION, EFI_SPECIFICATION_VERSION ,and review VALID_ARCHITECTURES in inf files with DSC file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6818 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-03 09:08:05 +00:00
lgao4 346cf9ace3 Code scrub for MdeModule Include header file (Protocol and DEC)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6817 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-03 08:55:36 +00:00
jji4 aa79b0b379 Global variables have been moved backward ahead of functions.
Only a few cases were left due to its module structure.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6816 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-03 08:52:39 +00:00
qhuang8 4058e906c1 Clean up to fix build break.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6815 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-03 07:28:34 +00:00
rsun3 ff6bf04b8b 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
2008-12-03 06:47:39 +00:00
qhuang8 f053287da2 Fix entry point prototype.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6813 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-03 06:20:14 +00:00
qhuang8 cef5294b12 Fix entry point prototype.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6812 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-03 06:17:59 +00:00
qhuang8 baadbb8498 Fix entry point prototype.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6811 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-03 06:16:22 +00:00
qhuang8 f49a99ed2d Fix entry point prototype.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6810 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-03 06:15:10 +00:00
qhuang8 7a944d06b0 Fix constructor prototype.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6809 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-03 06:13:05 +00:00
qhuang8 5a31161acd Fix typo in function prototype.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6808 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-03 05:30:10 +00:00
qhuang8 be5f161485 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
2008-12-03 02:19:49 +00:00
qwang12 f90eb36c15 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
2008-12-02 14:35:15 +00:00
vanjeff 8ad4884016 remove DEFIO_PCI_ADDRESS from MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6805 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-02 08:57:46 +00:00
vanjeff 9cf53f0060 adjust codes.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6804 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-02 08:19:15 +00:00
vanjeff 427987f5bc 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
2008-12-02 08:15:14 +00:00
vanjeff 1fc0ee170c remove duplicated #pragma pack().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6802 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-02 08:14:09 +00:00
klu2 e6b7d45e9d 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
2008-12-02 08:09:28 +00:00
klu2 7e6a7a6378 Fix doxygen comment for structure definitions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6800 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-02 05:52:37 +00:00
klu2 aa4df54773 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
2008-12-01 19:09:01 +00:00
qhuang8 bf428cb388 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
2008-12-01 14:42:26 +00:00
qhuang8 c8cc44c4b2 Remove several over-specific issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6796 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01 14:40:23 +00:00
qhuang8 ff7630cc70 De-Unicode in MdePkg source files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6795 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01 14:13:51 +00:00
qhuang8 cd2ed84a47 De-Unicode in MdePkg source files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6794 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01 14:06:25 +00:00
qhuang8 f6998888a2 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
2008-12-01 13:52:44 +00:00
qhuang8 2d8a3c1354 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
2008-12-01 13:51:41 +00:00
qhuang8 16f476fbb8 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
2008-12-01 13:50:11 +00:00
qhuang8 0057fda613 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
2008-12-01 13:46:34 +00:00
xli24 b17f9e9526 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
2008-12-01 07:39:11 +00:00
klu2 891193ee4f 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
2008-12-01 07:34:29 +00:00
qwang12 03254710db 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
2008-12-01 07:16:55 +00:00
klu2 b0dd810861 Code scrub for GenericBdsLib library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6786 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01 05:55:58 +00:00
qwang12 168da756c6 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
2008-12-01 02:39:49 +00:00
qwang12 0fc1f8f234 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
2008-12-01 02:38:31 +00:00
qwang12 6bc3c115ba GCC cleanup: forward slash used.o
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6783 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01 02:32:20 +00:00
lgao4 ac7e320cb8 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
2008-12-01 02:32:12 +00:00
vanjeff 48bd50c5a1 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
2008-12-01 01:59:45 +00:00
jwang36 0e4d589e91 Fixed regression bug HSD201375
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6780 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-29 12:20:14 +00:00
qwang12 6800062768 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
2008-11-29 09:09:03 +00:00
qwang12 ba428fb4ed 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
2008-11-29 07:38:29 +00:00
qwang12 d437caa0fa 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
2008-11-29 07:37:49 +00:00
qwang12 bc4c047f7b 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
2008-11-29 07:36:43 +00:00