Michael Kubacki 
							
						 
					 
					
						
						
							
						
						1436aea4d5 
					 
					
						
						
							
							MdeModulePkg: Apply uncrustify changes  
						
						... 
						
						
						
						REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 
Apply uncrustify changes to .c/.h files in the MdeModulePkg package
Cc: Andrew Fish <afish@apple.com >
Cc: Leif Lindholm <leif@nuviainc.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com >
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn > 
						
						
					 
					
						2021-12-07 17:24:28 +00:00 
						 
				 
			
				
					
						
							
							
								Antoine Coeur 
							
						 
					 
					
						
						
							
						
						02d7b79771 
					 
					
						
						
							
							MdeModulePkg/Application: Fix various typos  
						
						... 
						
						
						
						Fix various typos in documentation, comments and debug strings.
Cc: Jian J Wang <jian.j.wang@intel.com >
Cc: Hao A Wu <hao.a.wu@intel.com >
Signed-off-by: Antoine Coeur <coeur@gmx.fr >
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com >
Reviewed-by: Hao A Wu <hao.a.wu@intel.com >
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com >
Message-Id: <20200207010831.9046-11-philmd@redhat.com > 
						
						
					 
					
						2020-02-10 22:30:07 +00:00 
						 
				 
			
				
					
						
							
							
								Wei6 Xu 
							
						 
					 
					
						
						
							
						
						8165570e3e 
					 
					
						
						
							
							MdeModulePkg/CapsuleApp: Enhance Capsule-On-Disk related functions.  
						
						... 
						
						
						
						BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1840 
1. Introduce an internal header file to put definitions in it.
2. Add missing '\n' in usage.
3. Fix the dead loop of CapsuleApp -L.
4. Fix the bug that CapsuleApp -OD cannot perform capsules in sub-
folder.
5. Optimize the handling for option -NR and -OD to support both
'CapsuleApp <Capsule> -OD -NR' and 'CapsuleApp <Capsule> -NR -OD'.
6. Check if Capsule-On-Disk is supported by "OsIndicationsSupported"
variable firstly before processing capsules. If not supported, prompt
an error message and quit the process.
Cc: Jian J Wang <jian.j.wang@intel.com >
Cc: Hao A Wu <hao.a.wu@intel.com >
Cc: Chao B Zhang <chao.b.zhang@intel.com >
Signed-off-by: Wei6 Xu <wei6.xu@intel.com >
Reviewed-by: Chao B Zhang <chao.b.zhang@intel.com >
Acked-by: Hao A Wu <hao.a.wu@intel.com > 
						
						
					 
					
						2019-06-26 15:08:18 +08:00 
						 
				 
			
				
					
						
							
							
								Zhang, Chao B 
							
						 
					 
					
						
						
							
						
						57ec204e69 
					 
					
						
						
							
							Revert "Capsule-on-Disk entire Patch  
						
						... 
						
						
						
						This reverts commit 0d4aa276d16470a43160fd728608957837d124986b32af2e108636f70b5af17935321awei6.xu@intel.com >
Cc: Hao A Wu <hao.a.wu@intel.com >
Signed-off-by: Zhang, Chao B <chao.b.zhang@intel.com >
Reviewed-by: Hao A Wu <hao.a.wu@intel.com > 
						
						
					 
					
						2019-06-21 10:25:25 +08:00 
						 
				 
			
				
					
						
							
							
								xuwei6 
							
						 
					 
					
						
						
							
						
						6470a43160 
					 
					
						
						
							
							MdeModulePkg/CapsuleApp: Enhance Capsule-On-Disk related functions.  
						
						... 
						
						
						
						BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1840 
