Commit Graph

6166 Commits

Author SHA1 Message Date
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
zliu3 b058028b67 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
2008-11-29 04:01:15 +00:00
niry 85511ddf72 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
2008-11-28 08:32:24 +00:00
qhuang8 34ffd1bbb5 Refine the comments in PciSegmentLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6773 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-28 06:14:55 +00:00
jwang36 1a974389fd 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
2008-11-28 06:11:32 +00:00
jwang36 b3b6a070d0 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
2008-11-28 06:09:25 +00:00
jji4 d5979dc030 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
2008-11-28 02:18:02 +00:00
qwang12 48a59ce09a 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
2008-11-28 01:21:54 +00:00
qwang12 bad2ca8ed0 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
2008-11-28 01:21:29 +00:00
qhuang8 bfd89145aa 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
2008-11-27 14:08:09 +00:00
qhuang8 657073df4f Add several missing assertions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6766 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 13:31:05 +00:00
qhuang8 008dfe313e 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
2008-11-27 13:22:23 +00:00
qhuang8 8db9d51d78 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
2008-11-27 13:15:24 +00:00
vanjeff 0891b0a2cb 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
2008-11-27 09:46:01 +00:00
lgao4 abf1c3e47f 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
2008-11-27 09:15:52 +00:00
klu2 2b7d16cf8c Pass ICC building.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6761 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 09:11:41 +00:00
xli24 88b6bcec9d Clean ECP for build failure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6760 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 07:58:15 +00:00
qhuang8 286f1bd2a9 Remove GetCurrentLanguage () from UefiLib in MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6759 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 07:44:08 +00:00
qhuang8 11e9250309 Add GetCurrentLanguage() to HiiLib in MdeModulePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6758 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 07:43:56 +00:00
qhuang8 aad6137d5c 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
2008-11-27 06:48:03 +00:00
qhuang8 8f446d021f 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
2008-11-27 06:44:33 +00:00
lgao4 a55caa5335 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
2008-11-27 05:24:29 +00:00