Commit Graph

802 Commits

Author SHA1 Message Date
qhuang8 23c98c9417 Update to fix minor coding style issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5256 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 01:40:12 +00:00
qhuang8 3b1d9fd579 Change the file name case to follow coding style: The first character should be capital.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5255 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 01:10:16 +00:00
qhuang8 b21f513659 Change the file name case to follow coding style: The first character should be capital.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5254 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 01:06:28 +00:00
qhuang8 1424518bd2 Change the file name case to follow coding style: The first character should be capital.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5253 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 01:05:39 +00:00
qhuang8 ae91108427 Change the file name case to follow coding style: The first character should be capital.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5252 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 01:05:17 +00:00
qhuang8 cc907d1264 Change the file name case to follow coding style: The first character should be capital.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5251 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 01:04:53 +00:00
qhuang8 ecc7f77e91 Change the file name case to follow coding style: The first character should be capital.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5250 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 01:04:28 +00:00
qhuang8 924c766d6f Change the file name case to follow coding style: The first character should be capital.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5249 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 01:03:34 +00:00
qhuang8 d614b00ae0 Change the file name case to follow coding style: The first character should be capital.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5248 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 01:02:35 +00:00
qhuang8 7ad23c3cea Change the file name case to follow coding style: The first character should be capital.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5247 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 01:02:02 +00:00
qhuang8 6cea0db87c Change the file name case to follow coding style: The first character should be capital.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5246 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 01:00:57 +00:00
qhuang8 3a610a1877 Change the file name case to follow coding style: The first character should be capital.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5245 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 01:00:25 +00:00
qhuang8 91ee5ef167 Change the file name case to follow coding style: The first character should be capital.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5244 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 00:59:13 +00:00
qhuang8 d4a9eca19a Change the file name case to follow coding style: The first character should be capital.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5243 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 00:58:42 +00:00
qhuang8 4f1faae809 Change file name case to follow coding style:The first character should be capital.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5242 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 00:56:56 +00:00
qwang12 2003367947 Move gPeiReadonlyVariableThunkPresentPpiGuid to EdkCompatibilityPkg/EdkCompatibilityPkg.dec which is a more proper package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5230 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-20 09:13:34 +00:00
qwang12 a9c908f298 add gPeiReadonlyVariableThunkPresentPpiGuid
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5223 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-19 09:39:08 +00:00
eric_tian 356e635c15 [Description]
Memory may leak because the handles in IScsiUpdateDeviceList is not freed if the "iSCSIDeviceList" already exists
[Impaction]
add Free() func to free memory properly.
[Reference Info]
The Handles in IScsiUpdateDeviceList is not freed if the "iSCSIDeviceList" already exists

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5211 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-16 07:14:25 +00:00
qhuang8 ea7cb08c0a Minor coding style adjustment for DiskIo, Partition, English and Ebc modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5200 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-14 06:07:07 +00:00
qwang12 d29270810c Add in example on
1) how to add SAFE_DEFAULT and MFG_DEFAULT in a formset.
2) how to specify a MFG_DEFAULT for a checkbox.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5199 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-14 02:20:02 +00:00
qhuang8 708919bef7 Minor coding style adjustment for DxeIpl.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5197 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-13 09:09:41 +00:00
qhuang8 db405d1b89 Minor coding style adjustment for DxeCore.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5196 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-13 09:09:11 +00:00
qhuang8 366219abde Fix the prediction warnings in EBC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5195 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-13 09:07:59 +00:00
qhuang8 8e3bc754c5 Add doxygen style comments for functions in EBC module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5194 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-13 08:46:12 +00:00
qhuang8 71f68914fa Fix the prediction warnings in DxeMain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5190 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-09 07:52:58 +00:00
qhuang8 162ed59443 Add doxygen style comments for functions in DxeMain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5189 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-09 07:08:30 +00:00
jljusten f703388007 edk2/MdeModulePkg/Universal/PcatRealTimeClockRuntimeDxe/PcRtc.c:
Add type casting to fix warning generated by the Intel compiler.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5187 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-08 16:53:42 +00:00
qhuang8 a8d0c20e7a Add doxygen style comments for functions in Partition & Disk IO modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5182 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-08 04:17:44 +00:00
qhuang8 61e334303b Add doxygen style comments for functions in English module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5179 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-08 03:10:39 +00:00
qhuang8 91d92e2564 Add doxygen style comments for functions in DxeIpl.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5174 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-07 06:58:06 +00:00
qhuang8 cc582cffd1 Rename the confusing PCD.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5169 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-06 09:34:46 +00:00
lgao4 ec35e997ad Enable storage of daylight saving and time zone data of SetTime() service, and fix bug of SetWakeupTime() service.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5168 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-06 05:38:06 +00:00
qwang12 391cdf43a2 Remove the non-standard definition: GLYPH_WIDTH and GLYPH_HEIGHT. All reference to these name should use the standard name defined in UEFI 2.1 specification which are EFI_GLYPH_WIDTH and EFI_GLYPH_HEIGHT
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5138 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-28 07:39:24 +00:00
qwang12 0898c57ce7 Remove the non-standard definition: GLYPH_WIDTH and GLYPH_HEIGHT. All reference to these name should use the standard name defined in UEFI 2.1 specification which are EFI_GLYPH_WIDTH and EFI_GLYPH_HEIGHT
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5137 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-28 07:38:25 +00:00
qwang12 a0b629b12e Remove the non-standard definition: GLYPH_WIDTH and GLYPH_HEIGHT. All reference to these name should use the standard name defined in UEFI 2.1 specification which are EFI_GLYPH_WIDTH and EFI_GLYPH_HEIGHT
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5136 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-28 07:37:37 +00:00
eric_tian 0ce1dd70a9 [Description]
add a judgement of whether the control command is equal with previous one or not.
[Impaction]
Judge if the control command is equaled with previous one. This handler can improve performance.
[Reference Info]
Currently the terminal driver outputs control commands upon user's request regardless of whether the new attribute is the same as previous one or not.
Actually, it could be implemented as only outputting control command when the new Attribute is different than previous one

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5113 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-22 09:11:43 +00:00
eric_tian 152af594cc [Description]
modify the value pointed by NumberOfPages to accordance with IN&OUT modifier's syntax.
[Impaction]
add comments for NumberOfPages parameter and assign a correct value to it.
[Reference Info]
NumberOfPages is only updated inside the if statement on line 725. If buffer is big enough the actual number of pages occupied by the image is not returned

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5112 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-22 08:38:30 +00:00
klu2 30d3be341b Add missing library class declaration.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5100 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-21 03:42:38 +00:00
klu2 9ef1a3ca7d Use const qualify for Src pointer.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5092 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-18 04:21:49 +00:00
qhuang8 dd4047a51c [Description]:
Add a feature flag in Uhci & Ehci to disable legacy USB SMI.
[Impaction]:
  Platform integrator can choose to legacy USB SMI or not.
