Commit Graph

1530 Commits

Author SHA1 Message Date
qhuang8 18e81d77cf Fix typos in comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7447 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 03:57:01 +00:00
mdkinney 3dc728fb14 Convert macros in the DevicePathLib to functions.
Addresses coding convention issues in the DevicePathLib
Should not cause any compatibility issues with any existing modules.
Adds ASSERT() checks for NULL device path nodes passed into these functions.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7445 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 01:46:55 +00:00
mdkinney 57dd2382b7 Add comment to explain use of the types "int" and "unsigned int" in the implementation of the BasePrintLib which does not follow the source code conventions used for the rest of the EDK II project.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7444 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-05 21:58:48 +00:00
mdkinney 4ab0dff338 1) Remove UEFI specific defines from IndustryStandard/PeImage.h
2) Add UEFI specific defines to Uefi/UefiBaseType.h
3) Update Base PE/COFF related libs to only use defines from IndustryStandard/PeImage.h


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7438 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-05 19:30:05 +00:00
lgao4 1862ebcfff Add Ppi/Guid/Protocol header file path into the comments for user reference.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7437 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-05 09:25:41 +00:00
qhuang8 7c90509158 Minor adjust the logic in BasePrintLib and fix several typos
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7432 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-04 10:59:54 +00:00
jji4 57a31578d3 use the GUIDed versions of events listed in all of our module/lib implementations: EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE and EVT_SIGNAL_EXIT_BOOT_SERVICES
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7418 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 08:50:03 +00:00
qhuang8 841c077074 Fix minor coding style issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7388 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-02 01:56:42 +00:00
qwang12 fc153004ff The PCD library function will do ASSERT if CallBackFunction is NULL according to Mde Library Specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7386 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-01 10:05:38 +00:00
lgao4 29666911f7 Add check when use *Pointer as Sd->mRight[*Pointer] to avoid out of Array bound.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7382 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-01 04:48:29 +00:00
mdkinney 65330ad394 Fix typos
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7379 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-30 01:25:06 +00:00
mdkinney bbc3c2d526 Split out Synchronization Library from Base Library
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7378 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-30 00:47:57 +00:00
mdkinney 720d3c5fb3 Split out Synchronization Library from Base Library
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7377 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-30 00:45:13 +00:00
lgao4 0ba7fffd25 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@7366 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-24 03:39:02 +00:00
qhuang8 75a3814159 Add ASSERT in case SalSystemTable is NULL.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7360 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-23 09:09:43 +00:00
lgao4 02313d1e79 Remove volatile for local Index, and Use Memory library functions to fix the reference to compiler intrinsic functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7359 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-23 08:44:26 +00:00
klu2 6a3f4ef96d DuplicateDevicePath() function use wrong comment same as AppendDevicePath() function.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7352 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-23 07:18:19 +00:00
qhuang8 6cf3743ceb Fix typos in Pcd token number
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7351 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-23 05:09:12 +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
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
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
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
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
jgong5 be973ff7f3 added newline after brief summary
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7289 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-16 00:01:10 +00:00
qhuang8 bcccf0b071 Apply BaseMemoryLib to replace the for loop.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7278 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-14 14:11:28 +00:00
vanjeff 03d77031fe 1. add gEfiDebugPortVariableGuid and gEfiDebugPortDevicePathGuid in MdePkg.dec, even though they are the same value with gEfiDebugPortProtocolGuid.
2. Meta data clean up.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7271 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-14 09:37:44 +00:00
jji4 0bb0f0c95d INF extension reviewed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7270 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-14 07:58:44 +00:00
vanjeff ad951a3714 To pass ICC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7268 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-14 07:45:27 +00:00
vanjeff 1553d07363 fixed assumption 32bit Local Apic timer counter.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7266 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-14 03:05:45 +00:00
klu2 4e6a198ccc Add UefiBootServicesTableLib library class reference in HobLib, because if no, the autogen code will generate wrong order for calling library constructor.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7263 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-13 09:51:50 +00:00
klu2 46231010bd Roll back ASSERT which is break DUET boot.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7252 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-13 06:17:52 +00:00
xli24 63d7211ebc Fix the bug that EntryPoint of DisablePaging64() is corrupted.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7250 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-13 04:20:22 +00:00
jji4 0f46efecd5 INF extension reviewed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7235 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 07:48:37 +00:00
gikidy 34b0820ec6 INF file verified, and Coding Style reviewed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7232 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 07:23:31 +00:00
jji4 9b488a3992 INF extension reviewed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7223 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 04:03:39 +00:00
jji4 fce9f9bba0 INF extension reviewed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7217 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-08 09:16:45 +00:00
vanjeff a72edceb9a minimum update function header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7212 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-08 08:28:31 +00:00
vanjeff 0a6c0fd563 Update function header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7210 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-08 08:20:28 +00:00
jji4 1727a8c649 INF extension reviewed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7209 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-08 08:07:55 +00:00
jji4 340ffb0920 Memory overflow verified
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7204 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-07 09:49:12 +00:00
gikidy d6039b1d6e Fix memory overflow.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7203 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-07 09:45:18 +00:00
lgao4 9833a9bb6c Add check for Zero Relocation section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7197 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-07 02:02:39 +00:00
qhuang8 884c8bc047 Temporarily remove the assertions and we may find some error handling way to address potential dereference to NULL pointer.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7173 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-04 03:38:23 +00:00
gikidy 03bd58dc4b Add some ASSERT()s to avoid NULL reference.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7162 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-31 07:24:49 +00:00
qhuang8 373ade0eb6 Update copyright for files modified in this year
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7148 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-29 14:07:07 +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 0c323d071d code scrub ArpDxe
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7113 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-24 05:26:57 +00:00
vanjeff bcb85cda9d updated some comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7106 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-24 00:11:16 +00:00
jgong5 402fa70fc9 Scrubbed some code for Ip4ConfigDxe.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7100 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-23 08:23:43 +00:00
qhuang8 407310479c detab
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7089 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-22 12:50:45 +00:00