diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-01-09 03:51:16 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-01-09 03:51:16 +0000 |
commit | 3a4ddfc564d9b599d408a7d2d7992a51a5100e22 (patch) | |
tree | c29c7e6bb729c8c7b0cb19869a2bc56d459d6b8f /OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.c | |
parent | 949b0f3b27b3667b9fed143239c5d478ece1c3ab (diff) | |
download | edk2-platforms-3a4ddfc564d9b599d408a7d2d7992a51a5100e22.tar.xz |
OvmfPkg EMU FVB: Add 2 functions to PlatformFvbLib
Add PlatformFvbDataRead and PlatformFvbBlocksErased functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11241 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.c')
-rw-r--r-- | OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.c b/OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.c index 314dc987f9..4d01ec75da 100644 --- a/OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.c +++ b/OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.c @@ -377,6 +377,8 @@ FvbProtocolEraseBlocks ( EraseSize,
ERASED_UINT8
);
+ VA_START (args, This);
+ PlatformFvbBlocksErased (This, args);
}
return EFI_SUCCESS;
@@ -557,6 +559,7 @@ FvbProtocolRead ( if (*NumBytes > 0) {
CopyMem (Buffer, FvbDataPtr, *NumBytes);
+ PlatformFvbDataRead (This, Lba, Offset, *NumBytes, Buffer);
}
return EFI_SUCCESS;
|