TianoCore EDK2 master
Loading...
Searching...
No Matches
EmuVariableFvbLib.c File Reference

Go to the source code of this file.

Functions

VOID EFIAPI PlatformFvbDataRead (IN CONST EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL *This, IN EFI_LBA Lba, IN UINTN Offset, IN UINTN NumBytes, IN UINT8 *Buffer)
 
VOID EFIAPI PlatformFvbDataWritten (IN CONST EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL *This, IN EFI_LBA Lba, IN UINTN Offset, IN UINTN NumBytes, IN UINT8 *Buffer)
 
VOID EFIAPI PlatformFvbBlocksErased (IN CONST EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL *This, IN VA_LIST List)
 

Detailed Description

OVMF platform customization for EMU Variable FVB driver

Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file EmuVariableFvbLib.c.

Function Documentation

◆ PlatformFvbBlocksErased()

VOID EFIAPI PlatformFvbBlocksErased ( IN CONST EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL This,
IN VA_LIST  List 
)

This function will be called following a call to the EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL Erase function.

Parameters
ThisIndicates the EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL instance.
ListThe variable argument list as documented for the EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL Erase function.

Definition at line 88 of file EmuVariableFvbLib.c.

◆ PlatformFvbDataRead()

VOID EFIAPI PlatformFvbDataRead ( IN CONST EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL This,
IN EFI_LBA  Lba,
IN UINTN  Offset,
IN UINTN  NumBytes,
IN UINT8 *  Buffer 
)

This function will be called following a call to the EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL Read function.

Parameters
[in]ThisThe EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL instance.
[in]LbaThe starting logical block index from which to read.
[in]OffsetOffset into the block at which to begin reading.
[in]NumBytesThe number of bytes read.
[in]BufferPointer to the buffer that was read, and will be returned to the caller.

Definition at line 31 of file EmuVariableFvbLib.c.

◆ PlatformFvbDataWritten()

VOID EFIAPI PlatformFvbDataWritten ( IN CONST EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL This,
IN EFI_LBA  Lba,
IN UINTN  Offset,
IN UINTN  NumBytes,
IN UINT8 *  Buffer 
)

This function will be called following a call to the EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL Write function.

Parameters
[in]ThisEFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL instance.
[in]LbaThe starting logical block index to written to.
[in]OffsetOffset into the block at which to begin writing.
[in]NumBytesThe number of bytes written.
[in]BufferPointer to the buffer that was written.

Definition at line 54 of file EmuVariableFvbLib.c.