diff options
-rw-r--r-- | IntelFrameworkPkg/IntelFrameworkPkg.dsc | 5 | ||||
-rw-r--r-- | IntelFrameworkPkg/Library/UefiLibFramework/UefiLibFramework.h | 7 | ||||
-rw-r--r-- | IntelFrameworkPkg/Library/UefiLibFramework/UefiLibFramework.inf | 13 |
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
|