Commit Graph

1006 Commits

Author SHA1 Message Date
vanjeff 28ca72bc97 Changing unsigned int into UINTN according to code review comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5960 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-24 08:31:38 +00:00
vanjeff 5385a57969 clean up baselib according to review comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5958 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-24 05:30:40 +00:00
xli24 24dcb5e50a Update BaseLib according to code review comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5956 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-24 04:17:16 +00:00
xli24 13c3803149 Refine code for MdePkg/Include/Ppi according to code review comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5951 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-23 07:55:57 +00:00
xli24 c7c308ad48 Refine code for PiPeiCis.h according to code review comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5950 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-23 07:52:06 +00:00
klu2 7f1eba7b99 Cleanup "Tiano" word.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5942 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-22 05:22:41 +00:00
klu2 e20a8c69b1 Code clean up
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5941 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-22 02:48:13 +00:00
qwang12 36c9465c6d updated the incompatible list.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5940 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-21 08:59:01 +00:00
qwang12 f8d18bada5 HiiLibGetCurrentLanguage returns the current UEFI variable "PlatformLang" (if this variable does not exist, a default value is returned). This function is called by HiiDatabase itself. Now, HiiLibGetCurrentLanguage is in HiiLib. Because of this, we can't add location of Hii protoocol in the library constructor of HiiLib. This cause Hii Database driver never get loaded (circular dependency).
By moving HiiLibGetCurrentLanguage to UefiLib, library constructor (depex) can be added back to HiiLib to make sure the execution order is correct.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5938 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-21 08:50:52 +00:00
lgao4 7338117bbf remove the unused msa/npsd files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5936 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-20 06:18:16 +00:00
lgao4 2a5f2a5036 Update these library instances module type to UEFI_DIRVER, because they only depends on UEFI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5931 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-19 06:22:44 +00:00
lgao4 c481196831 Update Library description for BaseMemoryLibOptDxe and BaseMemoryLibOptPei.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5929 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-19 04:38:53 +00:00
lgao4 2bfb60098f 1. Change 0 == Length style to Length == 0
2. Clean BasePeCoff library instance, only keep one copy PeCoffLoaderEx.c file for IA32, X64 and IPF arch
3. Clean the confused comments

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5927 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-18 14:27:39 +00:00
vanjeff 1efcc4ae46 remove unnecessary comments introduced by tools from MdePkg. The regular express is "//^p//[ ]Include[ ]common[ ]header[ ]file[ ]for[ ]this[ ]module[.]^p//"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5911 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-17 07:46:17 +00:00
qwang12 91496a547d Update the comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5910 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-17 03:02:04 +00:00
jljusten a04ad3f01f MdePkg/Include/Uefi/UefiTcgPlatform.h:
MdePkg/Include/Protocol/TcgService.h:
MdePkg/Include/IndustryStandard/Tpm12.h:
* Remove usage of '#pragma push' unsupported usage which is not
  supported by GCC.

MdeModulePkg/Universal/Network/PxeBcDxe/Pxe_bc_dhcp.c:
* Fix a warning encountered with GCC/IPF when Index2 (as a INT8) is
  used as an index to an array on lines 2020 & 2028.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5905 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-16 16:53:12 +00:00
