From c24b392c3049f92bd2a06899f766eb1e874ca09c Mon Sep 17 00:00:00 2001 From: eric_tian Date: Fri, 6 Feb 2009 05:37:46 +0000 Subject: fix ecc warning git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7456 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Universal/Variable/RuntimeDxe/Variable.h | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.h') diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.h b/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.h index c508d8bade..ec35a7dfcf 100644 --- a/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.h +++ b/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.h @@ -70,4 +70,28 @@ typedef struct { VOID *Data; } VARIABLE_CACHE_ENTRY; +/** + Writes a buffer to variable storage space, in the working block. + + This function writes a buffer to variable storage space into firmware + volume block device. The destination is specified by parameter + VariableBase. Fault Tolerant Write protocol is used for writing. + + @param VariableBase Base address of variable to write + @param Buffer Point to the data buffer + @param BufferSize The number of bytes of the data Buffer + + @retval EFI_SUCCESS The function completed successfully + @retval EFI_NOT_FOUND Fail to locate Fault Tolerant Write protocol + @retval EFI_ABORTED The function could not complete successfully + +**/ +EFI_STATUS +FtwVariableSpace ( + IN EFI_PHYSICAL_ADDRESS VariableBase, + IN UINT8 *Buffer, + IN UINTN BufferSize + ); + + #endif -- cgit v1.2.3