summaryrefslogtreecommitdiff
path: root/IntelFrameworkPkg
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2007-09-17 04:13:54 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2007-09-17 04:13:54 +0000
commitc18099186c2e318323df7ad21879fd1a102db38f (patch)
tree3ab0373da48c7ef6785432f6d3dfc497ec88c92e /IntelFrameworkPkg
parentc0ee02af6bd31d246d2b838d37e6b1f1cc445029 (diff)
downloadedk2-platforms-c18099186c2e318323df7ad21879fd1a102db38f.tar.xz
Make IntelFrameworkPkg pass package build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3872 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkPkg')
-rw-r--r--IntelFrameworkPkg/IntelFrameworkPkg.dsc5
-rw-r--r--IntelFrameworkPkg/Library/UefiLibFramework/UefiLibFramework.h7
-rw-r--r--IntelFrameworkPkg/Library/UefiLibFramework/UefiLibFramework.inf13
3 files changed, 25 insertions, 0 deletions
diff --git a/IntelFrameworkPkg/IntelFrameworkPkg.dsc b/IntelFrameworkPkg/IntelFrameworkPkg.dsc
index 501828f05f..fa20b026f0 100644
--- a/IntelFrameworkPkg/IntelFrameworkPkg.dsc
+++ b/IntelFrameworkPkg/IntelFrameworkPkg.dsc
@@ -45,6 +45,11 @@
[PcdsPatchableInModule.common]
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000
+[PcdsFeatureFlag.common]
+ gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|FALSE
+ gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|FALSE
+ gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|FALSE
+ gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|FALSE
################################################################################
#
diff --git a/IntelFrameworkPkg/Library/UefiLibFramework/UefiLibFramework.h b/IntelFrameworkPkg/Library/UefiLibFramework/UefiLibFramework.h
index f15b4327de..913b653335 100644
--- a/IntelFrameworkPkg/Library/UefiLibFramework/UefiLibFramework.h
+++ b/IntelFrameworkPkg/Library/UefiLibFramework/UefiLibFramework.h
@@ -21,6 +21,13 @@
#include <FrameworkDxe.h>
+#include <Protocol/DriverBinding.h>
+#include <Protocol/ComponentName.h>
+#include <Protocol/ComponentName2.h>
+#include <Protocol/DriverConfiguration.h>
+#include <Protocol/DriverDiagnostics.h>
+#include <Protocol/DriverDiagnostics2.h>
+
#include <Guid/EventGroup.h>
#include <Guid/EventLegacyBios.h>
#include <Guid/FrameworkDevicePath.h>
diff --git a/IntelFrameworkPkg/Library/UefiLibFramework/UefiLibFramework.inf b/IntelFrameworkPkg/Library/UefiLibFramework/UefiLibFramework.inf
index 898df50416..c5f227eada 100644
--- a/IntelFrameworkPkg/Library/UefiLibFramework/UefiLibFramework.inf
+++ b/IntelFrameworkPkg/Library/UefiLibFramework/UefiLibFramework.inf
@@ -55,6 +55,14 @@
BaseLib
UefiBootServicesTableLib
+[Protocols]
+ gEfiDriverBindingProtocolGuid # ALWAYS_CONSUMED
+ gEfiComponentNameProtocolGuid # SOMETIMES_CONSUMED
+ gEfiComponentName2ProtocolGuid # SOMETIMES_CONSUMED
+ gEfiDriverConfigurationProtocolGuid # SOMETIMES_CONSUMED
+ gEfiDriverDiagnosticsProtocolGuid # SOMETIMES_CONSUMED
+ gEfiDriverDiagnostics2ProtocolGuid # SOMETIMES_CONSUMED
+ gEfiFirmwareVolume2ProtocolGuid # ALWAYS_CONSUMED
[Guids]
gEfiFrameworkDevicePathGuid # ALWAYS_CONSUMED
@@ -65,3 +73,8 @@
[Pcd.common]
gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize
+[FeaturePcd.common]
+ gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable
+ gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable
+ gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable
+ gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable