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