]> git.proxmox.com Git - mirror_edk2.git/commit - SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
SecurityPkg: Update final event log calculation.
authorYao, Jiewen <jiewen.yao@intel.com>
Mon, 18 Jan 2016 05:51:18 +0000 (05:51 +0000)
committerjyao1 <jyao1@Edk2>
Mon, 18 Jan 2016 05:51:18 +0000 (05:51 +0000)
commitfd46e831bc33e9c4fc9b95c58e3032354cc13170
tree41408f7b8d5c54164f5b572feebe35ad2f78054c
parenta3cad6f86701b951998cc656ac03f8e8dc5f0f98
SecurityPkg: Update final event log calculation.

This patch updated final event log calculation based on
TCG EFI PROTOCOL rev9, 7.1.2 "All options implementation".
The previous logic is to save event to final event log
once GetEventLog() is called. 7.1.1 shows that we should
save event log to both normal even log area and final event
log area after GetEventLog() is called.
And there is no need to record TCG12 format log to final
event log area, and normal event log area can be BootServices
memory because OS will not access it directly.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <jiewen.yao@intel.com>
Reviewed-by: "Zhang, Chao B" <chao.b.zhang@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19661 6f19259b-4bc3-4df7-8a09-765794883524
SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c