EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index

OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.c

Go to the documentation of this file.
00001 
00015 #include "PiDxe.h"
00016 #include <Library/DebugLib.h>
00017 #include <Library/PcdLib.h>
00018 #include <Library/PlatformFvbLib.h>
00019 #include <Library/UefiBootServicesTableLib.h>
00020 #include <Library/UefiRuntimeLib.h>
00021 
00022 
00036 VOID
00037 EFIAPI
00038 PlatformFvbDataRead (
00039   IN CONST  EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL *This,
00040   IN        EFI_LBA                             Lba,
00041   IN        UINTN                               Offset,
00042   IN        UINTN                               NumBytes,
00043   IN        UINT8                               *Buffer
00044   )
00045 {
00046 }
00047 
00048 
00060 VOID
00061 EFIAPI
00062 PlatformFvbDataWritten (
00063   IN CONST  EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL *This,
00064   IN        EFI_LBA                             Lba,
00065   IN        UINTN                               Offset,
00066   IN        UINTN                               NumBytes,
00067   IN        UINT8                               *Buffer
00068   )
00069 {
00070   STATIC EFI_EVENT EventToSignal = NULL;
00071 
00072   if (!EfiAtRuntime ()) {
00073     if (EventToSignal == NULL) {
00074       EventToSignal = (EFI_EVENT)(UINTN) PcdGet64 (PcdEmuVariableEvent);
00075     }
00076     if (EventToSignal != NULL) {
00077       gBS->SignalEvent (EventToSignal);
00078     }
00079   }
00080 }
00081 
00082 
00094 VOID
00095 EFIAPI
00096 PlatformFvbBlocksErased (
00097   IN CONST  EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL *This,
00098   IN  VA_LIST       List
00099   )
00100 {
00101 }
00102 
00103 
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines