Commit Graph

523 Commits

Author SHA1 Message Date
xli24 835e5a5f65 Make RTC module pass build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5504 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-16 13:32:36 +00:00
xli24 f8ea30263c Add PCD PcdRealTimeClockUpdateTimeout and update code accordingly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5501 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-16 11:50:02 +00:00
qwang12 e94358a3fe Use two PCDs to replace _DISABLE_UNUSED_HII_PROTOCOLS_ macro.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5498 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-16 09:36:33 +00:00
qwang12 f8d709956f Clean up BdsDxe for Doxygen comments requirement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5496 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-16 07:50:37 +00:00
qwang12 91143ad807 remove the wrong comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5495 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-16 07:36:58 +00:00
qwang12 f4bcc90f0b Use standard VA_LIST to pass variable argument list.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5485 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-16 03:04:53 +00:00
qhuang8 631c199143 Fix a porting issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5480 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-16 01:22:26 +00:00
qhuang8 572f5d8a7b Code scrub for DevicePathDxe driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5479 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-16 01:10:45 +00:00
eric_tian b4d95a4da0 modify coding style to pass ecc tool
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5475 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-15 09:25:54 +00:00
eric_tian 1dd7b78263 modify coding style to pass ecc tool
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5474 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-15 09:24:35 +00:00
qwang12 7936fb6a1f Clean up SetupBrowserDxe for Doxygen comments requirement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5472 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-15 08:35:54 +00:00
vanjeff 7b9ff69833 Code scrub.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5471 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-15 08:16:24 +00:00
qwang12 e90b081afa Clean up HiiDatabase for Doxygen comments requirement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5467 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-15 06:29:27 +00:00
qwang12 6aab82140b Clean up FaultTolerantWriteDxe for Doxygen comments requirement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5463 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-14 08:19:45 +00:00
klu2 fc547e0863 Code scrub for PCD PEIM.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5461 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-14 07:17:04 +00:00
qwang12 b4489769b1 Clean up BdsDxe for Doxygen comments requirement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5456 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-14 01:16:02 +00:00
lgao4 2a86ff1cb0 Code Scrub for DxeCrc32GuidedSectionExtractLib library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5455 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-11 08:18:17 +00:00
vanjeff 33019a717c add functions header for ConSplitterDxe module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5453 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-11 07:23:59 +00:00
eric_tian 36093af9df modify coding style to pass ecc tool and provide comments that complied with Doxgen.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5451 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-11 06:49:09 +00:00
eric_tian 52c7a54482 modify coding style to pass ecc tool and provide comments that complied with Doxgen.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5450 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-11 06:38:58 +00:00
qwang12 7b3e2a1b9a Clean up Device Manager module in BdsDxe.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5448 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-10 12:24:53 +00:00
qwang12 2fbae53e51 Clean up Boot Manager module in BdsDxe.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5447 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-10 11:38:22 +00:00
qwang12 744fc75819 Clean up BootMaint module in BdsDxe.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5446 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-10 10:30:43 +00:00
qwang12 dce655e8bf Clean up BootMaint module in BdsDxe.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5444 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-10 09:00:40 +00:00
klu2 2ab6330e7e Add function header and pass ECC tools
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5443 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-10 05:51:21 +00:00
vanjeff 415df2a396 add functions header for ConPlatformDxe and ConSplitterdxe modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5442 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-10 03:25:37 +00:00
lgao4 5d69642deb Code scrub for the Capsule, SecurityStub, and Crc32 library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5441 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-09 13:33:20 +00:00
lgao4 78f64f281a ADD EFIAPI for library function.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5435 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-09 08:57:49 +00:00
lgao4 5f597758e2 Code scrube for MdeModule Definitions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5428 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-08 13:29:42 +00:00
qwang12 2623855985 Add in doxygen style comment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5414 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-08 03:29:25 +00:00
qwang12 a78b08d13b Update the code to following EDK coding style document.
1) Pointer value should compare with NULL.
2) Integer should compare with 0.
3) BOOLEAN should not compare with TRUE or FALSE.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5413 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-07 09:17:56 +00:00
vanjeff 24248368f7 1. added functions header for GraphicsConsoleDxe module.
2. correct some funtions header for ConPlatformDxe module.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5411 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-07 05:23:31 +00:00
qwang12 b30312ba29 Update the function headers to Doxygen format.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5410 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-04 08:04:10 +00:00
vanjeff 9359e53fcb Added some functions header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5409 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-04 07:58:57 +00:00
vanjeff 8fd9831511 Added some functions header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5406 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-03 05:17:49 +00:00
vanjeff a4d608d1f7 Clean codes per ECC for ConSplitterDxe module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5391 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-01 06:56:37 +00:00
vanjeff 6dcf9abc6a Clean codes per ECC for GraphicsConsoleDxe module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5390 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-01 06:43:10 +00:00
vanjeff e49ef4337f Clean codes per ECC for TerminalDxe module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5389 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-01 06:34:04 +00:00
vanjeff 2b023999fe rename files name to match the actual ones.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5387 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-30 09:04:31 +00:00
vanjeff e47f2cedc3 rename it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5386 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-30 08:59:07 +00:00
vanjeff 1b641ec087 rename it
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5385 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-30 08:58:28 +00:00
vanjeff 7bce0c5a0e Clean codes per ECC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5384 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-30 07:20:33 +00:00
qwang12 bd1d34eecf Change the ASSERT condition from “ASSERT (RowInfoArraySize == 1);” to “ASSERT (RowInfoArraySize <= 1);”.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5374 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-27 07:45:01 +00:00
qhuang8 abda9e12b1 Fix an issue in the implementation of GetDriverName() in Con splitter driver. We need to compare "This" paramter with all 5 protocol instances to decide whether it stands for CN or CN2.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5368 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-25 02:52:43 +00:00
vanjeff e234f7c490 [Description]:
Misuse of retransmisson of DHCPDISCOVER in Dhcp4 drive, the root cause is that DHCP doesn't retransmit discover message when timeout.
[Solution]:
 Correct the mechanism for discover message.
