ShellPkg/tftp: Convert from NULL class library to Dynamic Command
authorRuiyu Ni <ruiyu.ni@intel.com>
Tue, 31 Oct 2017 02:47:31 +0000 (10:47 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Tue, 28 Nov 2017 05:22:34 +0000 (13:22 +0800)
commit0961002352e9115b72f544dded239ad226efe87b
tree1cbe384090b25f1b551076c69c75be9cf3160137
parent3d29f8c5e361525a0d2accfa7f5bb0a7210b8927
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 <ruiyu.ni@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
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]
ShellPkg/ShellPkg.dsc