]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/CapsuleApp: Add Fmp->GetImage() support.
authorJiewen Yao <jiewen.yao@intel.com>
Tue, 29 Nov 2016 13:37:28 +0000 (21:37 +0800)
committerJiewen Yao <jiewen.yao@intel.com>
Thu, 1 Dec 2016 07:28:05 +0000 (15:28 +0800)
commit1e09ec094637391879850a7db3b2ff59df2dd1ed
treee0fa02dec4efb17323cd1b84e67d84f2aa02d949
parent56e4a7d72660b229be333bbb5e1b5790d3c17890
MdeModulePkg/CapsuleApp: Add Fmp->GetImage() support.

We add Fmp->GetImage() support in CapsuleApp. So that user may call
Fmp->GetImage() in UEFI shell environment.
This is useful to do unit test for FMP which supports GetImage(),
or user wants to get current image, such as Microcode.

Cc: Eric Dong <eric.dong@intel.com>
Cc: Jeff Fan <jeff.fan@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
MdeModulePkg/Application/CapsuleApp/AppSupport.c
MdeModulePkg/Application/CapsuleApp/CapsuleApp.c
MdeModulePkg/Application/CapsuleApp/CapsuleDump.c