Firmware Block Services to support emulating non-volatile variables\r
by pretending that a memory buffer is storage for the NV variables.\r
\r
- Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
\r
if (*NumBytes > 0) {\r
CopyMem (FvbDataPtr, Buffer, *NumBytes);\r
- PlatformFvbDataWritten (This, Lba);\r
+ PlatformFvbDataWritten (This, Lba, Offset, *NumBytes, Buffer);\r
}\r
\r
return EFI_SUCCESS;\r
Library to define platform customization functions for a\r
Firmare Volume Block driver.\r
\r
- Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
\r
@param[in] This EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL instance.\r
@param[in] Lba The starting logical block index to written to.\r
+ @param[in] Offset Offset into the block at which to begin writing.\r
+ @param[in] NumBytes The number of bytes written.\r
+ @param[in] Buffer Pointer to the buffer that was written.\r
\r
**/\r
VOID\r
EFIAPI\r
PlatformFvbDataWritten (\r
IN CONST EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *This,\r
- IN EFI_LBA Lba\r
+ IN EFI_LBA Lba,\r
+ IN UINTN Offset,\r
+ IN UINTN NumBytes,\r
+ IN UINT8 *Buffer\r
);\r
\r
#endif\r
/** @file\r
OVMF platform customization for EMU Variable FVB driver\r
\r
- Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
\r
@param[in] This EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL instance.\r
@param[in] Lba The starting logical block index to written to.\r
+ @param[in] Offset Offset into the block at which to begin writing.\r
+ @param[in] NumBytes The number of bytes written.\r
+ @param[in] Buffer Pointer to the buffer that was written.\r
\r
**/\r
VOID\r
EFIAPI\r
PlatformFvbDataWritten (\r
IN CONST EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *This,\r
- IN EFI_LBA Lba\r
+ IN EFI_LBA Lba,\r
+ IN UINTN Offset,\r
+ IN UINTN NumBytes,\r
+ IN UINT8 *Buffer\r
)\r
{\r
STATIC EFI_EVENT EventToSignal = NULL;\r
/** @file\r
NULL PlatformFvbLib library instance\r
\r
- Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
\r
@param[in] This EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL instance.\r
@param[in] Lba The starting logical block index to written to.\r
+ @param[in] Offset Offset into the block at which to begin writing.\r
+ @param[in] NumBytes The number of bytes written.\r
+ @param[in] Buffer Pointer to the buffer that was written.\r
\r
**/\r
VOID\r
EFIAPI\r
PlatformFvbDataWritten (\r
IN CONST EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *This,\r
- IN EFI_LBA Lba\r
+ IN EFI_LBA Lba,\r
+ IN UINTN Offset,\r
+ IN UINTN NumBytes,\r
+ IN UINT8 *Buffer\r
)\r
{\r
}\r