From 933676058bba13b9d89d9c1cfbc11c016fd55d59 Mon Sep 17 00:00:00 2001 From: eric_tian Date: Thu, 12 Mar 2009 05:10:53 +0000 Subject: retire gEfiAlternateFvBlockGuid. All platform FvbRuntimeDxe drivers will not produce such protocol to signify itself support writable FVB protocol. FaultTolerantWrite driver and variable driver will register notification event to locate right protocol. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7865 6f19259b-4bc3-4df7-8a09-765794883524 --- DuetPkg/FvbRuntimeService/DUETFwh.inf | 1 - DuetPkg/FvbRuntimeService/FWBlockService.c | 11 ----------- DuetPkg/FvbRuntimeService/FwBlockService.h | 2 -- 3 files changed, 14 deletions(-) (limited to 'DuetPkg/FvbRuntimeService') diff --git a/DuetPkg/FvbRuntimeService/DUETFwh.inf b/DuetPkg/FvbRuntimeService/DUETFwh.inf index 9a73ae8110..b00ea7b5f1 100644 --- a/DuetPkg/FvbRuntimeService/DUETFwh.inf +++ b/DuetPkg/FvbRuntimeService/DUETFwh.inf @@ -51,7 +51,6 @@ [Guids] gEfiFlashMapHobGuid gEfiHobListGuid - gEfiAlternateFvBlockGuid [Protocols] gEfiSimpleFileSystemProtocolGuid diff --git a/DuetPkg/FvbRuntimeService/FWBlockService.c b/DuetPkg/FvbRuntimeService/FWBlockService.c index f5260a5eaa..664a4cffc6 100644 --- a/DuetPkg/FvbRuntimeService/FWBlockService.c +++ b/DuetPkg/FvbRuntimeService/FWBlockService.c @@ -1632,17 +1632,6 @@ Returns: // ASSERT (FALSE); } - // - // Install FVB Extension Protocol on the same handle - // - Status = gBS->InstallMultipleProtocolInterfaces ( - &FwbHandle, - &gEfiAlternateFvBlockGuid, - NULL, - NULL - ); - - ASSERT_EFI_ERROR (Status); FwhInstance = (EFI_FW_VOL_INSTANCE *) ( diff --git a/DuetPkg/FvbRuntimeService/FwBlockService.h b/DuetPkg/FvbRuntimeService/FwBlockService.h index eddde81b4a..bec2572a3c 100644 --- a/DuetPkg/FvbRuntimeService/FwBlockService.h +++ b/DuetPkg/FvbRuntimeService/FwBlockService.h @@ -31,7 +31,6 @@ Abstract: #include #include #include -#include #include #include #include @@ -39,7 +38,6 @@ Abstract: #include #include #include -#include // // The Library classes this module consumes -- cgit v1.2.3