diff options
author | Ronald Cron <Ronald.Cron@arm.com> | 2014-12-12 19:14:22 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@Edk2> | 2014-12-12 19:14:22 +0000 |
commit | 061568e2d5f21aeafa942891b15768c57fa0ffac (patch) | |
tree | ffb6d8a8ee32c491b1b8f7bd086abe1d5280ad3f /ArmPkg/Library/BdsLib/BdsInternal.h | |
parent | b4c222655c8182febba890019367609ac278b1ba (diff) | |
download | edk2-platforms-061568e2d5f21aeafa942891b15768c57fa0ffac.tar.xz |
ArmPkg/BdsLib: Rework TFTP boot
Rework the downloading of an image from a TFTP server to do not
depend on any "PXE specific" setting of the DHCP server.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ronald Cron <Ronald.Cron@arm.com>
Reviewed-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16516 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg/Library/BdsLib/BdsInternal.h')
-rw-r--r-- | ArmPkg/Library/BdsLib/BdsInternal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ArmPkg/Library/BdsLib/BdsInternal.h b/ArmPkg/Library/BdsLib/BdsInternal.h index 9b5d3a4ff6..602fd8dcf3 100644 --- a/ArmPkg/Library/BdsLib/BdsInternal.h +++ b/ArmPkg/Library/BdsLib/BdsInternal.h @@ -71,6 +71,11 @@ typedef struct _BDS_SYSTEM_MEMORY_RESOURCE { UINT64 ResourceLength;
} BDS_SYSTEM_MEMORY_RESOURCE;
+typedef struct {
+ UINT64 FileSize;
+ UINT64 DownloadedNbOfBytes;
+ UINT64 LastReportedNbOfBytes;
+} BDS_TFTP_CONTEXT;
// BdsHelper.c
EFI_STATUS
|