OvmfPkg PlatformFvbLib: Change PlatformFvbDataWritten
The new parameters closely match the EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL Write function parameters. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11239 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
Firmware Block Services to support emulating non-volatile variables
|
||||
by pretending that a memory buffer is storage for the NV variables.
|
||||
|
||||
Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
|
||||
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
|
||||
@@ -473,7 +473,7 @@ FvbProtocolWrite (
|
||||
|
||||
if (*NumBytes > 0) {
|
||||
CopyMem (FvbDataPtr, Buffer, *NumBytes);
|
||||
PlatformFvbDataWritten (This, Lba);
|
||||
PlatformFvbDataWritten (This, Lba, Offset, *NumBytes, Buffer);
|
||||
}
|
||||
|
||||
return EFI_SUCCESS;
|
||||
|
Reference in New Issue
Block a user