[Reference Info]
  EDK Tracker 1082

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5081 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-17 11:02:59 +00:00
eric_tian 12618416ec [Description]
change the old code style to comply with Doxgen format
[Impaction]
add comments for every function
[Reference Info]
add comments to achieve the highest standard of code quality matrix

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5079 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-17 08:28:51 +00:00
lgao4 eaf539d00f Change MAX_PPI_DESCRIPTORS to FixedPcd PcdPeiCoreMaxPpiSupported, the default value is 64. Maybe other platform requires more than 64 Ppi and set this Pcd value.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5061 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-14 05:39:13 +00:00
eric_tian 5c70cb3285 [Description]
solve the big file transfer issue using ISCSI
[Impaction]
change the control flow on IScsiExecuteScsiCommand  function
[Reference Info]
The original design incorrectly uses a timer (its span is usually 2 seconds) to ensure the timely execution of CMD PDU send by initiator. For example: When initiator delivers a CMD PDU(WRITE command) in which the ExpDataXferLength filed is larger than DataSegmentLength field, according to ISCSI protocol spec, the target will respond it with a R2T PDU which is followed by a sequential DATA-OUT PDUs. In this situation, the original code may loop to deal with the arrival packet until initiator receives a RESPONSE PDU or the timer is expired. This way may cause the bigger file is more likely to fail.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5044 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-11 07:20:05 +00:00
vanjeff 7b414b4ed6 1. add public functions header.
2. apply for doxgen format for file header.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5043 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-11 03:36:07 +00:00
vanjeff 987da59835 Move Undi driver to common section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5042 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-11 03:15:32 +00:00
lgao4 bfaa7cd7fb Add comments for Tcg Platform protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5040 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-11 02:03:41 +00:00
vanjeff fb0b259e4e apply for doxgen format.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5038 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-10 08:49:28 +00:00
jljusten 1ecca4a5e1 MdeModulePkg/Universal/PlatformDriverOverride/PlatOverMngr/PlatOverMngr.c:
Apply r5008 to this code at its new location.

r5008 messsage:
  Fix warning on gcc by removing un-referenced static global variables.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5034 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-09 16:29:07 +00:00
jljusten 74345f685c MdeModulePkg/Library/PlatformBdsLibNull/PlatformBdsLibNull.inf:
Revert r4975.  A fix in the BaseTools code made this change
  unnecessary.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5033 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-09 16:26:37 +00:00
