Commit Graph

569 Commits

Author SHA1 Message Date
lgao4 ac7e320cb8 Remove NibbleToHexChar() function from BaseLib
Move IsHexDigit, BufToHexString, HexStringToBuf from BaseLib to MdeModulePkg IfrSupportLib. The reason is:
1) IsHexDigit function provides the logic to check Hex Digit and convert it to Decimal value, which is required by IScsi LUN and HII user input. But this logic is not provided by any functions in MdeLib. So, it can't be deleted. It is moved to IfrSupportLib.
2) BufToHexString function converts a array of buffers to hex string. If the buffer length is less than sizeof (UINT64), it can be directly replaced by UnicodeValueToString(). But HII modules may use BufToHexString to convert the buffers whose length > sizeof (UINT64). For example:
.\MdeModulePkg\Universal\HiiDatabaseDxe\ConfigRouting.c line 201, 1148
.\Universal\SetupBrowserDxe\Setup.c line line 1457, 1503
Like this case, it is not easy to use UnicodeValueToString to replace BufToHexString. So, BufToHexString is still kept. Because such usages are in HII modules, this function is moved to IfrSupportLib. 
3) HexStringToBuf is moved to IfrSupportLib. The reason is similar to BufToHexString.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6782 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01 02:32:12 +00:00
vanjeff 48bd50c5a1 1. Fixed issue when calculating timeout value in timeout function in MNP module.
2. Added and refine some comments.
3. Enable UefiPxeBc Module to accept all broadcast packets for UDP Read&Write interface.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6781 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01 01:59:45 +00:00
niry 85511ddf72 Fix coding style issues for Tcp4Dxe driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6774 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-28 08:32:24 +00:00
qhuang8 8db9d51d78 Make HiiDatabase module not depend on HiiLib; otherwise it will inherit HII_DATABASE_PROTOCOL to its own dependency.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6764 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 13:15:24 +00:00
vanjeff 0891b0a2cb Fixed one bug when calculating timeout value in timeout function for UDP protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6763 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 09:46:01 +00:00
qhuang8 11e9250309 Add GetCurrentLanguage() to HiiLib in MdeModulePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6758 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 07:43:56 +00:00
lgao4 a55caa5335 Update PEIM entry point to follow PEIM entry point.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6755 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 05:24:29 +00:00
lgao4 8bd22b8aaa Update PEIM entry point to follow PEIM entry point.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6753 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 05:18:32 +00:00
xli24 067447099c Add necessary CONST modifier.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6752 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 05:07:24 +00:00
klu2 25ce1e97eb Fix ECC issue for PCD Dxe and Peim
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6745 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 02:15:51 +00:00
eric_tian 133e09da3d code scrub
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6715 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-25 02:26:17 +00:00
vanjeff 519f076a47 1.retried graphics library class from MdePkg
2.retried graphics library instance from MdeModulePkg
3.Move EnableQuietBoot(), DisableQuietBoot() and LockKeyboards() into GenericBdsLib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6691 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 05:49:59 +00:00
mdkinney c46484952a Update to use ReallocatePool() from BaseMemoryLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6678 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-22 00:52:53 +00:00
vanjeff b643f69c98 using the exact device path DEBUGPORT_DEVICE_PATH.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6670 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 09:48:41 +00:00
vanjeff 204ba917ba code scrub.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6667 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 08:32:38 +00:00
vanjeff 2d285faad8 Code scrub for DebugPortDxe.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6665 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 07:13:33 +00:00
qwang12 f4113e1fdb 1) Remove the variable initalization in declaration.
2) Change all gBS->FreePool to use the MdePkg/BaseLib's FreePool.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6662 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 06:59:58 +00:00
lgao4 05f89b17b8 1. Add Max Try Times check to clear Ps2Kbd status register. If exceed the max try times, the device may be error.
2. To follow PI spec, PciCfg PPI doesn't require ASSERT for the unalign PCI IO access.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6659 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 05:55:40 +00:00
qwang12 f9f31f7423 ECC Cleanup: Remove variable initialization in declaration.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6645 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-20 05:15:13 +00:00
vanjeff b31547205f 1.Removed PrintXY from Graphics Library.
2.Added PrintXY and AsciiPrintXY in Uefi Library
3.Moved PcdUgaConsumeSupport from MdeModulePkg to MdePkg.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6642 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-20 03:08:28 +00:00
lgao4 c48d41d2c7 Update SecurityStub function to align PI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6637 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 14:25:16 +00:00
qwang12 7064c0a5aa ECC Cleanup: Update Doxygen comment
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6633 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 13:36:34 +00:00
qwang12 a3a70b6ac1 Doxygen fix.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6632 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 12:30:42 +00:00
qwang12 69367b5bb9 Fixed a ECC error.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6631 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 12:01:25 +00:00
jgong5 ed729a0c3c synced function header
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6615 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 14:30:46 +00:00
qwang12 83bcb6613f [VfrCompiler FeatureRequest] Generate data for ConfigAccess.ExtractConfig() impl
Update the platform code after the above VfrCompiler checkin

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6614 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 14:29:48 +00:00
jgong5 ce904bae52 synced function header
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6608 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 13:37:36 +00:00
jgong5 2ff2921247 synced function header
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6595 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 09:29:44 +00:00
xli24 555e76f83f Refine MdeModulePkg to pass GCC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6575 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 07:01:14 +00:00
niry b6c4ecad36 fix code style issue and add function header
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6570 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 04:52:51 +00:00
xli24 d41be01a6f Use @retval instead of @return.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6556 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-17 04:34:14 +00:00
xli24 96437c903c Code scrub for WatchdogTimer driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6555 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-17 04:33:19 +00:00
xli24 636578d333 Code scrub for Monotonic Counter Driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6554 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-17 03:33:42 +00:00
jgong5 f92046412a Scrubbed part of the code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6548 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-14 09:16:11 +00:00
qhuang8 a266bb2d04 Add missed Metronome.h in [Sources] section
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6538 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 11:36:30 +00:00
jgong5 bab52709d8 Scrubbed some code for Udp4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6494 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 08:08:44 +00:00
xli24 f8c9de87bc Update DebugSupportDxe module to pass IPF GCC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6492 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 08:02:26 +00:00
niry 4cda7726e5 sync comments, fix function header, rename variable name to follow coding style.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6481 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 03:42:21 +00:00
jji4 dfc005c30f Code Scrub:
/MdeModulePkg/Universal/Variable/Pei/Variable.c re-scrubbed

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6477 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 01:47:14 +00:00
jji4 33479ddfd7 Code Scrub:
MdeModulePkg\Universal\Variable\Pei


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6475 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-12 10:30:50 +00:00
jji4 21176834e0 Code Scrub:
MdeModulePkg\Universal\PcatRealTimeClockRuntimeDxe
 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6468 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-12 06:41:40 +00:00
