]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg ErstFmpDxe: Create ESRT in ReadyToBoot event
authorStar Zeng <star.zeng@intel.com>
Mon, 6 Aug 2018 07:46:36 +0000 (15:46 +0800)
committerStar Zeng <star.zeng@intel.com>
Wed, 8 Aug 2018 11:18:25 +0000 (19:18 +0800)
commit6ec4d300fe5929a43b9118adc80aa909f61ab665
tree4c8184a3f7e8ceaad0a8c0036e5de5c0c16d634b
parent27e42bf61bb27a61b5b4dd053c6bc219c73c4cc8
MdeModulePkg ErstFmpDxe: Create ESRT in ReadyToBoot event

Current code just creates ESRT entry in FMP notification
and installs ESRT configuration table in ReadyToBoot event.

The LastAttemptVersion and LastAttemptStatus in ESRT will
be out of date after system continues to boot without reset
after capsule update (reset is not required or capsule update
is failed).

This patches updates the code to create ESRT based on all
FMP instances in ReadyToBoot event.

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmp.c