1. Add missing '\n' in usage.
2. Fix the dead loop of CapsuleApp -L.
3. Fix the bug that CapsuleApp -OD cannot perform capsules in sub-
folder.
4. Optimize the handling for option -NR and -OD to support both
'CapsuleApp <Capsule> -OD -NR' and 'CapsuleApp <Capsule> -NR -OD'.
5. Check if Capsule-On-Disk is supported by "OsIndicationsSupported"
variable firstly before processing capsules. If not supported, prompt
an error message and quit the process.
Cc: Jian J Wang <jian.j.wang@intel.com >
Cc: Hao A Wu <hao.a.wu@intel.com >
Cc: Chao B Zhang <chao.b.zhang@intel.com >
Signed-off-by: Wei6 Xu <wei6.xu@intel.com >
Reviewed-by: Chao B Zhang <chao.b.zhang@intel.com >
Acked-by: Hao A Wu <hao.a.wu@intel.com > 
						
						
					 
					
						2019-06-20 16:50:40 +08:00 
						 
				 
			
				
					
						
							
							
								Michael D Kinney 
							
						 
					 
					
						
						
							
						
						9d510e61fc 
					 
					
						
						
							
							MdeModulePkg: Replace BSD License with BSD+Patent License  
						
						... 
						
						
						
						https://bugzilla.tianocore.org/show_bug.cgi?id=1373 
Replace BSD 2-Clause License with BSD+Patent License.  This change is
based on the following emails:
  https://lists.01.org/pipermail/edk2-devel/2019-February/036260.html 
  https://lists.01.org/pipermail/edk2-devel/2018-October/030385.html 
RFCs with detailed process for the license change:
  V3: https://lists.01.org/pipermail/edk2-devel/2019-March/038116.html 
  V2: https://lists.01.org/pipermail/edk2-devel/2019-March/037669.html 
  V1: https://lists.01.org/pipermail/edk2-devel/2019-March/037500.html 
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com >
Reviewed-by: Hao Wu <hao.a.wu@intel.com >
Reviewed-by: Jian J Wang <jian.j.wang@intel.com > 
					
						2019-04-09 10:58:08 -07:00 
						 
				 
			
				
					
						
							
							
								Chen A Chen 
							
						 
					 
					
						
						
							
						
						e98212cb5d 
					 
					
						
						
							
							MdeModulePkg/CapsuleApp: Fix potential NULL pointer dereference issue  
						
						... 
						
						
						
						To avoid potential NULL pointer dereference issue. Initialize them at
the beginning of the function.
Cc: Jian J Wang <jian.j.wang@intel.com >
Cc: Hao Wu <hao.a.wu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Chen A Chen <chen.a.chen@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com > 
						
						
					 
					
						2019-02-02 21:41:20 +08:00 
						 
				 
			
				
					
						
							
							
								Chen A Chen 
							
						 
					 
					
						
						
							
						
						9747329114 
					 
					
						
						
							
							MdeModulePkg/CapsuleApp: Enhance CapsuleApp to support Capsule-on-Disk  
						
						... 
						
						
						
						BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=1482 
CapsuleApp is used for trigger capsule update.
Add -OD option in CapsuleApp to support doing capsule update via storage.
Add -F and -L options to support dumping information feature.
Finish unit test for -F and -L options.
Already verify this feature on Denlow platform, success to update capsule
via hard disk with -OD option.
Cc: Jian J Wang <jian.j.wang@intel.com >
Cc: Hao Wu <hao.a.wu@intel.com >
Cc: Zhang Chao B <chao.b.zhang@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Chen A Chen <chen.a.chen@intel.com >
Reviewed-by: Jian J Wang <jian.j.wang@intel.com > 
						
						
					 
					
						2019-01-31 14:08:01 +08:00 
						 
				 
			
				
					
						
							
							
								shenglei 
							
						 
					 
					
						
						
							
						
						131818ba5a 
					 
					
						
						
							
							MdeModulePkg: Remove redundant library classes and GUIDs  
						
						... 
						
						
						
						Some redundant library classes and GUIDs