vanjeff ffa5008abb apply for doxgen format.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5030 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-09 08:33:17 +00:00
lgao4 504214c487 Add comments and DoxyGen format for these files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5028 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-09 07:07:50 +00:00
lgao4 6cc9ca322c Add comments and DoxyGen format for these files.
Remove the unused module Crc32SectionExtractDxe, which is replaced by Crc32SectionExtract library instance.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5027 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-09 07:00:57 +00:00
qhuang8 13d40eddeb Update all files to follow doxygen style file header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5025 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-09 05:50:10 +00:00
qhuang8 d393bdda06 Update to follow doxygen style file header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5024 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-09 05:46:57 +00:00
qhuang8 1e354c0372 Add function headers & file header for public header files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5023 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-09 05:44:04 +00:00
qhuang8 e2270e40a4 Add function headers & file header for PlatformBdsLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5022 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-09 05:41:16 +00:00
qhuang8 83d26a8193 Add function headers & file header for GenericBdsLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5021 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-09 05:40:48 +00:00
qhuang8 897f0eee20 Clean up BDS lib to remove assembly files, remove R8Lib.h & R8Lib.c by applying Mde Lib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5020 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-09 05:39:18 +00:00
qhuang8 fd6a62f3bf Update all files to follow doxygen style file header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5019 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-09 05:38:12 +00:00
qhuang8 8dbae30dd7 Update all files to follow doxygen style file header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5018 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-09 05:36:17 +00:00
qhuang8 3b2dbece7c Update all files to follow doxygen style file header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5017 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-09 05:34:50 +00:00
vanjeff 234a9da3d5 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5012 6f19259b-4bc3-4df7-8a09-765794883524 2008-04-09 02:15:41 +00:00
vanjeff a6f164a7e6 1. Create PlatformDriverOverride in Universal directory.
2. Move PlatformDriOverrideDxe and PlatOverMngr to this directory.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5011 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-09 02:09:51 +00:00
jljusten 1be0dda62d Fix warnings generated by gcc for ia32 builds:
'cast from pointer to integer of different size'
when casting from a pointer directly to a
64 bit number.  Added an intermediate cast to
UINTN.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5009 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-08 20:59:38 +00:00
jljusten b12b28ec75 edk2/MdeModulePkg/Application/PlatOverMngr/PlatOverMngr.c:
Fix warning on gcc by removing un-referenced
  static global variables.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5008 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-08 16:15:16 +00:00
vanjeff 20107d9067 remove commented code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5007 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-08 09:40:14 +00:00
vanjeff 23d64dda6b 1.Port Platform driver override protocol utility application in MdeModulePkg.dsc.
2.Update PlatDriOverLib library to use EFI Loaded Image Device Path Protocol to avoid "reconnect -r" issue for Platform driver override utility application.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5006 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-08 09:34:21 +00:00
qhuang8 f42be64210 Update all files to follow doxygen style file header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5002 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-08 04:46:45 +00:00
qhuang8 fbc81c1e93 Update the file description to be more descriptive.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5001 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-08 03:49:36 +00:00
qhuang8 7902102145 Update all files to follow doxygen style file header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5000 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-08 03:08:39 +00:00
qhuang8 674dced3b5 Update all files to follow doxygen style file header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4999 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-08 03:08:15 +00:00
qhuang8 96226baa28 Update all files in DxeIpl Peim to follow doxygen style header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4998 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-08 03:01:25 +00:00
lgao4 15762b535c Remove unused gEfiPeiSecurityPpiGuid for PeiMain and DxeIpl
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4990 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-03 09:40:36 +00:00
jwang36 b761638929 Added necessary dependent packages
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4989 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-03 09:20:11 +00:00
klu2 eca7dbcb9e PrivateInMem->CurrentPeimCount should not be incremented when memory is discovered, line 376 judgment has guarantee that the PEIM who discovery the memory would not be dispatched twice.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4988 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-03 06:25:37 +00:00
vanjeff 58bba9401d sync alignment issue on IPF.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4987 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-03 05:58:21 +00:00
vanjeff aa6c4e3c99 fixed bug in stop() function, that made stop() failure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4986 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-03 05:51:57 +00:00
vanjeff 107eebef21 update the right usage.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4983 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-02 09:01:37 +00:00
vanjeff 5c88defe6d remove debug code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4982 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-02 09:00:43 +00:00
vanjeff 982a9eaea2 enhanced UefiPxeBcDxe to support
1. AutoArp. 2. SendGuid. 3 TftpError. 4. IcmpError. 5. RouteTable. 6. ArpCache.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4981 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-02 08:45:36 +00:00
qhuang8 5fed8e341a Update DxeCore to load image wit supported machine types:
DXE Core          Supported Machine Types
=======          ===================
IA32                IA32, EBC, X64
X64                 X64, EBC, IA32
IPF                 IPF, EBC
EBC                 EBC



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4977 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-02 06:56:35 +00:00
jljusten 1d64c38923 edk2/MdeModulePkg/Library/PlatformBdsLibNull/PlatformBdsLibNull.inf:
Added package dependency of IntelFrameworkPkg/IntelFrameworkPkg.dec,
  which is caused by usage of GenericBdsLib.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4975 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-01 19:42:39 +00:00
