Re: [edk2] [PATCH] MdeModulePkg Variable: Handle ftw driver executes prior to variable driver

2015-12-29 Thread Gao, Liming
Reviewed-by: Liming Gao -Original Message- From: Zeng, Star Sent: Monday, December 28, 2015 1:39 PM To: edk2-devel@lists.01.org Cc: Gao, Liming Subject: [PATCH] MdeModulePkg Variable: Handle ftw driver executes prior to variable driver Variable driver uses

[edk2] [PATCH] MdeModulePkg Variable: Handle ftw driver executes prior to variable driver

2015-12-27 Thread Star Zeng
Variable driver uses gEdkiiFaultTolerantWriteGuid hob and copies data to NvStorageData if hob exists. But if ftw driver executes prior to variable driver then spare block is erased. So the patch is to enhance the code to do not check FTW last write data hob if FTW protocol has been installed.