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