/* This routine is the driver initialization entry point. It registers a notification function. This notification function are responsible for building the FV stack dynamically. */
EFI_STATUS EFIAPI FwVolDriverInit(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
/* This routine is the driver initialization entry point. It registers a notification function. This notification function are responsible for building the FV stack dynamically. */
EFI_STATUS EFIAPI FwVolDriverInit(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
{
  gEfiFwVolBlockEvent = EfiCreateProtocolNotifyEvent (
                          &gEfiFirmwareVolumeBlockProtocolGuid,
                          TPL_CALLBACK,
                          NotifyFwVolBlock,
                          NULL,
                          &gEfiFwVolBlockNotifyReg
                          );
  return EFI_SUCCESS;
}