]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Add PlatformFvbLib to allow platform customization of an FVB driver.
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Sat, 26 Sep 2009 07:15:40 +0000 (07:15 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Sat, 26 Sep 2009 07:15:40 +0000 (07:15 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9313 6f19259b-4bc3-4df7-8a09-765794883524

OvmfPkg/Include/Library/PlatformFvbLib.h [new file with mode: 0644]

diff --git a/OvmfPkg/Include/Library/PlatformFvbLib.h b/OvmfPkg/Include/Library/PlatformFvbLib.h
new file mode 100644 (file)
index 0000000..6e9de2e
--- /dev/null
@@ -0,0 +1,37 @@
+/** @file\r
+  Library to define platform customization functions for a\r
+  Firmare Volume Block driver.\r
+\r
+  Copyright (c) 2009, Intel Corporation<BR>\r
+  All rights reserved. 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
+  http://opensource.org/licenses/bsd-license.php\r
+\r
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+**/\r
+\r
+#ifndef __PLATFORM_FVB_LIB__\r
+#define __PLATFORM_FVB_LIB__\r
+\r
+#include <Protocol/FirmwareVolumeBlock.h>\r
+\r
+/**\r
+  This function will be called following a call to the\r
+  EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL Write function.\r
+\r
+  @param[in] This     EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL instance.\r
+  @param[in] Lba      The starting logical block index to written to.\r
+\r
+**/\r
+VOID\r
+EFIAPI\r
+PlatformFvbDataWritten (\r
+  IN CONST  EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL  *This,\r
+  IN        EFI_LBA                             Lba\r
+  );\r
+\r
+#endif\r
+\r