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
This commit is contained in:
eric_tian
2009-03-12 05:10:53 +00:00
parent f3fb74cdac
commit 933676058b
14 changed files with 322 additions and 389 deletions

View File

@ -22,7 +22,6 @@ Revision History
#include "PiDxe.h"
#include <Guid/EventGroup.h>
#include <Protocol/FirmwareVolumeBlock.h>
#include <Guid/AlternateFvBlock.h>
#include <Protocol/DevicePath.h>
#include <Library/UefiLib.h>
@ -1355,15 +1354,6 @@ Returns:
ASSERT (FALSE);
}
Status = gBS->InstallMultipleProtocolInterfaces (
&FwbHandle,
&gEfiAlternateFvBlockGuid,
NULL,
NULL
);
ASSERT_EFI_ERROR (Status);
FwhInstance = (EFI_FW_VOL_INSTANCE *)
(
(UINTN) ((UINT8 *) FwhInstance) + FwVolHeader->HeaderLength +