TianoCore EDK2 master
|
#include <PiSmm.h>
#include <Library/SmmServicesTableLib.h>
#include "FvbSmmCommon.h"
#include "FvbService.h"
Go to the source code of this file.
Functions | |
EFI_STATUS | InstallFvbProtocol (IN EFI_FW_VOL_INSTANCE *FwhInstance, IN UINTN InstanceNum) |
EFI_STATUS EFIAPI | FvbSmmInitialize (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
SMM Firmware Volume Block Driver.
Copyright (c) 2014 - 2021, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file FvbServiceSmm.c.
EFI_STATUS EFIAPI FvbSmmInitialize | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
The driver entry point for SMM Firmware Volume Block Driver.
The function does the necessary initialization work Firmware Volume Block Driver.
[in] | ImageHandle | The firmware allocated handle for the UEFI image. |
[in] | SystemTable | A pointer to the EFI system table. |
EFI_SUCCESS | This funtion always return EFI_SUCCESS. It will ASSERT on errors. |
Definition at line 131 of file FvbServiceSmm.c.
EFI_STATUS InstallFvbProtocol | ( | IN EFI_FW_VOL_INSTANCE * | FwhInstance, |
IN UINTN | InstanceNum | ||
) |
The function installs EFI_SMM_FIRMWARE_VOLUME_BLOCK protocol for each FV in the system.
[in] | FwhInstance | The pointer to a FW volume instance structure, which contains the information about one FV. |
[in] | InstanceNum | The instance number which can be used as a ID to locate this FwhInstance in other functions. |
EFI_SUCESS | Installed successfully. |
Else | Did not install successfully. |
Definition at line 28 of file FvbServiceSmm.c.