]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Core/Pei/FwVol/FwVol.c
MdeModulePkg: PeiCore: Fix PEI Multiple Sub-FV Support issue
authorZhang, Chao B <chao.b.zhang@intel.com>
Tue, 17 May 2016 07:35:21 +0000 (15:35 +0800)
committerZhang, Chao B <chao.b.zhang@intel.com>
Thu, 19 May 2016 02:32:09 +0000 (10:32 +0800)
commit7147077b1685ef62353ec4104a902cb37c4e57ee
treee30bb28ecbbae3ed3b06e1cc633b2c22cac8a4c9
parent298454472bf4cf088a694bafa3b66503b4f8a39d
MdeModulePkg: PeiCore: Fix PEI Multiple Sub-FV Support issue

FirmwareVolmeInfoPpiNotifyCallback is re-enterable during FV process. Since PrivateData->FVCount increases when processing each sub FVs, need to cache Parent FV count in stack before processing any sub FV.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by: Gao Liming <liming.gao@intel.com>
MdeModulePkg/Core/Pei/FwVol/FwVol.c