]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/Library/PlatformFvbLibNull/PlatformFvbLibNull.c
OvmfPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / OvmfPkg / Library / PlatformFvbLibNull / PlatformFvbLibNull.c
CommitLineData
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
b26f0cf9 5 SPDX-License-Identifier: BSD-2-Clause-Patent\r
a876ae6f 6\r
7**/\r
8\r
9#include "PiDxe.h"\r
10#include <Library/PlatformFvbLib.h>\r
11\r
12\r
3a4ddfc5 13/**\r
14 This function will be called following a call to the\r
15 EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL Read function.\r
16\r
17 @param[in] This The EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL instance.\r
18 @param[in] Lba The starting logical block index\r
19 from which to read.\r
20 @param[in] Offset Offset into the block at which to begin reading.\r
21 @param[in] NumBytes The number of bytes read.\r
22 @param[in] Buffer Pointer to the buffer that was read, and will be\r
23 returned to the caller.\r
24\r
25**/\r
26VOID\r
27EFIAPI\r
28PlatformFvbDataRead (\r
29 IN CONST EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL *This,\r
30 IN EFI_LBA Lba,\r
31 IN UINTN Offset,\r
32 IN UINTN NumBytes,\r
33 IN UINT8 *Buffer\r
34 )\r
35{\r
36}\r
37\r
38\r
a876ae6f 39/**\r
40 This function will be called following a call to the\r
41 EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL Write function.\r
42\r
43 @param[in] This EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL instance.\r
44 @param[in] Lba The starting logical block index to written to.\r
9529d0ff 45 @param[in] Offset Offset into the block at which to begin writing.\r
46 @param[in] NumBytes The number of bytes written.\r
47 @param[in] Buffer Pointer to the buffer that was written.\r
a876ae6f 48\r
49**/\r
50VOID\r
51EFIAPI\r
52PlatformFvbDataWritten (\r
949b0f3b 53 IN CONST EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL *This,\r
9529d0ff 54 IN EFI_LBA Lba,\r
55 IN UINTN Offset,\r
56 IN UINTN NumBytes,\r
57 IN UINT8 *Buffer\r
a876ae6f 58 )\r
59{\r
60}\r
61\r
62\r
3a4ddfc5 63/**\r
64 This function will be called following a call to the\r
65 EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL Erase function.\r
66\r
67 @param This Indicates the EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL\r
68 instance.\r
69 @param List The variable argument list as documented for\r
70 the EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL Erase\r
71 function.\r
72\r
73**/\r
74VOID\r
75EFIAPI\r
76PlatformFvbBlocksErased (\r
77 IN CONST EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL *This,\r
78 IN VA_LIST List\r
79 )\r
80{\r
81}\r
82\r
83\r