have been removed in inf, .c and .h files.
https://bugzilla.tianocore.org/show_bug.cgi?id=1044 
https://bugzilla.tianocore.org/show_bug.cgi?id=1045 
https://bugzilla.tianocore.org/show_bug.cgi?id=1047 
https://bugzilla.tianocore.org/show_bug.cgi?id=1049 
https://bugzilla.tianocore.org/show_bug.cgi?id=1051 
https://bugzilla.tianocore.org/show_bug.cgi?id=1052 
https://bugzilla.tianocore.org/show_bug.cgi?id=1053 
https://bugzilla.tianocore.org/show_bug.cgi?id=1054 
https://bugzilla.tianocore.org/show_bug.cgi?id=1055 
https://bugzilla.tianocore.org/show_bug.cgi?id=1056 
https://bugzilla.tianocore.org/show_bug.cgi?id=1017 
https://bugzilla.tianocore.org/show_bug.cgi?id=1035 
https://bugzilla.tianocore.org/show_bug.cgi?id=1033 
https://bugzilla.tianocore.org/show_bug.cgi?id=1012 
https://bugzilla.tianocore.org/show_bug.cgi?id=1011 
https://bugzilla.tianocore.org/show_bug.cgi?id=1062 
v2:
1. Correct copyright year.
2. Fix alignment issue in AcpiPlatformDxe.inf.
3. Add DevicePathLib which is removed before in I2cHostDxe.inf.
4. Update NvmExpressPei.inf, NvmExpressPei.h, IScsiDxe.inf,
   IScsiDxe.inf, IScsiDxe.h, DxeMain.inf, DxeMain.h, PiSmmCore.inf
   and PiSmmCore.h for https://bugzilla.tianocore.org/show_bug.cgi?id=1062 .
v3:
1. Add https://bugzilla.tianocore.org/show_bug.cgi?id=1062  to the
   link list.
2. Remove DevicePathLib from I2cHostDxe.inf.
3. Update NvmExpressPei.inf, NvmExpressPei.h, UfsPciHcDxe.inf,
   UfsPciHcDxe.h, I2cHostDxe.inf, AtaBusDxe.inf, IScsiDxe.inf,
   IScsiDxe.h, DxeMain.inf, DxeMain.h, PiSmmCore.inf and PiSmmCore.h
   for https://bugzilla.tianocore.org/show_bug.cgi?id=1062 .
   (Forget to add UfsPciHcDxe.inf, UfsPciHcDxe.h, AtaBusDxe.inf,
   and I2cHostDxe.inf previously.)
Cc: Star Zeng <star.zeng@intel.com >
Cc: Eric Dong <eric.dong@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei <shenglei.zhang@intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com > 
						
						
					 
					
						2018-08-20 14:53:45 +08:00 
						 
				 
			
				
					
						
							
							
								Star Zeng 
							
						 
					 
					
						
						
							
						
						fb57c30b70 
					 
					
						
						
							
							MdeModulePkg CapsuleApp: Check capsule header for -D and -N options  
						
						... 
						
						
						
						Then meaningful error message can be shown when the input image is
unexpected.
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Jiewen Yao <jiewen.yao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com > 
						
						
					 
					
						2018-07-27 16:04:16 +08:00 
						 
				 
			
				
					
						
							
							
								Star Zeng 
							
						 
					 
					
						
						
							
						
						8b03c82d36 
					 
					
						
						
							
							MdeModulePkg CapsuleApp: Prompt info for -C option  
						
						... 
						
						
						
						Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Jiewen Yao <jiewen.yao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com > 
						
						
					 
					
						2018-07-27 16:04:15 +08:00 
						 
				 
			
				
					
						
							
							
								Star Zeng 
							
						 
					 
					
						
						
							
						
						16299ec84a 
					 
					
						
						
							
							MdeModulePkg CapsuleApp: Index need be decimal for -P GET option  
						
						... 
						
						
						
						Also adjust the help information to be not too long to be suitable
for different display resolutions.
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Jiewen Yao <jiewen.yao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com > 
						
						
					 
					
						2018-07-27 16:04:15 +08:00 
						 
				 
			
				
					
						
							
							
								Star Zeng 
							
						 
					 
					
						
						
							
						
						e70d9b8c3c 
					 
					
						
						
							
							MdeModulePkg CapsuleApp: Refine -N option help information  
						
						... 
						
						
						
						-N option is used to append a Capsule Header to an existing
