From c8ad2d7a296c851c2a91519f80dab479df0fdf46 Mon Sep 17 00:00:00 2001 From: lgao4 Date: Sun, 18 Sep 2011 12:21:01 +0000 Subject: Clean up the private GUID definition in module Level. 0. Remove the unused private GUID from module source files. 1. Use gEfiCallerIdGuid replace of the private module GUID. 2. Add the public header files to define HII FormSet and PackageList GUID used in every HII driver. 3. Move two EBC protocols for debug purpose from EBC driver to MdeModulePkg Include directory. Signed-off-by: lgao4 Reviewed-by: ydong10 gdong1 tye jfan12 wli12 rsun3 jyao1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12373 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Universal/Network/VlanConfigDxe/VlanConfigDriver.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDriver.c') diff --git a/MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDriver.c b/MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDriver.c index 19db6cea97..52bb99fa5d 100644 --- a/MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDriver.c +++ b/MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDriver.c @@ -15,8 +15,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include "VlanConfigImpl.h" -EFI_GUID gVlanConfigPrivateGuid = VLAN_CONFIG_PRIVATE_GUID; - EFI_DRIVER_BINDING_PROTOCOL gVlanConfigDriverBinding = { VlanConfigDriverBindingSupported, VlanConfigDriverBindingStart, @@ -136,7 +134,7 @@ VlanConfigDriverBindingStart ( // Status = gBS->OpenProtocol ( ControllerHandle, - &gVlanConfigPrivateGuid, + &gEfiCallerIdGuid, (VOID **) &PrivateData, This->DriverBindingHandle, ControllerHandle, @@ -203,7 +201,7 @@ VlanConfigDriverBindingStart ( // Status = gBS->InstallMultipleProtocolInterfaces ( &ControllerHandle, - &gVlanConfigPrivateGuid, + &gEfiCallerIdGuid, PrivateData, NULL ); @@ -266,7 +264,7 @@ VlanConfigDriverBindingStop ( // Status = gBS->OpenProtocol ( ControllerHandle, - &gVlanConfigPrivateGuid, + &gEfiCallerIdGuid, (VOID **) &PrivateData, This->DriverBindingHandle, ControllerHandle, @@ -287,7 +285,7 @@ VlanConfigDriverBindingStop ( // Status = gBS->UninstallMultipleProtocolInterfaces ( ControllerHandle, - &gVlanConfigPrivateGuid, + &gEfiCallerIdGuid, PrivateData, NULL ); -- cgit v1.2.3