qwang12 243324fc4d Fix a bug that BMM trim the name such as ".\...Name" to ".Name". The "\.." should only be merged with the previous path node if it is "\..\"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4974 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-01 12:40:21 +00:00
qhuang8 af823bdc07 Clean up the unused macro.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4951 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-25 07:21:24 +00:00
eric_tian 88c8f7fbfd [Description]
spelling mistake
[Impaction]
modify the mistake
[Reference Info]
Found the spelling mistake in pool.c

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4949 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-24 07:11:37 +00:00
jljusten b4df501105 edk2/MdeModulePkg/Universal/Network/IScsiDxe/IScsiDriver.c:
* Fix warning with gcc.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4943 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-21 17:45:46 +00:00
eric_tian f2a94e2558 [Description]
solve the x64 exception issue when unloading iSCSI driver
[Impaction]
add some handler for failure branch and prohibit the additional ISCSI INITIATOR NAME PROTOCOL from being installed. 
[Reference Info]
this bug is reported by DELL. it causes an exception in x64 on unloading iscsi driver.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4941 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-21 03:28:56 +00:00
vanjeff 2758d1ea40 fixed one typo
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4924 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-20 02:08:59 +00:00
klu2 615c6dd0d4 Modify all file header to follow doxygen format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4917 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-19 09:01:03 +00:00
yshang1 814bae5269 [Description]:
The patch enhanced variable services to support:
1) If adding variable does not execute completely, the state is in_deleted, the next time find variable should have to retrieve the in_deleted variable.
2) when Reclaiming the variable storage, the 1) variable should be considered.

[Impaction]:
This is backward-compatible update.

[Reference Info]:
9552, 8632

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4916 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-19 07:09:03 +00:00
vanjeff 695f7e9856 add some error check and return.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4912 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-19 05:49:56 +00:00
vanjeff 8541adab27 add PCD PcdUgaConsumeSupport to switch on/off EFI UGA Draw Protocol's consuming, it could save size by changing PCD's value to FALSE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4911 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-19 05:22:06 +00:00
eric_tian 1564e9ac2c [Description]
Duplicate the device path prior to the access to it 
[Impaction]
directly access the device path may cause an exception when the device path includes some unaligned device path nodes
[Reference Info]
In the case of ISCSI, there is a situation that the device path may consists of some unaligned device path node. it causes the unaligned exception when we access the node.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4905 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-19 02:05:57 +00:00
eric_tian 01f352a7ca [Description]
PeiGetVariable() and PeiGetNextVariableName() do not check NULL pointer access, not follow spec 
[Impaction]
modify the Variable.c file in MdeModulePkg/Universal/Variable/Pei
[Reference Info]
PeiGetVariable() and PeiGetVariableName() do not follow spec 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4899 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-18 06:46:10 +00:00
vanjeff 4367051153 add return error check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4860 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-17 08:14:53 +00:00
qwang12 d1d249a7b6 [Description]:
1) Remove EFI_SPECIFICATION_VERSION as modules and libraries in MdeModule complies to UEFI 2.0 and later.

[Impaction]:
No
[Reference Info]:
No.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4857 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-15 05:06:24 +00:00
qwang12 dca8c6d8d2 [Description]:
1) Remove HiiLibAddFontPackageToHiiDatabase as it is not properly defined API. It only cover Simplified Font. User is recomended to use Hii Font Protocol API to add various font into HII database.

[Impaction]:
All modules that may reference HiiLibAddFontPackageToHiiDatabase function.
[Reference Info]:
No.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4856 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-15 05:04:45 +00:00
lgao4 e10293550f A leaf section type may contains an array of zero or more bytes. Support the section with the zero data.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4852 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-14 10:12:17 +00:00
lgao4 f0a83bb308 [Description]:
Don't need disable the legacy USB SMI in UHCI and EHCI, which is only required by UoL.
[Impaction]:
 Uhci and Ehci driver default don't need disable the legacy USB SMI.
[Reference Info]:
 EDK tracker 1082 
 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4850 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-14 05:06:26 +00:00
eric_tian e92d66f280 [Description]
fix the wrote data corrupt bug about iscsi
[Impaction]
modify the IScsiGenerateDataOutPduSequence() function in MdeModulePkg.
[Reference Info]
when writing some data from local disk into remote iscsi disk, the data may be corrupt.The root cause is caused by the data out PDU's offset is not created correctly.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4843 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-13 08:35:18 +00:00
lhauch ee17f9c1da Added the ULL to the 0xFFFFFFFFFFFFFFFF values
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4841 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-12 00:02:29 +00:00
jljusten 9cb8724d68 edk2/MdeModulePkg/Universal/Network/IScsiDxe/IScsiTcp4Io.h:
edk2/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.h:
edk2/MdeModulePkg/Universal/Network/IScsiDxe/IScsiExtScsiPassThru.h:
edk2/MdeModulePkg/Universal/Network/IScsiDxe/IScsiDhcp.h:
edk2/MdeModulePkg/Universal/Network/IScsiDxe/IScsiIbft.h:
edk2/MdeModulePkg/Universal/Network/IScsiDxe/Md5.h:
edk2/MdeModulePkg/Universal/Network/IScsiDxe/IScsiDriver.h:
edk2/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.h:
edk2/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.h:
  Fix filename case(sensitivity) issues.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4840 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-11 19:38:08 +00:00
jljusten 7c3eaa27b6 edk2/MdeModulePkg/Universal/Network/IScsiDxe/IScsiMisc.c:
Resolve warning from gcc. ('Digit' variable may be uninitialized)


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4839 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-11 19:33:19 +00:00
jljusten e02b6b9565 edk2/MdeModulePkg/Universal/BdsDxe/BootMaint/BootOption.c:
Resolve gcc warning.  The backslash ('\') at the end of a comment
  line is interpretted as a multi-line comment and generates a
  warning.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4838 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-11 19:21:25 +00:00
jljusten 5bd4f5fafb edk2/MdeModulePkg/Universal/BdsDxe/BootMaint/BootMaint.h:
Resolve gcc warning (does not like multi-character constants
  such as 'menu'.)  Instead use the EFI_SIGNATURE_32 macro.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4837 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-11 19:19:44 +00:00
jljusten 344177857f edk2/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcImpl.h
Fix filename case(sensitivity) issues. (Smbios.h -> SmBios.h)


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4836 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-11 19:06:05 +00:00
jljusten 12f3a14283 edk2/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcDhcp.c:
Add 'default' for 'switch' block to resolve warning of
  unhandled enum cases from gcc.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4835 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-11 18:55:40 +00:00
jljusten 9c87ebc0d1 edk2/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcMtftp.c:
Fixed discrepencies between CHAR8* and INT8* which generate
  a warning on gcc.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4834 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-11 18:48:39 +00:00
jljusten 19d5671c3b edk2/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcDhcp.h:
Remove l-value cast which generates warnings on gcc.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4833 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-11 18:47:09 +00:00
jljusten f71bb8f1e7 edk2/MdeModulePkg/Universal/Network/PxeBcDxe/Pxe_bc_mtftp.c:
edk2/MdeModulePkg/Universal/Network/PxeBcDxe/Ip.h:
edk2/MdeModulePkg/Universal/Network/PxeBcDxe/Bc.h:
  Fix filename case(sensitivity) issues.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4832 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-11 18:07:42 +00:00
jljusten bd889f3ce5 edk2/MdeModulePkg/Universal/Network/PxeDhcp4Dxe/PxeDhcp4.h:
Fix filename case(sensitivity) issues.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4831 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-11 17:59:31 +00:00
jljusten c28d408dd8 edk2/MdeModulePkg/Universal/Network/SnpDxe/Nvdata.c:
Fix filename case(sensitivity) issues.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4830 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-11 17:52:44 +00:00
jljusten eaf343fff2 edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/Socket.h:
edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/Udp4Impl.h:
  Fix filename case(sensitivity) issues.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4829 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-11 17:48:25 +00:00
jljusten cf26afe34c edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Option.c:
Comment out unused STATIC function. (TcpPutUint16)


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4828 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-11 17:47:00 +00:00
jljusten 24e58768a0 edk2/MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4Config.h:
Fix filename case(sensitivity) issues.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4827 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-11 17:37:39 +00:00
jljusten 5f778b1f69 BaseTools/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Route.h:
BaseTools/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Impl.h:
  Fix filename case(sensitivity) issues.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4826 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-11 17:33:53 +00:00
jljusten c4b578e809 edk2/MdeModulePkg/Bus/Usb/UsbMouseDxe/ComponentName.c:
Fix filename case(sensitivity) issues.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4825 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-11 17:09:23 +00:00
jljusten 0c36e4c182 edk2/MdeModulePkg/Bus/Usb/UsbMouseDxe:
Fix filename case(sensitivity) issues.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4820 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-10 23:21:50 +00:00
jljusten 1441142b8b Rename file to use recommended file naming conventions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4819 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-10 23:16:34 +00:00
jljusten 190a171e62 Rename file to use recommended file naming conventions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4818 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-10 23:16:04 +00:00
jljusten d57ee0e56b Rename file to use recommended file naming conventions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4817 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-10 23:15:50 +00:00
jljusten 517253e5b2 Rename file to use recommended file naming conventions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4816 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-10 23:14:46 +00:00
vanjeff 7d7a8ea24c fixed one bug in stop(), adding get NicHandle by gEfiArpProtocolGuid.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4815 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-10 08:34:54 +00:00
vanjeff 89e430b0d4 remove debug code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4814 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-10 06:59:56 +00:00
vanjeff 8d285ec0ce 1. Enabled SetIpFilter() in UefiPxeBcDxe module.
2. Ported Arp() in UefiPxeBcDxe module.
3. Sync tracker: enabled unload() for PxeBcDxe module.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4813 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-10 06:55:15 +00:00
klu2 25ca163d0c Fix GCC building warning.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4809 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-10 05:46:29 +00:00
klu2 173b35e469 Fix GCC building issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4808 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-10 03:32:08 +00:00
vanjeff c63cd426a8 Merger tracker: Dell - Cannot detect FAT16 partition if the 1st entry in the partition table is
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4807 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-07 07:47:21 +00:00
klu2 b67be02118 Add comment for initialization value of CAR
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4806 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-07 05:57:02 +00:00
vanjeff 9935f927a2 Merger tracker:Fixed a USB bus driver logic error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4805 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-07 05:51:04 +00:00
klu2 94578ce61a For Itanium platform, the switch CAR action has been moved to SecCore according to PI specification, so I clean up the PeiCore to remove stack related code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4803 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-07 05:42:04 +00:00
lgao4 1fbc8fcbd2 Use EFI_IMAGE_OPTIONAL_HEADER_UNION struct to get PeImage subsystem type.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4802 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-07 05:33:13 +00:00
klu2 9631746839 Correct the visit point's type, it should be UINT32 but not UINTN
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4801 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-07 05:29:26 +00:00
qwang12 a1a99cca13 1) Sync in patch for EDK 1063 Boot option enumeration algorithm enhancement
2) Sync in patch for EDK 1081: Enhance the BDS shell enumeration logic to skip the those not dispatched FVs in system.
3) Remove all EFI_SPECIFICATION_VERSION as all module should comply to UEFI 2.1 and later.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4798 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-06 11:48:52 +00:00
qwang12 189eac2199 Sync in patch for EDK 945
Add console mode setting in UI.

