Commit Graph

108 Commits

Author SHA1 Message Date
xli24 cfb0fad6c1 Remove unnecessary TPL operations in BDS module & library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5781 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-02 14:57:17 +00:00
qwang12 0ed0c867c7 To improve backward compatibility, add gEfiPrint2ProtocolGuid and rename gEfiPrintProtocolGuid to the previous GUID value used in EDK I. gEfiPrint2ProtocolGuid is a enhanced version of gEfiPrintProtocolGuid.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5771 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-02 01:45:02 +00:00
lgao4 60c93673b3 The driver and library in MdePkg, MdeModulePkg and Nt32Pkg that don't depend on PI spec should include Uefi.h not PiDxe.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5758 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-30 14:09:38 +00:00
qhuang8 f2added157 Add new line at the end of file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5744 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-27 14:52:28 +00:00
qhuang8 0ac727136e Add DxeCoreMemoryAllocationLib instance dedicated to DxeCore use.
The implementation borrows the DxeCore Memory Allocation services as the primitive
for memory allocation instead of using UEFI boot servces in an indirect way.
It is assumed that this library instance must be linked with DxeCore in this package. 

 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5737 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-27 13:38:01 +00:00
qhuang8 7b25a79dc8 CYGWIN_GCC cleanup for GenericBdsLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5736 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-27 13:30:27 +00:00
lgao4 e872988180 remove the unused msa files in MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5726 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-25 05:03:29 +00:00
qhuang8 d5aace2590 Add dependency of gEfiDpcProtocolGuid for these two library instances since they retrieve these two protocols at the library constructors.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5681 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-18 09:26:33 +00:00
mdkinney 520c936919 Simplify debug message for a selected boot option
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5603 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-01 22:51:15 +00:00
qwang12 5df74ff872 Update the comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5585 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-29 05:29:06 +00:00
klu2 ec8cd35c80 Code scrub for GenericBdsLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5545 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-22 04:17:51 +00:00
qhuang8 a475bfa225 1. Add usb LUD support in BDS
2. Enhance the orignal enumeration logic to check whether a internal shell boot option is valid. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5522 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-18 10:02:14 +00:00
qwang12 cfb9b643f7 Clean up ExtendedIfrSupportLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5486 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-16 03:05:41 +00:00
qwang12 329d3f3d01 add GLOBAL_REMOVE_IF_UNREFERENCED and CONST modifier.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5477 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-15 09:42:57 +00:00
qwang12 c7493fe5f3 [Description]:
Sync 1 trackers.
 EDK 1098   
[Impaction]:
Should be minimal impact as there is no code parsing the HII vendor specific device.
[Reference Info]:
EDK 1098 Seems there are two same device path protocols in NT 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5476 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-15 09:34:35 +00:00
vanjeff 379650305d set initialized value for PrintNum.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5469 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-15 06:52:26 +00:00
vanjeff aaf14379c6 check list clean.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5468 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-15 06:43:11 +00:00
qwang12 6ca46b63d2 Clean up ExtendedHiiLib, HiiLib, IfrSupportLib, ExtendedIfrSupportLib for Doxygen comments requirement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5459 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-14 05:30:21 +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
qwang12 11ef23f9d1 Clean up GenericBdsLib library Instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5449 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-11 06:02:04 +00:00
qwang12 0581905abb Clean up BootMaint module in BdsDxe.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5445 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-10 09:01:12 +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
vanjeff 2f50ef835c 1. Enabled UGA Draw consuming in GraphicsLib of MdemodulePkg.
2. ECC clean.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5422 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-08 08:15:20 +00:00
qwang12 7471b8cd57 Boolean values and variable type BOOLEAN should not use explicit comparisons to TRUE or FALSE
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5378 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-30 02:20:53 +00:00
qhuang8 e8a99c0881 Remove orphan files: R8Lib.c & R8Lib.h have already been removed from module INF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5320 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-04 04:16:14 +00:00
qwang12 44c8b896ab Remove the obsolete comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5288 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-26 01:29:05 +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
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
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
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
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 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
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
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
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
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
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
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
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
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
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
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 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
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 7221595471 Fix an issue that the bitmap should be loaded from any FV instead of current FV.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4656 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-01 15:09:28 +00:00
lgao4 e2591cb297 Fix bug in function EfiFvbEraseBlock()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4644 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-31 06:17:03 +00:00