]>
Commit | Line | Data |
---|---|---|
a876ae6f | 1 | /** @file\r |
2 | NULL PlatformFvbLib library instance\r | |
3 | \r | |
9529d0ff | 4 | Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r |
56d7640a | 5 | This program and the accompanying materials\r |
a876ae6f | 6 | are licensed and made available under the terms and conditions of the BSD License\r |
7 | which accompanies this distribution. The full text of the license may be found at\r | |
8 | http://opensource.org/licenses/bsd-license.php\r | |
9 | \r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
12 | \r | |
13 | **/\r | |
14 | \r | |
15 | #include "PiDxe.h"\r | |
16 | #include <Library/PlatformFvbLib.h>\r | |
17 | \r | |
18 | \r | |
3a4ddfc5 | 19 | /**\r |
20 | This function will be called following a call to the\r | |
21 | EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL Read function.\r | |
22 | \r | |
23 | @param[in] This The EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL instance.\r | |
24 | @param[in] Lba The starting logical block index\r | |
25 | from which to read.\r | |
26 | @param[in] Offset Offset into the block at which to begin reading.\r | |
27 | @param[in] NumBytes The number of bytes read.\r | |
28 | @param[in] Buffer Pointer to the buffer that was read, and will be\r | |
29 | returned to the caller.\r | |
30 | \r | |
31 | **/\r | |
32 | VOID\r | |
33 | EFIAPI\r | |
34 | PlatformFvbDataRead (\r | |
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 | |
40 | )\r | |
41 | {\r | |
42 | }\r | |
43 | \r | |
44 | \r | |
a876ae6f | 45 | /**\r |
46 | This function will be called following a call to the\r | |
47 | EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL Write function.\r | |
48 | \r | |
49 | @param[in] This EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL instance.\r | |
50 | @param[in] Lba The starting logical block index to written to.\r | |
9529d0ff | 51 | @param[in] Offset Offset into the block at which to begin writing.\r |
52 | @param[in] NumBytes The number of bytes written.\r | |
53 | @param[in] Buffer Pointer to the buffer that was written.\r | |
a876ae6f | 54 | \r |
55 | **/\r | |
56 | VOID\r | |
57 | EFIAPI\r | |
58 | PlatformFvbDataWritten (\r | |
949b0f3b | 59 | IN CONST EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL *This,\r |
9529d0ff | 60 | IN EFI_LBA Lba,\r |
61 | IN UINTN Offset,\r | |
62 | IN UINTN NumBytes,\r | |
63 | IN UINT8 *Buffer\r | |
a876ae6f | 64 | )\r |
65 | {\r | |
66 | }\r | |
67 | \r | |
68 | \r | |
3a4ddfc5 | 69 | /**\r |
70 | This function will be called following a call to the\r | |
71 | EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL Erase function.\r | |
72 | \r | |
73 | @param This Indicates the EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL\r | |
74 | instance.\r | |
75 | @param List The variable argument list as documented for\r | |
76 | the EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL Erase\r | |
77 | function.\r | |
78 | \r | |
79 | **/\r | |
80 | VOID\r | |
81 | EFIAPI\r | |
82 | PlatformFvbBlocksErased (\r | |
83 | IN CONST EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL *This,\r | |
84 | IN VA_LIST List\r | |
85 | )\r | |
86 | {\r | |
87 | }\r | |
88 | \r | |
89 | \r |