]>
Commit | Line | Data |
---|---|---|
921d5b47 | 1 | /** @file\r |
2 | Library to define platform customization functions for a\r | |
3 | Firmare Volume Block driver.\r | |
4 | \r | |
9529d0ff | 5 | Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r |
56d7640a | 6 | This program and the accompanying materials\r |
921d5b47 | 7 | are licensed and made available under the terms and conditions of the BSD License\r |
8 | which accompanies this distribution. The full text of the license may be found at\r | |
9 | http://opensource.org/licenses/bsd-license.php\r | |
10 | \r | |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
13 | \r | |
14 | **/\r | |
15 | \r | |
16 | #ifndef __PLATFORM_FVB_LIB__\r | |
17 | #define __PLATFORM_FVB_LIB__\r | |
18 | \r | |
19 | #include <Protocol/FirmwareVolumeBlock.h>\r | |
20 | \r | |
21 | /**\r | |
22 | This function will be called following a call to the\r | |
23 | EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL Write function.\r | |
24 | \r | |
25 | @param[in] This EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL instance.\r | |
26 | @param[in] Lba The starting logical block index to written to.\r | |
9529d0ff | 27 | @param[in] Offset Offset into the block at which to begin writing.\r |
28 | @param[in] NumBytes The number of bytes written.\r | |
29 | @param[in] Buffer Pointer to the buffer that was written.\r | |
921d5b47 | 30 | \r |
31 | **/\r | |
32 | VOID\r | |
33 | EFIAPI\r | |
34 | PlatformFvbDataWritten (\r | |
949b0f3b | 35 | IN CONST EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL *This,\r |
36 | IN EFI_LBA Lba,\r | |
37 | IN UINTN Offset,\r | |
38 | IN UINTN NumBytes,\r | |
39 | IN UINT8 *Buffer\r | |
921d5b47 | 40 | );\r |
41 | \r | |
42 | #endif\r | |
43 | \r |