diff options
author | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-02-06 05:37:46 +0000 |
---|---|---|
committer | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-02-06 05:37:46 +0000 |
commit | c24b392c3049f92bd2a06899f766eb1e874ca09c (patch) | |
tree | 9fd8ba74341e333cad7e8d95ac9ccb284878dd86 /MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.h | |
parent | ed3a31b51871b92af7174bd78c8d58330d0b0ab3 (diff) | |
download | edk2-platforms-c24b392c3049f92bd2a06899f766eb1e874ca09c.tar.xz |
fix ecc warning
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7456 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.h')
-rw-r--r-- | MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.h | 24 |
1 files changed, 24 insertions, 0 deletions
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
|