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