User can select console mode (e.g. 80x25, 100x31) in UI; and boot with user-defined mode.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4797 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-06 10:53:58 +00:00
klu2 ca784f9737 Remove commented out code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4796 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-06 08:53:18 +00:00
klu2 a7715e7327 The calculating action for CAR usage should be put before calling temporary ram support PPI, because the CAR is unvaiable after switch stack from temporary memory to permenent memory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4795 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-06 08:41:22 +00:00
qhuang8 383c303c49 Fix two minor defects:
1. CoreGetMemoryMap() returns unclean data
2. Zero length memory descriptor might be added to the memory map

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4790 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-04 11:33:13 +00:00
lgao4 6cd7b51e48 Correct the PeImage Source file to be measured by TCG.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4787 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-04 09:32:41 +00:00
lgao4 dcf4773295 Correct EdkFvbServiceLib instance module type to DXE_RUNTIME_DRIVER, because its interfaces are for runtime driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4784 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-03 07:24:21 +00:00
klu2 58dcdada56 Merge Temporary Ram support patch.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4782 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-29 18:24:43 +00:00
klu2 0fc824969a Add debug prompt for showing progress bar.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4765 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-28 06:02:52 +00:00
qhuang8 062539cf8c Update BDS module name to follow naming conventions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4763 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-26 12:06:43 +00:00
qhuang8 cd4c1ac312 A short-term fix that StrCpy() needs to handle two overlapping strings.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4762 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-26 12:03:38 +00:00
qhuang8 fb42e02bb4 Skip locating Terminal driver Protocol Guid to determine the terminal options. It is better that BDS does not hardcode a special driver GUID.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4761 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-26 12:01:22 +00:00
qhuang8 9b8a6c2edc Add pragma(1) to the structure of BM_LEGACY_DEV_ORDER_CONTEXT:
1. some code fragments refer to Data field will pointer + sizeof (BBS_TYPE) + sizeof (UINT16).
2. The list of BM_LEGACY_DEV_ORDER_CONTEXT is supposed to be saved to variable on flash. Progma it can help to reduce variable size.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4760 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-26 11:57:32 +00:00
vanjeff ba39e316c9 1. Add EFI LOADED IMAGE DEVICE PATH Protocol in LoadImage() service, per UEFI 2.1b.
2. Update comments for DHCP.transmitreceive().
2. Update UefiPxeBcDxe.inf and PxeBcDxe.inf to assign correct protocol usages.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4758 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-26 08:38:29 +00:00
jljusten 77442a5a27 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf:
MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h:
  Fixed filename case to match the actual files.  This is needed
  for case-sensitive file systems.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4757 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-26 01:36:29 +00:00
