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