qhuang8 c6bc765fca Fix ICC build break.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6464 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-12 01:14:36 +00:00
klu2 1232b21473 1, Add <Library/DevicePathLib.h> for all source that use device path utility macros
2, Add DevicePathLib library class to module's INF that use device path utility macros

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6456 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-11 15:42:40 +00:00
jgong5 96e1079fa4 Scrubbed more.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6454 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-11 09:23:25 +00:00
jgong5 5405e9a66b Scrubbed some files for IP4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6447 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-11 02:44:30 +00:00
xli24 96268f2822 Code scrub for Metronome driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6431 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-07 09:55:05 +00:00
xli24 92733d4590 Code scrub for Metronome driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6430 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-07 09:53:51 +00:00
xli24 b3764698fa Code scrub for NullMemoryTest driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6429 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-07 09:34:50 +00:00
xli24 378871863f Code Scrub for BaseMemoryTest PEIM.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6427 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-07 08:05:42 +00:00
jji4 8d85dc3126 Code scrub:
MdeModulePkg/Universal/PcatRealTimeClockRuntimeDxe

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6426 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-07 07:44:21 +00:00
xli24 c5ed97f628 Code Scrub for ConPlatform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6425 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-07 07:18:15 +00:00
vanjeff 9e604fe42d ECC clean up.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6405 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-05 08:44:03 +00:00
klu2 55a5da2838 Remove over specific library class DebugLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6403 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-05 06:58:18 +00:00
klu2 e55d1e98ed Remove over specific library class DevicePathLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6402 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-05 06:55:49 +00:00
klu2 17b9cd33d7 Remove over specific libraryclass PeiServicesTablePointerLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6401 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-05 06:39:21 +00:00
klu2 5451bd96de 1, Add missing header file reference in source code section
2, Add missing header file for protocol
3, Remove over specific protocol guid reference in INF file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6400 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-05 06:35:13 +00:00
klu2 8296c9807b Remove over specific HobLib library for FtwLite module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6399 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-05 05:47:25 +00:00
klu2 aa80dbdee9 Remove over specific BaseLib library class for DriverSampleDxe module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6398 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-05 05:45:51 +00:00
klu2 a4b9cb0bcf Remove over specific information from BdsDxe module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6396 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-05 05:40:29 +00:00
klu2 e46e575030 Remove over specific library class
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6383 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-05 02:12:58 +00:00
qwang12 8d00a0f195 Sync in bug fix from EDK I:
1) issue with setup browser and IFR refresh opcode
2) [HII]HIIConfigRoutingExportConfig generate error format of <MultiConfigAltResp>
3) [HII] ConfigRouting->ExtractConfig() will cause overflow
4) [Hii Database] EFI_HII_DATABASE_NOTIFY should be invoked when a string package is created internally when a new String Token is created
5) [PT]HIIConfigAccessProtocolTest fail on NT32uefi
6) Incorrect HII package types in EDK

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6378 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-04 14:28:08 +00:00
vanjeff e9f9d09a69 filename renaming to meet coding style.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6371 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-04 06:31:13 +00:00
vanjeff 9727163329 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6370 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-04 06:12:24 +00:00
vanjeff 6d0d86028e Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6369 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-04 06:12:06 +00:00
vanjeff 5fb4d9348d Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6368 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-04 06:11:21 +00:00
vanjeff 4973f32dfc Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6367 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-04 06:11:01 +00:00
vanjeff 5d2692a499 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6366 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-04 06:10:40 +00:00
vanjeff c1252c5ee0 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6365 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-04 06:06:47 +00:00
vanjeff 4786c2bed4 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6364 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-04 06:06:24 +00:00
vanjeff 49c8b87c66 ECC clean up for DebugPort Module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6363 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-04 05:35:49 +00:00
qhuang8 c64223e3f1 Use #include "XXX.h" for module internal header files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6344 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 04:43:59 +00:00
qhuang8 23665a11bc Update to use DOS format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6343 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 04:42:53 +00:00
qhuang8 23837df25b Use #include "XXX.h" for module internal header files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6342 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 04:42:07 +00:00
qhuang8 c60a06168c Update to use DOS format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6341 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 04:41:33 +00:00
qhuang8 30368135ac Update to use DOS format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6340 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 04:40:51 +00:00
qhuang8 fe5717664e Update to use DOS format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6339 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 04:38:54 +00:00
qhuang8 0ad02bbddf Use #include "XXX.h" for module internal header files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6338 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 04:38:10 +00:00
qhuang8 e87a334f09 Use #include "XXX.h" for module internal header files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6337 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 04:37:47 +00:00
qhuang8 0bb0f8b893 Update to use DOS format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6336 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 04:36:53 +00:00
qwang12 19b15d6310 Change functional static variable to Global variable. No STATIC modifier is recommended though it is defined in Base.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6313 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 02:04:40 +00:00
qwang12 676df92c2c Remove SafeFreePool from MemoryAllocationLib as this API's name is misleading. Its implementation only check if a pointer is NULL. If a garbage pointer is passed in, the gBS->FreePool will still ASSERT in debug build and return error code.
It is recommended that module writer should keep track how a pointer is allocated and free it after use.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6306 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-30 07:32:46 +00:00
jji4 fe1e36e550 Patch to remove STATIC modifier. This is on longer recommended by EFI Framework coding style. All duplicated symbols has been renamed accordingly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6296 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-30 06:05:06 +00:00
vanjeff 045c8b9a4d add Metronome.inf into MdeModulePkg.dsc.
updated doxgen format file header for Metronome module.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6280 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-29 01:00:34 +00:00
mdkinney 6296e67c85 Fix copyright date
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6279 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 22:27:54 +00:00
mdkinney fbfd91e6b9 Add generic module that produces the Metronome Architectural Protocol on top of an instance of the Timer Library defined in the MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6278 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 18:53:03 +00:00
vanjeff 078bee4ebf clean up EBC in inf files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6267 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 07:17:17 +00:00
qwang12 0e549d5be5 Make use of correct format String:
1) UINT64 should use %lx
2) POINTER type should use %p
3) EFI_STATUS should use %r


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6253 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-27 10:13:00 +00:00
vanjeff 88a1936797 re-defined CDROM_VOLUME_DESCRIPTOR to be a union including Boot Record Volume Descriptor and Primary Volume Description.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6251 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-27 06:51:17 +00:00
qwang12 49e7092714 Add in local variable to ensure that "operands are evaluated in specified order".
Otherwise, Intel ICC report "operands are evaluated in unspecified order" build error.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6231 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-26 07:32:20 +00:00
qwang12 6c7a807a54 1) Update SetPeiServicesTablePointer's prototype add CONST modifier.
2) Move STRING_REF from MdePkg/Include/Uefi/UefiBaseType.h to IntelFramework/Include/Protocol/FrameworkHii.h.
3) Move RELOFST from MdePkg/Include/Uefi/UefiInternalFormRepresentation.h to IntelFramework/Include/Protocol/FrameworkHii.h.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6166 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-21 05:55:27 +00:00
xli24 4f06d35a0f Move definition of EFI_PARTITION_ENTRY_STATUS from IndustryStandard in MDE Package to implementation of PartitionDxe module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6156 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-20 15:21:09 +00:00
qwang12 284c8400e8 Base on PI spec, GetPeiServicesTablePointer is updated to return CONST EFI_PEI_SERVICES**. This is a incompatible changes. All file that reference this must be updated.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6127 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-17 08:42:33 +00:00
lgao4 912004c098 Roolback PlatformMngr to UEFI_APPLICATION, and remove its dependency section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6118 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-15 09:32:43 +00:00
lgao4 71f36e0f75 Minor update for PlatOverMngr driver, VariableFormat.h and DxePcdLib.c.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6114 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-15 04:20:44 +00:00
qwang12 190344219a Remove the unnecessary include, such as PiDxe.h, PiPei.h, Base.h and Uefi.h in header file. The module should include these files before include the Protocol/Ppi/Guid/Library header files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6111 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-14 15:34:00 +00:00
mdkinney 5ead4a07a8 If there are variables in the VAR_ADDED state that are identical to the variable being updated during reclaim, then only keep the variable being updated and delete variables in the VAR_ADDED state.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6104 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-11 23:44:40 +00:00
lgao4 3909993808 Remove the package header files PiDxe.h/PiPei.h/Uefi.h included by Protocol/Ppi/Guid header file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6087 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-09 01:12:34 +00:00
vanjeff 49eb07e451 Changing source filename to match name changing.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6014 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 03:13:37 +00:00
vanjeff 023577a650 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6009 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 02:55:10 +00:00
vanjeff 44f9e3ca1f Renamed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5992 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 02:26:32 +00:00