Commit Graph

121 Commits

Author SHA1 Message Date
lzeng14 3397c6f590 For libraries that have multiple module types support, just define a [Depex] section for specified module types that are permitted to have a [Depex] section.
Signed-off-by: lzeng14
Reviewed-by: lgao4

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12052 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-27 08:54:57 +00:00
niruiyu 2dfdd3eb97 Change BuildGuidHob and BuildGuidDataHob to return NULL upon failure.
Guarantee no memory corruption in an out of memory condition even in production builds.

Signed-off-by: niruiyu
Reviewed-by: mdkinney

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11777 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-09 02:53:56 +00:00
xli24 8194a0232c Add explicit type cast to suppress possible warning of precession loss.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10784 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-10 07:15:06 +00:00
mdkinney 4ea439fb1d Sync FrameworkUefiLib with the MdePkg UefiLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10583 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-14 23:32:07 +00:00
hhtian 2b3687dbb5 Update the copyright notice format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10404 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 15:52:13 +00:00
lgao4 2521180e14 Remove the duplicated SmmLibNull, which has been moved into MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10340 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-06 02:51:03 +00:00
klu2 c63af3f402 Clean up EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10079 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-25 17:00:18 +00:00
lgao4 6bfbb5f0e0 1. Correct File header to ## @file
2. Remove unnecessary .common] postfix on section.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10052 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-24 00:21:16 +00:00
mdkinney 33338afebd Remove dependency on PCI Root Bridge I/O Protocol. This library should only layer on top of the CPU I/O Protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9690 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-07 22:03:51 +00:00
xli24 ce9b1e3ae0 Minor code enhancement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9685 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-07 09:12:14 +00:00
davidhuang 4fd13cd57d PI 1.1 SMM Feature Check-in
1. Update SmmLib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9592 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-23 06:52:07 +00:00
mdkinney 87d6344732 1) Add Include/Framework/BootScript.h that contains defines shared between Boot Script Executer PPI and Boot Script Save Protocol. Remove those safe defines from Include/Ppi/BootScriptExecuter.h
2) Remove Include/Framework/DataHubRecords.h and merge its content into Include/Guid/DataHubRecords.h
3) Remove Include/Framework/Legacy16.h and merge its contents into Include/Protocol/LegacyBios.h
4) Update FrameworkDxe.h to no longer include all the Legacy16.h and DataHubRecords.h contents.  This reduces the number of include file and definitions pulled in when a module include FrameworkDxe.h.  The Legacy16.h contents can now be included by a module through Protocol/LegacyBios.h and the DataHubRecords.h contents can be included by a module through Guid/DataHubRecords.h
5) Update Include/Guid/StatusCodeDataTypeId.h so it can be safely included by both PEIMs and DXE Modules since both the PEI and DXE phases support status codes
6) Remove extra #includes where possible to reduce number of files included during a build.
7) Update Include/Protocol/LegacyBiosPlatform.h to #include Include/Protocol/LegacyBios.h since it depends on HDD_INFO and COMPATIBILITY16 strictures carried by LegacyBios.h



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8899 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-11 23:25:44 +00:00
xli24 a56678b8ce Add null instance of SmmLib in IntelFrameworkPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8686 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-30 06:59:33 +00:00
lgao4 84dcd70d0e Update FV file path to follow the definition in Framework DxeCis 0.91.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8619 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-22 02:15:30 +00:00
eric_tian 57b201b843 update the file description of PrintXY and AsciiPrintXY. and also refine the implementation to return the number of actual printed characters.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8373 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-21 10:04:21 +00:00
eric_tian 619e4c06c3 update the implementation of InternalPrintGraphic to reflect the number of actual printed character
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8370 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-21 09:27:29 +00:00
mdkinney a5a3a29c4c Clarify BuildCvHob() API in HobLib to state that this function will ASSERT() if the platform does not support Capsule Volume HOBs. This allows PI implementations to ASSERT() and Framework implementations to provide a full implementation of this API.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8279 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-09 01:48:15 +00:00
lgao4 fcd1a8457c Retire framework IfrSupportLib and HiiLib, which will be replaced by new designed Hii library in MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8150 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-22 07:50:41 +00:00
eric_tian d46dfe99e5 remove the gEfiLoadPeImageProtocolGuid and replace all references for it with BasePeCoffLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8095 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-16 02:43:41 +00:00
qhuang8 e115460bd7 sync Print functions with MdePkg counterpart.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8093 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-15 14:32:10 +00:00
rsun3 36fd07d3c5 Retire FrameworkHiiLib library class. Remove FrameworkHiiLib library instance now and will be added later if necessary.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7989 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-31 02:42:08 +00:00
gdong1 4af947e5ca Add PCD to save size.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7932 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-24 08:43:54 +00:00
gdong1 5547062df5 Fixed two K8 report issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7929 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-24 06:53:26 +00:00
xli24 6bfc419e70 Fix incorrect function headers of I/O Lib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7806 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 07:22:26 +00:00
qhuang8 2f78ec7a7a Add PeiHobLibFramework instance to provide a real implementation for BuildCvHob()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7785 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-03 14:21:58 +00:00
qhuang8 1088908eb2 Sync with MdePkg counterpart
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7665 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-25 03:00:11 +00:00
gdong1 1b74e1c7ff Fix FreePoll() bugs in some places.
Removed the dependency to MdeModulePkg in the HiiLibFramework
Removed EDK_RELEASE_VERSION and EFI_SPECIFICATION_VERSION in the Framework inf file.
other coding style changes


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7218 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-08 09:37:30 +00:00
lgao4 779808545d Fix VS2005 build error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7181 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-05 02:20:16 +00:00
gdong1 409f118c84 Replace some CopyMem() for GUID copy with CopyGuid().
Replace some gBS->FreePool() with FreePool().
Add EFIAPI modifier.
Removed inconsistent OPTIONAL modifier.
Coding style issue fix.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7176 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-04 08:06:07 +00:00
gdong1 49a049e6d2 correct some coding style issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7112 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-24 02:42:57 +00:00
gdong1 a387653db2 correct some code style issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7104 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-23 10:25:33 +00:00
gdong1 e681318906 In Comment, the parameter name does NOT consistent with function parameter name
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7102 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-23 09:45:45 +00:00
gdong1 cd15d4715c git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7064 6f19259b-4bc3-4df7-8a09-765794883524 2008-12-17 09:05:42 +00:00
tding1 0ade0d28c1 remove EDK_RELEASE_VERSION in inf file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7026 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-15 06:01:48 +00:00
tding1 38e7a3f00a update [Depex] section
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6999 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-11 09:36:02 +00:00
tding1 3abd5df7d9 update code comment
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6981 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 10:14:18 +00:00
tding1 596cecff81 update function comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6922 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-08 09:47:28 +00:00
gikidy 3c39934be2 Change comment "bitwise inclusive OR" to "bitwise OR".
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6875 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-05 09:42:55 +00:00
tding1 d85067fdf9 update INF [LibraryClasses] section to match include libs in module master header file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6846 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 09:36:31 +00:00
tding1 4ebb0d9eb1 fix ecc report-out issues
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6831 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 06:12:44 +00:00
qhuang8 bf428cb388 Sync UefiLib instance in IntelFrameworkPkg with the one in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6797 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01 14:42:26 +00:00
eric_tian 334983fa98 change DxeSmmDriverEntryPoint library class name to UefiEntryPoint
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6657 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 04:30:05 +00:00
qwang12 00a1f55295 Update doxygen comment for VarArg list.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6621 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 03:24:44 +00:00
qhuang8 6abba83241 Add dependency of MdeModulePkg since HiiLib has been moved to MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6533 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 10:10:16 +00:00
klu2 a6d5e5f7f3 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@6458 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-11 15:44:41 +00:00
eric_tian 2563c29363 +++++ mdkinney 11/5/2008 11:08:13 PM
The library class DxeSmmDriverEntryPoint is no longer required.  It is identical to UefiDriverEntryPoint, so that library class should be used.  We can still have a different library instance for UEFI and DXE SMM drivers, but they can share the same lib class defintion.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6432 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-07 10:00:54 +00:00
qhuang8 263480c62c Add gEfiDriverConfiguration2ProtocolGuid GUID C Name in INF.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6424 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-07 06:31:56 +00:00
qhuang8 ed916b22cb Sync the UefiDriverModule.c with counter part in MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6420 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-07 06:24:34 +00:00
jji4 df1f748c87 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@6297 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-30 06:06:07 +00:00
qhuang8 c6ad4aa601 Add back PeiServicesTablePointerLib library class since GetPeiServicesPointer() API is directly used in PeiSmbusLibSmbusPpi.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6160 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-21 01:14:18 +00:00