Commit Graph

7107 Commits

Author SHA1 Message Date
klu2 cb26370805 Fix issue from code scrub.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7349 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-23 03:32:01 +00:00
lgao4 9872985bb1 Add check when use Index as Array [Index] to avoid out of Array bound.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7348 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-22 15:40:06 +00:00
lgao4 80882266ed Add check after allocate pool.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7347 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-22 14:09:21 +00:00
vanjeff 60c65d37e2 remove klocwork issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7346 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-22 09:07:53 +00:00
klu2 bc7e600329 DuplicateDevicePath() function use wrong comment same as AppendDevicePath() function.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7345 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-22 08:21:30 +00:00
xli24 7a79628e35 Add check for NULL pointer.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7344 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-22 05:03:14 +00:00
qwang12 f67cc2c229 Update the DSC file name based on the directory name change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7342 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:21:50 +00:00
qwang12 a0e221ae23 Update the INF file name based on the directory name change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7341 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:17:15 +00:00
qwang12 b650f5041f Update the INF file name based on the directory name change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7340 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:16:47 +00:00
qwang12 1127174f67 Update the INF file name based on the directory name change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7339 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:15:55 +00:00
qwang12 7bd045975f Update the INF file name based on the directory name change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7338 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:14:55 +00:00
qwang12 08e409cbae Update the INF file name based on the directory name change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7337 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:14:04 +00:00
qwang12 9d006d26b9 Update the INF file name based on the directory name change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7336 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:13:20 +00:00
qwang12 0978682740 Update the INF file name based on the directory name change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7335 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:12:54 +00:00
qwang12 8460a812c2 Update the INF file name based on the directory name change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7334 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:12:30 +00:00
qwang12 b11dcd84fa Update the INF file name based on the directory name change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7333 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:12:07 +00:00
qwang12 dcb6a8bf71 Update the INF file based on the change to direcotry and file name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7332 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:10:55 +00:00
qwang12 5c6926d4cd Update the INF file based on the change to direcotry and file name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7331 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:09:58 +00:00
qwang12 f275c91cca Update the INF file based on the change to direcotry and file name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7330 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:09:30 +00:00
qwang12 186bc15553 Rename module name from ***To*** to ***On***. AAAOnBBB means this module produce AAA Protocol/PPI based on BBB. This change improves the readability.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7329 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 09:48:54 +00:00
qwang12 4c9c0f719d Rename module name from ***To*** to ***On***. AAAOnBBB means this module produce AAA Protocol/PPI based on BBB. This change improves the readability.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7328 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 09:47:43 +00:00
lgao4 96827f1756 Correct FeatureFlagExpress PCD format based on INF spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7327 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 07:25:23 +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
eric_tian 29dd3b04b0 Fix Klocwork warning. We should directly return EFI_INVALID_PARAMETER when BufferSize is NULL.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7323 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 04:56:24 +00:00
vanjeff 7efb1d8996 adjust code to remove Klocwork issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7322 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 03:17:15 +00:00
lgao4 9d35ff8b32 Enhance GenFw tool to zero PeImage .xdata section (free form exception data) unused in BIOS, which can increase the compression ratio for the BIOS image.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7321 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 01:50:10 +00:00
qwang12 40a06b0ca8 K8:
1) Replace immediate constant with MACRO.
2) Add in ASSERT for NULL before dereferencing pointers and after memory allocation.
3) Add a return statement in ProcessOptions to handle the mismatch between the value stored and the opcode for one-of-option in orderedlist opcode. This case occurs when the one-of-optoin entry in OrderedList get deleted.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7320 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-20 12:55:02 +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
gikidy 16a747ed5e Add some info for some PCD controlled GUIDs and Protocols.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7318 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-20 05:13:35 +00:00
gikidy 32e24669c2 Meta-data review.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7317 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-20 04:57:29 +00:00
jji4 79864f54ce Source level security checked
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7316 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-20 04:17:05 +00:00
klu2 ba992f96fa 1, Add logo.bmp to fv file for showing it in graphic mode
2, Hard code timeout to 5 second.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7315 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-20 03:23:21 +00:00
gikidy 7fa5d6e149 Meta-data review.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7314 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-20 03:07:20 +00:00
gikidy a503cc6971 Meta-data review.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7313 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-20 03:04:55 +00:00
gikidy f50cf5032a Meta-data review.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7312 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-20 03:01:44 +00:00
eric_tian f34aec3bc8 coding style
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7311 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-20 03:01:41 +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
qwang12 d0720b5706 K8:
Add in "check-for-null" to catch the de-reference of NULL pointer.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7309 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-20 01:55:11 +00:00
qwang12 96ff65a1fb K8:
1) Fix the bug the assert conditions. || should be &&.
2) Add in code path and check-for-null-pointer to do error handling.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7308 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-20 01:52:02 +00:00
qwang12 5a829f5688 K8: add new variable PasswordSize to remove immeidate constant.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7307 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-20 01:48:39 +00:00
qhuang8 d64ac71565 Add ASSERT in case SalSystemTable is NULL.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7306 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-19 08:29:55 +00:00
jji4 1ac628eee0 Assertions added
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7305 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-19 07:58:58 +00:00
hfang 8ca67c468b Update For Review
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7304 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-19 07:00:28 +00:00
jji4 c59634eab6 Source level security checked
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7303 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-19 06:55:18 +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
jji4 49fabc83a5 Source level security checked
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7301 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-19 05:23:02 +00:00
qhuang8 a2bc29c4b1 Fix a bug that length might be a negative value for worker function BasePrintLibFillBuffer(). In view of this, it is better to reuse for loop to fill the buffer.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7300 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-19 05:18:23 +00:00
gikidy 3069bc1944 Add some ASSERT()s.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7299 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-19 01:55:14 +00:00