summaryrefslogtreecommitdiffstats
path: root/MdePkg/Include/Protocol/Mtftp4.h
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2009-07-24 17:36:07 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2009-07-24 17:36:07 +0000
commitea886bef0af641ae4b3abac542d41686bf3251d8 (patch)
tree075eec4f719be11ef57e416c1607d6a040a68080 /MdePkg/Include/Protocol/Mtftp4.h
parente7d41e181897a2bbbb0994cb6aa49b576a12edd9 (diff)
downloadedk2-ea886bef0af641ae4b3abac542d41686bf3251d8.tar.gz
edk2-ea886bef0af641ae4b3abac542d41686bf3251d8.tar.bz2
edk2-ea886bef0af641ae4b3abac542d41686bf3251d8.zip
Updated EFI_MTFTP4_TOKEN structure to add member Context. It's an incompatible change adopted by UEFI group.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9005 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Protocol/Mtftp4.h')
-rw-r--r--MdePkg/Include/Protocol/Mtftp4.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/MdePkg/Include/Protocol/Mtftp4.h b/MdePkg/Include/Protocol/Mtftp4.h
index 988cbe1627..a0151b07a5 100644
--- a/MdePkg/Include/Protocol/Mtftp4.h
+++ b/MdePkg/Include/Protocol/Mtftp4.h
@@ -1,7 +1,7 @@
/** @file
EFI Multicast Trivial File Tranfer Protocol Definition
- Copyright (c) 2006 - 2008, Intel Corporation
+ Copyright (c) 2006 - 2009, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -356,8 +356,8 @@ EFI_STATUS
@param Packet Pointer to the OACK packet to be parsed.
@param OptionCount Pointer to the number of options in following OptionList.
@param OptionList Pointer to EFI_MTFTP4_OPTION storage. Call the EFI Boot
- Service FreePool() to release each option if they are not
- needed any more.
+ Service FreePool() to release the OptionList if the options
+ in this OptionList are not needed any more.
@retval EFI_SUCCESS The OACK packet was valid and the OptionCount and
OptionList parameters have been updated.
@@ -540,13 +540,18 @@ struct _EFI_MTFTP4_TOKEN {
///
/// Size of the data buffer.
///
- OUT UINT64 BufferSize;
+ UINT64 BufferSize;
///
/// Pointer to the data buffer. Data that is downloaded from the
/// MTFTPv4 server is stored here. Data that is uploaded to the
/// MTFTPv4 server is read from here. Ignored if BufferSize is zero.
///
- OUT VOID *Buffer;
+ VOID *Buffer;
+ ///
+ /// Pointer to the context that will be used by CheckPacket,
+ /// TimeoutCallback and PacketNeeded.
+ ///
+ VOID *Context;
///
/// Pointer to the callback function to check the contents of the received packet.
///