[Impaction]:
 Dhcp4Dxe.
[Reference Info]:
 EDK tracker 1150 - Misuse of retransmisson of DHCPDISCOVER in Dhcp4 drive. 



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5366 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-24 08:36:11 +00:00
qwang12 813acf3a9a Merged in the following trackers from EDK:
EDK1145 Cursor mising in shell in some case 
EDK1099: Dell - [HII] HiiGetFontInfo() not retrieve the system font by FoFontInfoMask
EDK1127: [UEFI 2.10] Keyboard layout support 
EDK1129: [UEFI HII] GUID is represented wrongly in Config String
And some other fixes such as
*[UEFI HII] HiiGetAltCfg is generating "Name=" sub string in the wrong format 
*UEFI HII: GetUnicodeStringTextOrSize() doesn't handle NULL StringDest properly
*GetFontInfo() need be updated to avoid iteration 
*HIIStringProtocolTest failed on multiple platform
*[Uefi 2.1] Comply with latest Hii ECR 
* GetFontInfo() need be updated to avoid iteration


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5361 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-23 09:41:33 +00:00
qwang12 35ae460227 Updated copyright.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5352 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-19 02:37:22 +00:00
qwang12 50b399856d Update call-by-value to call-by-reference for EFI_HII_GLYPH_INFO type.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5351 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-19 02:35:35 +00:00
vanjeff 619eff3f29 clean EBC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5342 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-12 06:51:09 +00:00
vanjeff a8fb9d68f1 Support EBC for UefiPxeBcDxe module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5330 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-05 02:45:24 +00:00
qwang12 1c574ee4dc Add a type cast of UINT32 to insure that EBC compiler does not report warning of "Integer conversion resulted in a change of sign" when building with -Za option (accept only ANSI/ISO standard C code). 1 << 31 is consider to be a sign change by compiler.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5325 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-04 10:03:44 +00:00
mdkinney a163442495 Add call to CreateEvent() for SetVirtualAddressMap()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5311 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-29 23:07:46 +00:00
htao f26b92e423 Correct data print format.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5304 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-27 05:13:10 +00:00
vanjeff 8792362f22 [Description]:
Problem with PXE boot to Windows Server 2008 install. The reason is that UdpRead and UdpWrite interfaces cannot work well with the same UDP instance.
[Solution]
 Use separate instances for UDP Read and UDP write in UefiPxeBC module.
