Commit Graph

140 Commits

Author SHA1 Message Date
xli24 ce95aa7a7b Code Scrub for EdkDxePrintLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6417 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-06 14:14:22 +00:00
qhuang8 bac86c0d52 Code scrub EdkFvbServiceLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6412 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-06 08:29:42 +00:00
xli24 b7a985d4e2 Code Scrub for DxePlatDriOverLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6410 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-06 07:47:11 +00:00
klu2 e1a590c3e7 Add missing include for protocol header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6404 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-05 07:03:55 +00:00
klu2 e99f9b4a52 remove over specific protocol gEfiFirmwareVolume2ProtocolGuid for GraphicsLib library
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6397 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-05 05:43:09 +00:00
klu2 a660f6f566 Remove over specific guid gEfiDefaultBmpLogoGuid for PlatformBdsLibNull library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6395 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-05 05:34:05 +00:00
klu2 8ae56af81a Remove over specific guid gEfiHobListGuid
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6394 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-05 05:31:13 +00:00
klu2 4220192f47 Remove over specific header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6393 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-05 05:27:48 +00:00
klu2 e3eaedcd87 Remove over specify protocol/ppi/guid
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6392 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-05 05:25:21 +00:00
klu2 5a6213cda7 Remove over specific protocol guid and add missing header file for required protocol
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6391 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-05 05:21:49 +00:00
klu2 347cacceef Remove over specific protocol for library DxeIpIoLib
add missing protocol header file for DxeNetLib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6390 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-05 05:08:48 +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
qwang12 383ad6791f Remove a unncessary check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6352 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 07:50:56 +00:00
qwang12 c473cc1756 Fix a bug introduced when removing the SafeFreePool. Pointer should be checked before FreePool.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6349 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 06:35:23 +00:00
qhuang8 f5acf5c695 Update to use DOS format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6335 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 04:35:29 +00:00
qhuang8 262a60a499 Update to use DOS format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6334 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 04:35:13 +00:00
jji4 30ae98da98 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@6308 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-30 08:34:17 +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
xli24 a7e883d867 Move FvbServiceLib, GraphicsLib, and DxePalLib from MDE package due to package dependency issue, and update all DSC files accordingly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6286 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-29 09:36:06 +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
xli24 a86d0e2ca7 Remove EdkFvbServiceLib and GraphicsLib from MdeModulePkg, for they have been added to MDE package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6222 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-25 16:04:24 +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
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
qhuang8 1d5df82280 Set Root=NULL if some error code is returned from OpenVolume() interface of EfiSimpleFileSystem Protocol. The implementation of that interface does not necessarily set the output parameter of Root NULL if error code is returned.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6085 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-08 10:25:31 +00:00
eric_tian 1b88ce8644 sync the comments of FvbServiceLib library class with Mde Library Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6079 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-07 08:41:19 +00:00
eric_tian 6cb2629371 sync the comments of GraphicsLib library instance with Mde Library Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6055 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-28 01:50:42 +00:00
qhuang8 0ef93eb7b4 Update the default value of PcdPlatformBootTimeOutDefault to be 0xffff to be compliant to UEFI spec: If L"Timeout" variable is absent, we treat it as if it were 0xffff and wait for user key.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5963 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-24 14:39:46 +00:00
qwang12 eb91f2f8a2 Update the comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5908 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-17 03:01:18 +00:00
eric_tian 1349236994 follow up the comments from code review.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5891 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-16 05:19:25 +00:00
vanjeff e53a6ea90e remove EFI_EVENT_ alias, replace them with EVT_
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5813 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04 07:42:38 +00:00
vanjeff 8ee3a19908 Updated EFI_FVB_ATTRIBUTES to EFI_FVB_ATTRIBUTES_2.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5800 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-03 08:55:55 +00:00
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