jljusten 9e58aa1d3c edk2/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbUtility.c:
Corrected usage of parenthesis for 'if' boolean condition.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4756 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-26 01:30:14 +00:00
jljusten 47166333b1 edk2/MdeModulePkg/Bus/Usb/UsbBusDxe/usbbus.h:
Renamed to 'UsbBus.h' to match recommended file naming conventions.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4755 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-26 01:14:47 +00:00
jljusten 474ff2bdb9 edk2/MdeModulePkg/Bus/Usb/UsbBusDxe/usbbus.c:
Rename to 'UsbBus.c' to match file naming conventions.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4754 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-26 01:13:29 +00:00
jljusten 1682995344 edk2/MdeModulePkg/Bus/Pci/UhciDxe/ComponentName.c:
Fix #include filename for case-sensitive filesystems.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4753 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-26 01:10:10 +00:00
klu2 b3bac2c98e Correct the calculating time out for BDS
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4751 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-25 08:10:35 +00:00
lgao4 2ae8963ce8 Add comments for parameter.
Add ASSERT for the input parameters.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4749 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-25 06:29:00 +00:00
qhuang8 047c644982 Fix an issue that the Target Name is supposed to an Ascii string.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4742 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-21 08:53:18 +00:00
qwang12 d42d853ee0 1) Enable GraphicsConsole module to support a legacy platform which only produce UGA protocol. Under such system, HiiFont->StringToImage is used to draw the string to blt buffer first. Then, UGA->Blt is used to draw to the physical devices.
2) Remove all references to EFI_SPECIFICATION_VERSION in *.c file as module in MdeModulePkg only support UEFI 2.1.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4739 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 10:50:15 +00:00
vanjeff 782559513a fixed a typo
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4736 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:55:45 +00:00
vanjeff 1d13665edd rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4735 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:42:59 +00:00
vanjeff a3c5f87a01 rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4734 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:41:47 +00:00
vanjeff a1dbee50f5 rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4733 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:41:11 +00:00
vanjeff 1f4db48ddd rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4732 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:40:42 +00:00
vanjeff 2735e5d04b rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4731 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:40:16 +00:00
vanjeff b32e18f259 rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4730 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:39:44 +00:00
vanjeff 2883b67ef4 rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4729 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:39:15 +00:00
vanjeff a15a419593 rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4728 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:38:48 +00:00
vanjeff a0818cc106 rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4727 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:38:17 +00:00
vanjeff a7e0614aaf rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4726 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:37:51 +00:00
vanjeff 28db6da45c rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4725 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:37:22 +00:00
vanjeff 3bb7aff34e rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4724 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:36:47 +00:00
vanjeff d007c0a2d4 rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4723 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:36:10 +00:00
vanjeff f9a088de4c rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4722 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:35:43 +00:00
vanjeff c74593cd39 rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4721 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:35:04 +00:00
vanjeff 75d0f44d48 Rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4720 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:32:49 +00:00
vanjeff 1840420c7d remove callback.c
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4719 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:20:32 +00:00
vanjeff 5e7e4fadc0 Rename callback.c to Callback.c
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4718 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:20:05 +00:00
jljusten 4dd60a1736 edk2/MdeModulePkg/MdeModulePkg.dsc:
edk2/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.c:
edk2/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.h:
edk2/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf:
edk2/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.msa:
  Moving usage of 'WatchDogTimer' to 'WatchdogTimer' to match
  the architectural protocol, as well as the more common usage
  of 'watchdog timer' vs. 'watch dog timer'.

  Consistency is needed for building on systems with
  case-sensitive filesystems.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4717 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:09:13 +00:00
jwang36 de971150c1 Remove duplicate one
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4716 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:06:55 +00:00
vanjeff 96f3db9e08 Copied remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4715 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 01:56:28 +00:00
jljusten 37e9977995 edk2/MdeModulePkg/Universal/WatchdogTimerDxe:
WatchDogTimer.c  WatchDogTimer.h  WatchDogTimer.inf  WatchDogTimer.msa
    renamed to
  WatchdogTimer.c  WatchdogTimer.h  WatchdogTimer.inf  WatchdogTimer.msa

  Moving usage of 'WatchDogTimer' to 'WatchdogTimer' to match
  the architectural protocol, as well as the more common usage
  of 'watchdog timer' vs. 'watch dog timer'.

  Consistency is needed for building on systems with
  case-sensitive filesystems.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4714 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 01:56:03 +00:00
jljusten 0f3fea2aac edk2/MdeModulePkg/Universal/WatchdogTimerDxe:
WatchDogTimer.c  WatchDogTimer.h  WatchDogTimer.inf  WatchDogTimer.msa
    renamed to
  WatchdogTimer.c  WatchdogTimer.h  WatchdogTimer.inf  WatchdogTimer.msa

  Moving usage of 'WatchDogTimer' to 'WatchdogTimer' to match
  the architectural protocol, as well as the more common usage
  of 'watchdog timer' vs. 'watch dog timer'.

  Consistency is needed for building on systems with
  case-sensitive filesystems.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4713 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 01:56:00 +00:00
jljusten 59306fa028 edk2/MdeModulePkg/Universal/WatchdogTimerDxe:
WatchDogTimer.c  WatchDogTimer.h  WatchDogTimer.inf  WatchDogTimer.msa
    renamed to
  WatchdogTimer.c  WatchdogTimer.h  WatchdogTimer.inf  WatchdogTimer.msa

  Moving usage of 'WatchDogTimer' to 'WatchdogTimer' to match
  the architectural protocol, as well as the more common usage
  of 'watchdog timer' vs. 'watch dog timer'.

  Consistency is needed for building on systems with
  case-sensitive filesystems.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4712 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 01:55:56 +00:00