eric_tian f6d7003d5f move BUGBUG comments and add some comments to comply with Spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5897 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-16 07:13:42 +00:00
klu2 8335866b0b Correct module type for library UefiBootServicesTableLib and UefiRuntimeServicesTableLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5895 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-16 06:44:15 +00:00
eric_tian f944ec32e7 follow up code review
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5894 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-16 06:13:42 +00:00
eric_tian f73e0ad215 follow up code review
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5893 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-16 06:01:21 +00:00
eric_tian 55f298c3a3 follow up the comments from code review.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5892 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-16 05:22:09 +00:00
klu2 9edc73ada4 Code clean up.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5890 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-16 02:12:35 +00:00
vanjeff 835849540d remove '../' from Base Library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5878 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-11 09:12:14 +00:00
vanjeff 3ec9bc1557 move and rename it
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5877 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-11 09:08:12 +00:00
vanjeff 5dedabbb4e Clean up BaseIoLibIntrinsic according to review comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5876 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-11 08:59:52 +00:00
qhuang8 43d2502010 Append the change log for the non-backward compatibility change in Edk r5869.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5871 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-10 16:13:07 +00:00
qhuang8 3fef0f51d8 1. Add new macro: ALIGN_VALUE to round up a value to the next boundary of a given alignment.
2. Update ALIGN_POINTER to use the new macro
3. Drop the second parameter of ALIGN_VARIABLE for simplicity. It can also directly use the new macro ALIGN_VALUE. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5869 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-10 16:00:20 +00:00
eric_tian c57da111f7 cleanup some comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5864 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-09 07:11:51 +00:00
eric_tian e3a7917f2e fix build issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5863 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-09 06:45:35 +00:00
eric_tian 1106ffe1c0 Function description in baselib.h is not clear. change it to comply with Doxgen format.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5862 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-09 06:22:30 +00:00
vanjeff 2b1532df6d changed the format when use "=="
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5859 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-09 05:28:47 +00:00
klu2 4efb2b4d92 Fix the wrong fixing for hardcore value 7.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5857 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-09 05:19:30 +00:00
klu2 f008fc323b Code cleanup for library instances in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5856 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-09 04:41:59 +00:00
vanjeff e31c47b99a fixed typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5855 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-09 03:19:37 +00:00
qhuang8 f83933cff0 Fix typo
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5850 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 23:27:26 +00:00
qhuang8 a4c47ba324 Add missing gEfiFirmwareFileSystem2Guid in INF [Guids] section
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5849 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 23:25:14 +00:00
qwang12 3a26bb17af 1) Add CONST to the pointer type input parameter.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5848 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 12:54:26 +00:00
qwang12 23a2150bcf 1) Add CONST to the pointer type input parameter.
2) Use global variable and AllocateCopyPool to save the size of generated binary.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5847 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 12:53:50 +00:00
qwang12 7c80ae1b31 add incompatbility changes's description about NULL_HANDLE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5845 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 10:00:24 +00:00
klu2 6cff95cd69 use UnicodeVSPrintAsciiFormat, UnicodeSPrintAsciiFormat to simplify code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5844 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 09:08:26 +00:00
klu2 7c6d32a564 use UnicodeVSPrintAsciiFormat, UnicodeSPrintAsciiFormat to simplify code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5843 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 09:08:04 +00:00
klu2 7c366ec9ca wrong comment for "Unicode" string.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5842 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 08:35:54 +00:00
klu2 2cb3369a49 remove unused library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5841 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 08:26:45 +00:00
klu2 802b8312a2 remove unused include file for library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5840 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 08:23:28 +00:00
xli24 4b503a775e Minor update for PI include files according to code review comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5839 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 07:55:40 +00:00
lgao4 52cd71dca9 Update UefiScsiLib to add ASSERT comments and define new macros to replace the hard code value.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5838 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 05:56:40 +00:00
qwang12 fe21b1a6c1 Add in incompatibility note.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5837 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 05:51:14 +00:00
qwang12 681b5c23c4 Remove NULL_HANDLE. NULL_HANDLE should be replaced with NULL as consistency. For now, only DXE core is using this macro.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5835 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 05:00:44 +00:00
lgao4 11ceade4ba Add Usb Hid class request type into IndustryStandard/Usb.h, and replace the hard value in UefiUsbLib by them.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5834 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 04:59:00 +00:00
lgao4 cc4e048504 Correct the wrong '?' character to '-', and add check DestinationBuffer == SourceBuffer for CompareMem functions in all BaseMemory library instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5831 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 01:24:16 +00:00