ShellPkg/tftp: Convert from NULL class library to Dynamic Command
authorRuiyu Ni <>
Tue, 31 Oct 2017 02:47:31 +0000 (10:47 +0800)
committerRuiyu Ni <>
Tue, 28 Nov 2017 05:22:34 +0000 (13:22 +0800)
ShellPkg/tftp: Convert from NULL class library to Dynamic Command

UEFI Shell spec defines Shell Dynamic Command protocol which is just
for the purpose to extend internal command.
So tftp command is changed from NULL class library to be a driver
producing DynamicCommand protocol.

The guideline is:
1. Only use NULL class library for Shell spec defined commands.
2. New commands can be provided as not only a standalone application
   but also a dynamic command. So it can be used either as an
   internal command, but also as a standalone application.

TftpApp.inf is to provide a standalone application.
TftpDynamicCommand.inf is to provide a standalone driver producing
Dynamic Command protocol.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <>
Reviewed-by: Jaben Carsey <>
Cc: Michael D Kinney <>
13 files changed:
ShellPkg/DynamicCommand/TftpDynamicCommand/Tftp.c [new file with mode: 0644]
ShellPkg/DynamicCommand/TftpDynamicCommand/Tftp.h [new file with mode: 0644]
ShellPkg/DynamicCommand/TftpDynamicCommand/Tftp.uni [new file with mode: 0644]
ShellPkg/DynamicCommand/TftpDynamicCommand/TftpApp.c [new file with mode: 0644]
ShellPkg/DynamicCommand/TftpDynamicCommand/TftpApp.inf [new file with mode: 0644]
ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.c [new file with mode: 0644]
ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf [new file with mode: 0644]
ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c [deleted file]
ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.c [deleted file]
ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.h [deleted file]
ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf [deleted file]
ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.uni [deleted file]