[Impaction]:
 UefiPxeBcDxe and Udp4Dxe module.
[Reference Info]:
 EDK tracker 1133 - Problem with PXE boot to Windows Server 2008 install. 



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5303 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-27 03:34:39 +00:00
qhuang8 ac64461468 De-unicode in comment for all source files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5302 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-27 03:24:01 +00:00
vanjeff 7659d0c92f [Description]:
Fixed one bug in PciBus. PciBus doesn't clear the bridges bus number for all the root bridges before scanning any of them.
[Description]:
 The static IP configuration no long works in the EDK 1.04 network package. The cause is that changing the type of EFI_IP4_IPCONFIG_DATA.RouteTable from a variable length array to a pointer is not clean. If the whole structure is read from variable, the pointer is invalid.
[Solution]
Fix the pointer before using it
[Impaction]:
 Ip4ConfigDxe module.
[Reference Info]:
 EDK tracker 1134 - Static IP configuration no long works. 



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5291 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-26 08:16:25 +00:00
qwang12 30d27d1542 Pass GCC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5287 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-23 06:26:23 +00:00
qwang12 7fd213953e Pass GCC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5286 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-23 06:24:50 +00:00
qwang12 36fe40c2ea 1) Add BufToHexString, HexStringToBuf and IsHexDigit to BaseLib.
2) Remove the duplicated functions implementation  from the modules that reference these APIs 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5283 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-23 05:30:08 +00:00
xli24 254ba2477f Add logic to check uninitialized RTC value in PcRtc driver in MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5281 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-23 02:29:11 +00:00
qwang12 03836d005d Add a reference of 2nd buffer storage in a formset.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5271 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-22 09:30:18 +00:00
qwang12 d6c0ec55e8 Use Feature Flag PCD to PcdUefiVariableDefaultLangDepricate to replace LANG_SUPPORT.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5269 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-22 08:37:25 +00:00
jwang36 b44bf165f3 Changed the default value for the same var to be the same.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5263 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 07:28:53 +00:00
qhuang8 bf6d2af434 Use "X64" for directory name to follow directory name convention.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5259 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 04:08:35 +00:00
qhuang8 955723bd63 Use "X64" for directory name to follow directory name convention.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5258 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 04:07:30 +00:00
qhuang8 f45af90b01 Update to fix minor coding style issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5257 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 04:03:40 +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 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
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
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
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
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
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
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 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
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 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
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
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 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
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
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
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
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 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
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
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
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
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
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
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 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
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
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 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
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
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 38c0d70af8 Check the handle for font package before remove it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4667 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-04 03:18:43 +00:00
qwang12 9226efe5eb 1) Cleanup HiiLib, IfrSupportLib.
2) Add ExtendedHiiLib and ExtendedIfrSupportLib which implement APIs that require the OPcode and Device Path which is specific to Intel's implementation.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4662 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-02 13:15:44 +00:00
qhuang8 b71f6b3c0a The implementation of Consplitter driver should check the child handle to follow UEFI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4657 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-01 15:11:11 +00:00
vanjeff 6be065d4be remove the wrong comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4645 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-31 08:11:35 +00:00
vanjeff 4f6e31e47b Sync the bug that list node is free before it is removed from the list. That made the list invalid.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4641 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-29 08:47:42 +00:00
qhuang8 372285d1fc Fix two issues:
1. The default with of hex value is 0 according to MdeLib spec. If we expect it to be 16, we need to state it in the format string explicitly.
2. For UnicodeSPrint, the output buffer size of 0 will not print anything to the buffer according to MdeLib spec. We need to specify the maximum possible buffer size.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4635 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-25 03:14:35 +00:00
qwang12 cb7cd5b0d9 add back the ReadKeyStroke which is removed wrongly during ICC cleanup.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4627 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-24 08:27:44 +00:00
eric_tian 758cc0cf7e update
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4613 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-22 08:10:49 +00:00
eric_tian 7a444476b4 move iscsi driver into network directory, and change its name to comply with name convention.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4612 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-22 08:07:35 +00:00
eric_tian 69b0882d3e fixed icc build bug
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4609 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-22 07:14:48 +00:00
qwang12 93e3992d1e UEFI HII: Merge UEFI HII support changes from branch.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4599 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-21 14:39:56 +00:00
vanjeff 7347d5d6e6 1. Sync the tracker for supporting the ModeNumber larger than 2.
2. Fixed one bug in SetMode(), Cursor should not be enabled with mandatory.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4594 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-21 09:40:59 +00:00
lgao4 7800593dca Reclaim occurs as late as possible before OS boot for keep enough space used by OS
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4574 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-17 09:59:51 +00:00
vanjeff 3012ce5cf7 1. Fixed bugs in DxeNetLib to meet consistence with network module DriverBinding protocol.
2. Sync bugs in console modules.
3. Sync bugs in PlatDriOverLib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4571 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-17 05:56:45 +00:00
vanjeff b290614d49 Port PlatformDriOverrideDxe into R9.
1. Add one OverrideVariableGuid in MdeModulePkg
2. Add one library PlatDriOverLib used by PlatformDriOverrideDxe.
3. Add PlatformDriOverrideDxe in MdeModulePkg

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4557 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-16 09:04:43 +00:00
yshang1 77aa51cd89 Fix bug that failed to reclaim the variable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4556 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-15 13:02:26 +00:00
yshang1 130e25699a 1) Replace MACRO with C functions.
2) Add HEADER_VALID_ONLY state of variable, which represents only the header is valid and the data/name is stale. This may be caused by incomplete data updating. Adding the state helps to check whether the header is valid. If variable header is valid, then we must skip the data of variable with the valid size. If the header is invalid, we should only skip the header of variable. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4555 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-14 06:35:23 +00:00
vanjeff 51dc1f659f Fixed one bug in UefiPxeBc start()/stop(). That would cause stop() failure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4553 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-11 07:22:12 +00:00
yshang1 ab5f0d6d12 Change C functions, xxxSizeOfVariable(), to MACRO, which can avoid the ICC compile error "Unspecific evaluated order".
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4552 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-11 03:16:46 +00:00
yshang1 9cad030bc1 Align the header of variable from 1 to 4, which can avoid the size of variable content corrupt if the critical data cross two flash block.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4543 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-10 04:26:13 +00:00
yshang1 fdb7765f2d 1) Fix the bug that Variable Cache Search does not be protected by lock during boot time. It potentially results in the info from GetVariable() is not correct.
2) Check the integrity of Variable header. In original implementation, if not whole header is correct, then the variable will be treat as invalid. typically, if the NameSize has been programed but the DataSize not, then the variable storage would failed to set new variable.
3) Change the Variable Header Alignment from 1 to 4 bytes on x86. It avoids the DataSize or NameSize cross two blocks. For example, in original implementation, if the NameSize crosses two block, when the FLASH manipulation is interrupted after programed HSB of NameSize and prior to program LSB of NameSize on next block, then the invalid variable header will result in the Variable Storgae broken.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4538 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-09 10:10:16 +00:00
vanjeff aec072adb2 sync tracker to remove duplicate display mode in ConOut virtual handle GOP instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4533 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-09 05:55:46 +00:00
vanjeff b7d3c63160 fixed one bug when calculate the string length.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4524 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-08 08:15:44 +00:00
eric_tian 07a7038c78 update for passing the ICC compiler
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4498 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-04 05:51:44 +00:00
vanjeff dc361cc5a0 1. Import UEFI PxeBc module in MdeModulePkg
2. Remove some SMBIOS definitions defined in PxeBc module, use those who are defined in MdePkg.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4495 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-04 02:29:30 +00:00