FMP capsule image with its ImageTypeId supported by the system.
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Jiewen Yao <jiewen.yao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com > 
						
						
					 
					
						2018-07-27 16:04:14 +08:00 
						 
				 
			
				
					
						
							
							
								Star Zeng 
							
						 
					 
					
						
						
							
						
						4436f72220 
					 
					
						
						
							
							MdeModulePkg CapsuleApp: Fix VS2012 build failure caused by  5410502 
						
						... 
						
						
						
						The build failure is like below.
xxx\CapsuleApp.c(868) : error C2275: 'EFI_GUID' :
  illegal use of this type as an expression
        xxx/UefiBaseType.h(29) : see declaration of 'EFI_GUID'
xxx\CapsuleApp.c(868) : error C2146: syntax error :
  missing ';' before identifier 'ImageTypeId'
xxx\CapsuleApp.c(868) : error C2065: 'ImageTypeId' : undeclared identifier
xxx\CapsuleApp.c(869) : error C2275: 'UINTN' :
  illegal use of this type as an expression
        xxx\ProcessorBind.h(224) : see declaration of 'UINTN'
xxx\CapsuleApp.c(869) : error C2146: syntax error :
  missing ';' before identifier 'ImageIndex'
xxx\CapsuleApp.c(869) : error C2065: 'ImageIndex' : undeclared identifier
Cc: Jiewen Yao <jiewen.yao@intel.com >
Cc: Dandan Bi <dandan.bi@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com >
Reviewed-by: Dandan Bi <dandan.bi@intel.com > 
						
						
					 
					
						2018-07-27 16:04:13 +08:00 
						 
				 
			
				
					
						
							
							
								Star Zeng 
							
						 
					 
					
						
						
							
						
						10944bc390 
					 
					
						
						
							
							MdeModulePkg CapsuleApp: Use EFI_UNSUPPORTED for incorrect Argc case  
						
						... 
						
						
						
						Align code to use EFI_UNSUPPORTED for all incorrect Argc cases.
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Jiewen Yao <jiewen.yao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com > 
						
						
					 
					
						2018-07-23 09:17:39 +08:00 
						 
				 
			
				
					
						
							
							
								Star Zeng 
							
						 
					 
					
						
						
							
						
						d9c640b928 
					 
					
						
						
							
							MdeModulePkg CapsuleApp: Check capsule header before using its Flags  
						
						... 
						
						
						
						Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Jiewen Yao <jiewen.yao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com > 
						
						
					 
					
						2018-07-23 09:17:35 +08:00 
						 
				 
			
				
					
						
							
							
								Star Zeng 
							
						 
					 
					
						
						
							
						
						95dd7a6ecd 
					 
					
						
						
							
							MdeModulePkg CapsuleApp: Show clear message when option is unrecognized  
						
						... 
						
						
						
						Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Jiewen Yao <jiewen.yao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com > 
						
						
					 
					
						2018-07-23 09:17:31 +08:00 
						 
				 
			
				
					
						
							
							
								Star Zeng 
							
						 
					 
					
						
						
							
						
						5410502f6d 
					 
					
						
						
							
							MdeModulePkg CapsuleApp: Check Arg count for -P GET option  
						
						... 
						
						
						
						Also add help info for CapsuleApp -P GET option.
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Jiewen Yao <jiewen.yao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com > 
						
						
					 
					
						2018-07-23 09:17:19 +08:00 
						 
				 
			
				
					
						
							
							
								Star Zeng 
							
						 
					 
					
						
						
							
						
						0c6f94dae5 
					 
					
						
						
							
							MdeModulePkg CapsuleApp: Fix typo EFI_CAPSULE_RPORT_GUID  
						
						... 
						
						
						
						Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Jiewen Yao <jiewen.yao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com > 
						
						
					 
					
						2018-07-13 10:32:19 +08:00 
						 
				 
			
				
					
						
							
							
								Star Zeng 
							
						 
					 
					
						
						
							
						
						045bb32364 
					 
					
						
						
							
							MdeModulePkg CapsuleApp: Refine -D option help information  
						
						... 
						
						
						
						Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Jiewen Yao <jiewen.yao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com > 
						
						
					 
					
						2018-07-13 10:32:18 +08:00 
						 
				 
			
				
					
						
							
							
								Star Zeng 
							
						 
					 
					
						
						
							
						
						1c6dd45b9b 
					 
					
						
						
							
							MdeModulePkg CapsuleApp: Check Arg count for -D option  
						
						... 
						
						
						
						Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Jiewen Yao <jiewen.yao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com > 
						
						
					 
					
						2018-07-13 10:32:16 +08:00 
						 
				 
			
				
					
						
							
							
								Star Zeng 
							
						 
					 
					
						
						
							
						
						99fd30431d 
					 
					
						
						
							
							MdeModulePkg CapsuleApp: Fix NestedCapsuleHeader->Flags assigned wrong  
						
						... 
						
						
						
						(FwType == ESRT_FW_TYPE_DEVICEFIRMWARE) ? system : device
should be
(FwType == ESRT_FW_TYPE_SYSTEMFIRMWARE) ? system : device
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Jiewen Yao <jiewen.yao@intel.com >
Cc: Ming Shao <ming.shao@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com > 
						
						
					 
					
						2018-07-11 15:31:05 +08:00 
						 
				 
			
				
					
						
							
							
								Michael D Kinney 
							
						 
					 
					
						
						
							
						
						bf9b044e67 
					 
					
						
						
							
							MdeModulePkg/CapsuleApp: Center bitmap at bottom of screen  
						
						... 
						
						
						
						https://bugzilla.tianocore.org/show_bug.cgi?id=907 
When -G option is used to convert a BMP file to a UX capsule,
the bitmap is centered horizontally and placed in the lower
half of the screen below the boot logo.
This matches examples shown in the following pages:
https://docs.microsoft.com/en-us/windows-hardware/drivers/bringup/user-experience-for-uefi-firmware-updates 
https://docs.microsoft.com/en-us/windows-hardware/drivers/bringup/boot-screen-components 
Checks are also made to make sure the bitmap provided
fits in the current GOP mode.
Cc: Jiewen Yao <jiewen.yao@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Cc: Eric Dong <eric.dong@intel.com >
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com > 
					
						2018-03-21 20:55:27 -07:00 
						 
				 
			
				
					
						
							
							
								Michael D Kinney 
							
						 
					 
					
						
						
							
						
						845f7cfef2 
					 
					
						
						
							
							MdeModulePkg/CapsuleApp: Fix logic bug in CleanGatherList()  
						
						... 
						
						
						
						https://bugzilla.tianocore.org/show_bug.cgi?id=905 
Fix pointer math when more than one capsule is passed
to the CapsuleApp.  Use the ContinuationPointer from
the last array entry instead of the first array entry.
Cc: Jiewen Yao <jiewen.yao@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Cc: Eric Dong <eric.dong@intel.com >
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com > 
					
						2018-03-21 20:55:27 -07:00 
						 
				 
			
				
					
						
							
							
								Star Zeng 
							
						 
					 
					
						
						
							
						
						94f5c6001c 
					 
					
						
						
							
							MdeModulePkg CapsuleApp: Fix print info in BuildGatherList()  
						
						... 
						
						
						
						REF: https://bugzilla.tianocore.org/show_bug.cgi?id=614 
