]> git.proxmox.com Git - mirror_edk2.git/commit - ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.c
ShellPkg/dp: Convert from NULL class library to Dynamic Command
authorRuiyu Ni <ruiyu.ni@intel.com>
Fri, 24 Nov 2017 09:26:24 +0000 (17:26 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Tue, 28 Nov 2017 05:22:35 +0000 (13:22 +0800)
commit92034c4c48fd3800dd5aa510011ccbe60fa3606a
treed57a95df7bcfb4fc3abdd26edd98c3734a4b13d8
parent0961002352e9115b72f544dded239ad226efe87b
ShellPkg/dp: 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 dp 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.

DpApp.inf is to provide a standalone application.
DpDynamicCommand.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>
29 files changed:
ShellPkg/DynamicCommand/DpDynamicCommand/Dp.c [new file with mode: 0644]
ShellPkg/DynamicCommand/DpDynamicCommand/Dp.h [new file with mode: 0644]
ShellPkg/DynamicCommand/DpDynamicCommand/Dp.uni [new file with mode: 0644]
ShellPkg/DynamicCommand/DpDynamicCommand/DpApp.c [new file with mode: 0644]
ShellPkg/DynamicCommand/DpDynamicCommand/DpApp.inf [new file with mode: 0644]
ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.c [new file with mode: 0644]
ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf [new file with mode: 0644]
ShellPkg/DynamicCommand/DpDynamicCommand/DpInternal.h [new file with mode: 0644]
ShellPkg/DynamicCommand/DpDynamicCommand/DpProfile.c [new file with mode: 0644]
ShellPkg/DynamicCommand/DpDynamicCommand/DpTrace.c [new file with mode: 0644]
ShellPkg/DynamicCommand/DpDynamicCommand/DpUtilities.c [new file with mode: 0644]
ShellPkg/DynamicCommand/DpDynamicCommand/Literals.c [new file with mode: 0644]
ShellPkg/DynamicCommand/DpDynamicCommand/Literals.h [new file with mode: 0644]
ShellPkg/DynamicCommand/DpDynamicCommand/PerformanceTokens.h [new file with mode: 0644]
ShellPkg/Library/UefiDpLib/Dp.c [deleted file]
ShellPkg/Library/UefiDpLib/Dp.h [deleted file]
ShellPkg/Library/UefiDpLib/DpInternal.h [deleted file]
ShellPkg/Library/UefiDpLib/DpProfile.c [deleted file]
ShellPkg/Library/UefiDpLib/DpTrace.c [deleted file]
ShellPkg/Library/UefiDpLib/DpUtilities.c [deleted file]
ShellPkg/Library/UefiDpLib/Literals.c [deleted file]
ShellPkg/Library/UefiDpLib/Literals.h [deleted file]
ShellPkg/Library/UefiDpLib/PerformanceTokens.h [deleted file]
ShellPkg/Library/UefiDpLib/Readme.txt [deleted file]
ShellPkg/Library/UefiDpLib/UefiDpLib.c [deleted file]
ShellPkg/Library/UefiDpLib/UefiDpLib.h [deleted file]
ShellPkg/Library/UefiDpLib/UefiDpLib.inf [deleted file]
ShellPkg/Library/UefiDpLib/UefiDpLib.uni [deleted file]
ShellPkg/ShellPkg.dsc