jljusten 6d01b2fcf0 edk2/MdeModulePkg/Universal/WatchdogTimerDxe:
WatchDogTimer.c  WatchDogTimer.h  WatchDogTimer.inf  WatchDogTimer.msa
    renamed to
  WatchdogTimer.c  WatchdogTimer.h  WatchdogTimer.inf  WatchdogTimer.msa

  Moving usage of 'WatchDogTimer' to 'WatchdogTimer' to match
  the architectural protocol, as well as the more common usage
  of 'watchdog timer' vs. 'watch dog timer'.

  Consistency is needed for building on systems with
  case-sensitive filesystems.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4711 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 01:55:53 +00:00
jljusten 6205fbca3d edk2/MdeModulePkg/Universal/WatchDogTimerDxe:
Moving usage of 'WatchDogTimer' to 'WatchdogTimer' to match
  the architectural protocol, as well as the more common usage
  of 'watchdog timer' vs. 'watch dog timer'.

  Consistency is needed for building on systems with
  case-sensitive filesystems.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4710 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 01:30:35 +00:00
jljusten c0d17d248a edk2/MdeModulePkg/Universal/WatchDogTimerDxe/WatchDogTimer.h:
Moving usage of 'WatchDogTimer' to 'WatchdogTimer' to match
  the architectural protocol, as well as the more common usage
  of 'watchdog timer' vs. 'watch dog timer'.

  This change is needed for building on systems with
  case-sensitive filesystems.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4709 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 01:26:35 +00:00
jljusten 6c46a5abba edk2/MdeModulePkg/Universal/HiiDatabaseDxe/Database.c:
Pre-initialize variable to fix warning with gcc.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4708 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-19 22:22:48 +00:00
jljusten b64125895c edk2/MdeModulePkg/Universal/DriverSampleDxe/inventory.vfr:
Rename to match the recommended 'text case' for filenames,
  as well as DriverSampleDxe.inf.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4707 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-19 20:51:27 +00:00
jljusten c56f51245c edk2/MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c:
Cleanup comment.  The old code creates a warning from
  gcc under certain language adherence modes regarding
  'multi-line' comments.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4706 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-19 19:33:41 +00:00
qwang12 c7b616cf09 Initialize Storage->ConfigRequest to contain at least one Unicode NULL '\0000'. CONFIG_REQUEST_STRING_INCREMENTAL is designed to only host valid string without the trailing '\0000'.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4700 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-19 02:21:25 +00:00
vanjeff e733f54213 remove some commented code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4694 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-15 01:28:54 +00:00
vanjeff e48e37fce2 Use Mde library and definition instead of some native definitions in NetLib, to simply network library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4693 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-14 09:40:22 +00:00
qhuang8 bb8ffffd1c Fix a conformance issue in gBS->CreateEvent() & gBS->CreateEventEx():
1. gBS->CreateEventEx() with EventGroup = NULL should behavior like gBS->CreateEvent()
2. EVT_SIGNAL_EXIT_BOOT_SERVICES & EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE are invalid parameters for gBS->CreateEventEx() if the EventGroup is not NULL.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4692 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-14 02:47:49 +00:00
vanjeff 1c61953576 1. Added EFI_MEDIA_CHANGED and EFI_INVALID_PARAMETER returns in UsbMassReadBlocks().
2. Use DEBUG () to replace some native debug function in USB stack modules.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4689 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-13 09:08:24 +00:00
jljusten d1f076304d MdeModulePkg/Core/Dxe/SectionExtraction/CoreSectionExtraction.c:
Surrounded unreferenced STATIC functions by '#if 0', '#endif' to
  prevent a compiler warning:
    NotifyGuidedExtraction, CreateGuidedExtractionRpnEvent


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4688 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-13 00:22:19 +00:00
jljusten d9fa86f90a MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf:
Fixed path filenames to use slashes (/) rather than
  backslashes (\) as is recommended for .inf files.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4686 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-11 22:24:29 +00:00
jljusten 0e26c72282 MdeModulePkg/MdeModulePkg.dsc:
Fixed filename case from 'MdeModulepkg' to 'MdeModulePkg'.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4685 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-11 22:22:47 +00:00
jljusten ba0f75a3b0 MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.c:
Fix filename case from 'library' to 'Library'.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4684 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-11 22:21:12 +00:00
jljusten 8c15c09284 MdeModulePkg/Library/GenericBdsLib/GenericBdsLib.inf:
Change file paths to use '/' rather than '\' as recommended
  for .inf files.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4683 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-11 22:19:27 +00:00
lgao4 17b875379f Correct return status for the unsupported condition
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4679 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-05 04:41:53 +00:00
gtian 39aea48d30 Add the check- in missed file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4675 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-04 19:52:06 +00:00
qwang12 71a6ebb5ae corrrect the library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4670 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-04 06:55:13 +00:00