Commit Graph

221 Commits

Author SHA1 Message Date
qwang12 3018ca2d36 1) Clean up the INF and add in comment to describe the surface area of modules
2) Minor comment fix.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7413 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 02:23:03 +00:00
qwang12 0ea756d403 Update the comment section of INF to add in more meta data description.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7393 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-02 07:38:16 +00:00
lgao4 6426c8ffb4 Add comments for these header files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7364 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-23 14:45:13 +00:00
xli24 7772b1760f Update for Meta data.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7361 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-23 10:01:51 +00:00
klu2 c516c7178a Move BdsDxe and GenericBdsLib to IntelFrameworkModulePkg, these modules need dependent on gEfiLegacyBiosProtocol to provide legacy boot support. But legacy boot is not described by PI/UEFI specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7353 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-23 07:23:46 +00:00
klu2 485a505713 Add more checkpoint for deference pointer.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7350 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-23 04:45:48 +00:00
gikidy 364a232c4a Meta-data reviewed and verified.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7326 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 07:08:57 +00:00
qhuang8 a833f286fb Update to add the ASSERT()s in the right place.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7325 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 05:37:27 +00:00
qwang12 4a1102c9ae K8:
1) add in more ASSERT condition and updates the comment for HexStringToBuf.
2) Check the pointer returned by HiiLibGetHiiHandles.



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7324 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 05:33:41 +00:00
gikidy 7bfc66a284 Meta-data review.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7319 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-20 08:27:13 +00:00
qwang12 fa7b3168fd K8:
1) Add in "check-for-null" before dereferencing a pointer.
2) unify the handling of EFI_OUT_OF_RESOURCE case.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7310 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-20 02:00:46 +00:00
gikidy 8c80d3942e Add some ASSERT()s.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7302 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-19 06:34:35 +00:00
ywu21 e3c8c68a76 fix minor comment error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7261 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-13 08:55:27 +00:00
ywu21 8f5e6151d5 fix file header issues
add . at the end of lines

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7259 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-13 08:48:19 +00:00
ywu21 9685879299 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7258 6f19259b-4bc3-4df7-8a09-765794883524 2009-01-13 08:47:31 +00:00
xli24 81464cf106 Update for code security.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7255 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-13 08:29:55 +00:00
ywu21 6aac5e5ff0 checking coding style issues:
correct include file path
delete unused include files
fix ECC error and so on

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7241 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-12 02:32:20 +00:00
lgao4 e561879137 Add INF extension Information
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7228 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 06:26:42 +00:00
gikidy 0d401d4d9c 1. Add some ASSERT();
2. Fix some typo.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7184 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-05 09:34:40 +00:00
jji4 54656366f9 1.Coding style checked
2.CompareMem() replaced by CompareGuid()


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7182 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-05 05:33:03 +00:00
lgao4 779808545d Fix VS2005 build error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7181 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-05 02:20:16 +00:00
qwang12 3a306c1006 Replace CopyMem() which can be replaced by BaseLib's Read/WriteUnalianedXX() as these are applied to base data type such as UINT32.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7175 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-04 06:01:35 +00:00
lgao4 109e9a6156 Code scrub for the following drivers and librarys.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7172 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-04 03:20:55 +00:00
vanjeff 9216450d11 remove unnecessary check for NULL pointer.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7166 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-31 08:05:18 +00:00
gikidy 3fd8027ee5 Fix some typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7160 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-31 06:06:57 +00:00
jgong5 e6ff63a514 enhanced function header
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7157 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-30 12:26:40 +00:00
vanjeff 73e4adbe68 fixed potential NULL pointer reference issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7146 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-29 07:10:16 +00:00
jgong5 ca9d3a9ded Add () after function name so that Doxygen can create reference in doc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7145 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-29 03:49:50 +00:00
ywu21 b9008c87eb git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7144 6f19259b-4bc3-4df7-8a09-765794883524 2008-12-29 01:28:11 +00:00
jgong5 f51f406037 Fix OPTIONAL usage
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7139 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-26 09:12:58 +00:00
jgong5 cab450ccda Add more comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7138 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-26 09:09:02 +00:00
niry 9bc4edf21a git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7125 6f19259b-4bc3-4df7-8a09-765794883524 2008-12-25 14:17:24 +00:00
niry 32cf7c7383 Add more comments to describe the net buffer operation functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7124 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-25 13:39:12 +00:00
lgao4 68dbca6c14 Code Clean for Driver PlatformDriOverrideDxe and PlatOverMngr application. And Clean PlatDriOver library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7121 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-25 09:13:53 +00:00
ywu21 9fbc74499e Pure UEFI code should not include “PiDxe.h” & “PiPei.h”
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7116 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-24 13:52:48 +00:00
ywu21 2d0eeb366b Pure UEFI code should not include “PiDxe.h” & “PiPei.h”
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7115 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-24 13:50:38 +00:00
qhuang8 48557c6550 Code scrub DxeIpl, Runtime, DevicePath, FvbServicesLib, DiskIo, Partition, English, EBC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7105 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-23 16:20:43 +00:00
ywu21 6c5dc2b0bf pure UEFI should not include “PiDxe.h” and “PiPei.h”
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7101 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-23 09:18:06 +00:00
ywu21 9a3293ac5c Fix filer header
Fix function header
Fix return status issues
Fix  in out issues
group functions source files reasonably to avoid duplicate functions declarations

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7098 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-23 07:35:46 +00:00
ywu21 3e7104c26f Remove #include <Protocol/LoadedImage.h>
Remove //#include <Protocol/Ip4.h>
Remove  #include <Library/UefiLib.h>
Fix one function header description error

Fix filer header
Fix function header
Fix return status issues
Fix  in out issues
Fix  no Boolean expression issues


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7096 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-23 07:22:15 +00:00
gikidy dfe687cad5 Fix some typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7067 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-17 09:35:12 +00:00
qhuang8 f3f2e05db8 Clean up to update the reference of the these macros:
EFI_SIGNATURE_16 -> SIGNATURE_16
  EFI_SIGNATURE_32 -> SIGNATURE_32
  EFI_SIGNATURE_64 -> SIGNATURE_64
  EFI_FIELD_OFFSET -> OFFSET_OF
  EFI_MAX_BIT      -> MAX_BIT
  EFI_MAX_ADDRESS  -> MAX_ADDRESS
These macros are not defined in UEFI spec. It makes more sense to use the equivalent macros in Base.h to avoid alias.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7056 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-16 15:34:21 +00:00
qhuang8 74935bd732 Fix a missing doxygen parameter entry.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7038 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-15 16:03:37 +00:00
qhuang8 857dfc455d Code scrub performance library instances in MdeModulePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7037 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-15 15:56:02 +00:00
jji4 5f087507ee INF head modified
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7003 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-12 03:00:18 +00:00
jji4 6f3156155b INF head modified
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7002 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-12 01:27:36 +00:00
xli24 4eac2175c6 Fix the issue that memory for device path is incorrectly freed, which leads to the bug that Richford recovery fails.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7001 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-11 15:59:27 +00:00
lgao4 cebc8d486e Code Scrub for Pcd, PlatformDriOverride and PlatOverMngr driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6998 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-11 09:30:13 +00:00
qwang12 fca1cc7199 Make use of MdePkg's FreePool library function to replace gBS->FreePool.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6982 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-11 02:09:57 +00:00
klu2 2bd6a5f8a5 Fix typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6927 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-09 05:27:04 +00:00