EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index
Functions

OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.c File Reference

#include "PiDxe.h"
#include <Library/DebugLib.h>
#include <Library/PcdLib.h>
#include <Library/PlatformFvbLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiRuntimeLib.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

OVMF platform customization for EMU Variable FVB driver

Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

Definition in file EmuVariableFvbLib.c.


Function Documentation

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 96 of file EmuVariableFvbLib.c.

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 38 of file EmuVariableFvbLib.c.

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 62 of file EmuVariableFvbLib.c.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines