diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-09-12 05:36:21 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-09-12 05:36:21 +0000 |
commit | 3ec64ac5033eec976703461698e698972eb70e63 (patch) | |
tree | d37ca81baf2a0b74371c5788be189a2df6732991 /MdeModulePkg | |
parent | bc3fc71a3797ee4d84ed0ada3957ea279078d423 (diff) | |
download | edk2-3ec64ac5033eec976703461698e698972eb70e63.zip edk2-3ec64ac5033eec976703461698e698972eb70e63.tar.gz edk2-3ec64ac5033eec976703461698e698972eb70e63.tar.bz2 |
add param ImageHandle for MnpFlushServiceData().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5887 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Universal/Network/MnpDxe/MnpConfig.c | 5 | ||||
-rw-r--r-- | MdeModulePkg/Universal/Network/MnpDxe/MnpDriver.c | 4 | ||||
-rw-r--r-- | MdeModulePkg/Universal/Network/MnpDxe/MnpImpl.h | 5 |
3 files changed, 8 insertions, 6 deletions
diff --git a/MdeModulePkg/Universal/Network/MnpDxe/MnpConfig.c b/MdeModulePkg/Universal/Network/MnpDxe/MnpConfig.c index aea31e4..2268e6d 100644 --- a/MdeModulePkg/Universal/Network/MnpDxe/MnpConfig.c +++ b/MdeModulePkg/Universal/Network/MnpDxe/MnpConfig.c @@ -469,7 +469,8 @@ ERROR: **/
VOID
MnpFlushServiceData (
- MNP_SERVICE_DATA *MnpServiceData
+ IN MNP_SERVICE_DATA *MnpServiceData,
+ IN EFI_HANDLE ImageHandle
)
{
NET_CHECK_SIGNATURE (MnpServiceData, MNP_SERVICE_DATA_SIGNATURE);
@@ -516,7 +517,7 @@ MnpFlushServiceData ( gBS->CloseProtocol (
MnpServiceData->ControllerHandle,
&gEfiSimpleNetworkProtocolGuid,
- This->DriverBindingHandle,
+ ImageHandle,
MnpServiceData->ControllerHandle
);
}
diff --git a/MdeModulePkg/Universal/Network/MnpDxe/MnpDriver.c b/MdeModulePkg/Universal/Network/MnpDxe/MnpDriver.c index 1c02e73..7284fd7 100644 --- a/MdeModulePkg/Universal/Network/MnpDxe/MnpDriver.c +++ b/MdeModulePkg/Universal/Network/MnpDxe/MnpDriver.c @@ -166,7 +166,7 @@ ErrorExit: //
// Flush the Mnp Service Data.
//
- MnpFlushServiceData (MnpServiceData);
+ MnpFlushServiceData (MnpServiceData, This->DriverBindingHandle);
}
gBS->FreePool (MnpServiceData);
@@ -250,7 +250,7 @@ MnpDriverBindingStop ( //
// Flush the Mnp service data.
//
- MnpFlushServiceData (MnpServiceData);
+ MnpFlushServiceData (MnpServiceData, This->DriverBindingHandle);
gBS->FreePool (MnpServiceData);
} else {
diff --git a/MdeModulePkg/Universal/Network/MnpDxe/MnpImpl.h b/MdeModulePkg/Universal/Network/MnpDxe/MnpImpl.h index 436dbeb..4b62967 100644 --- a/MdeModulePkg/Universal/Network/MnpDxe/MnpImpl.h +++ b/MdeModulePkg/Universal/Network/MnpDxe/MnpImpl.h @@ -1,6 +1,6 @@ /** @file
-Copyright (c) 2005 - 2007, Intel Corporation
+Copyright (c) 2005 - 2008, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -105,7 +105,8 @@ MnpInitializeServiceData ( VOID
MnpFlushServiceData (
- MNP_SERVICE_DATA *MnpServiceData
+ IN MNP_SERVICE_DATA *MnpServiceData,
+ IN EFI_HANDLE ImageHandle
);
VOID
|