diff options
Diffstat (limited to 'MdeModulePkg/Include')
-rw-r--r-- | MdeModulePkg/Include/Library/PlatDriOverLib.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/MdeModulePkg/Include/Library/PlatDriOverLib.h b/MdeModulePkg/Include/Library/PlatDriOverLib.h index 8e6ab174d7..e6a6faf101 100644 --- a/MdeModulePkg/Include/Library/PlatDriOverLib.h +++ b/MdeModulePkg/Include/Library/PlatDriOverLib.h @@ -24,6 +24,7 @@ Abstract: #include <PiDxe.h> #include <Protocol/PlatformDriverOverride.h> #include <Protocol/DevicePath.h> +#include <Protocol/DriverBinding.h> #include <Library/BaseLib.h> #include <VariableFormat.h> @@ -252,4 +253,19 @@ DeleteDriverImage ( IN LIST_ENTRY *MappingDataBase ); +/**
+ Get the first Binding protocol which has the specific image handle
+
+ @param Image Image handle
+
+ @return Pointer into the Binding Protocol interface
+
+**/
+EFI_DRIVER_BINDING_PROTOCOL *
+EFIAPI
+GetBindingProtocolFromImageHandle (
+ IN EFI_HANDLE ImageHandle,
+ OUT EFI_HANDLE *BindingHandle
+ ); + #endif |