Update comments for Protocol definitions to match UEFI spec.

And add the missing comments for the data structure.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6635 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lgao4
2008-11-19 14:23:54 +00:00
parent 1ef3d003d6
commit 74fec7085b
9 changed files with 405 additions and 72 deletions

View File

@@ -429,10 +429,25 @@ typedef UINT32 EFI_FV_WRITE_POLICY;
// EFI_FV_WRITE_FILE_DATA
//
typedef struct {
///
/// Pointer to a GUID, which is the file name to be written.
///
EFI_GUID *NameGuid;
///
/// Indicates the type of file to be written.
///
EFI_FV_FILETYPE Type;
///
/// Indicates the attributes for the file to be written.
///
EFI_FV_FILE_ATTRIBUTES FileAttributes;
///
/// Pointer to a buffer containing the file to be written.
///
VOID *Buffer;
///
/// Indicates the size of the file image contained in Buffer.
///
UINT32 BufferSize;
} EFI_FV_WRITE_FILE_DATA;