TianoCore EDK2 master
Loading...
Searching...
No Matches
PlatformFvbLibNull.c File Reference
#include "PiDxe.h"
#include <Library/PlatformFvbLib.h>

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

NULL PlatformFvbLib library instance

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

Definition in file PlatformFvbLibNull.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 73 of file PlatformFvbLibNull.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 27 of file PlatformFvbLibNull.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_BLOCK_PROTOCOL Write function.

Parameters
[in]ThisEFI_FIRMWARE_VOLUME_BLOCK_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 50 of file PlatformFvbLibNull.c.