Print (L"CapsuleApp: capsule data starts          at 0x%X with
 size 0x%X\n", (UINTN) CapsuleBuffer, FileSize);
It should use (UINTN) CapsuleBuffer[Index] and FileSize[Index]
as parameter.
Cc: Jiewen Yao <jiewen.yao@intel.com >
Cc: Cloud Wang <winggundum82@163.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com > 
						
						
					 
					
						2017-07-03 17:53:16 +08:00 
						 
				 
			
				
					
						
							
							
								Star Zeng 
							
						 
					 
					
						
						
							
						
						8b17683a27 
					 
					
						
						
							
							MdeModulePkg CapsuleApp: Add directory support  
						
						... 
						
						
						
						Current CapsuleApp only supports input/output file from rootdirectory.
If the CapsuleApp and related file are put into subdirectory,
below message will be shown when running the CapsuleApp in shell.
"CapsuleApp: capsule image (Capsule image file name) is not found."
This patch is to add directory support for CapsuleApp
by using shell protocol.
Cc: Jiewen Yao <jiewen.yao@intel.com >
Cc: Feng Tian <feng.tian@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com > 
						
						
					 
					
						2017-04-14 13:47:39 +08:00 
						 
				 
			
				
					
						
							
							
								Star Zeng 
							
						 
					 
					
						
						
							
						
						7043a90eee 
					 
					
						
						
							
							MdeModulePkg CapsuleApp: Add -NR (no-reset) option support  
						
						... 
						
						
						
						REF: https://bugzilla.tianocore.org/show_bug.cgi?id=388 
Add -NR (no-reset) option support, once the option is specified,
no reset will be trigger for the capsule with flag
CAPSULE_FLAGS_PERSIST_ACROSS_RESET and no CAPSULE_FLAGS_INITIATE_RESET.
Cc: Jiewen Yao <jiewen.yao@intel.com >
Cc: Xiaofeng Wang <winggundum82@163.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com > 
						
						
					 
					
						2017-03-21 14:48:10 +08:00 
						 
				 
			
				
					
						
							
							
								Ruiyu Ni 
							
						 
					 
					
						
						
							
						
						787f6744e7 
					 
					
						
						
							
							MdeModulePkg/CapsuleApp: Use StrToGuid in BaseLib  
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com > 
						
						
					 
					
						2017-02-28 11:30:33 +08:00 
						 
				 
			
				
					
						
							
							
								Jiewen Yao 
							
						 
					 
					
						
						
							
						
						c608cda5c1 
					 
					
						
						
							
							MdeModulePkg/CapsuleApp: add Internal for function name.  
						
						... 
						
						
						
						To prevent potential build failure.
Cc: Feng Tian <feng.tian@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: Feng Tian <feng.tian@intel.com > 
						
						
					 
					
						2016-12-01 19:07:52 +08:00 
						 
				 
			
				
					
						
							
							
								Jiewen Yao 
							
						 
					 
					
						
						
							
						
						1e09ec0946 
					 
					
						
						
							
							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 > 
						
						
					 
					
						2016-12-01 15:28:05 +08:00 
						 
				 
			
				
					
						
							
							
								Jiewen Yao 
							
						 
					 
					
						
						
							
						
						7c7453b5d6 
					 
					
						
						
							
							MdeModulePkg/CapsuleApp: remove unused definition.  
						
						... 
						
						
						
						remove EFI_CAPSULE_FROM_FILE_DIR
remove EFI_OS_INDICATIONS_FILE_CAPSULE_DELIVERY_SUPPORTED.
no one uses them.
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Feng Tian <feng.tian@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com >
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com > 
						
						
					 
					
						2016-11-15 12:38:52 +08:00 
						 
				 
			
				
					
						
							
							
								Jiewen Yao 
							
						 
					 
					
						
						
							
						
						592bad0435 
					 
					
						
						
							
							MdeModulePkg/CapsuleApp: Add CapsuleApp application.  
						
						... 
						
						
						
						This CapsuleApp can help perform capsule update in UEFI shell environment.
It can also dump capsule information, capsule status variable,
ESRT and FMP.
Cc: Feng Tian <feng.tian@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Cc: Chao Zhang <chao.b.zhang@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com >
Tested-by: Michael Kinney <michael.d.kinney@intel.com > 
						
						
					 
					
						2016-11-08 22:37:05 +08:00