diff options
author | Star Zeng <star.zeng@intel.com> | 2014-08-28 06:02:43 +0000 |
---|---|---|
committer | lzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-08-28 06:02:43 +0000 |
commit | bc012551321a42c14aa5cfb28ae946323d1aa381 (patch) | |
tree | 6c360d51e62ba6a26de1f4ab29cc7cc8c9a36cff /SecurityPkg/Library/Tpm2DeviceLibDTpm | |
parent | 7ccea0ae2f2cb2ef3c7555eef6637ca5e7c85963 (diff) | |
download | edk2-platforms-bc012551321a42c14aa5cfb28ae946323d1aa381.tar.xz |
MdeModulePkg DxeCore: Handle FFS file with FFS_ATTRIB_CHECKSUM set for not cache memory mapped IO FV.
The code FvCheck() will check FFS file checksum to verify if FFS file is valid when the file is
with FFS_ATTRIB_CHECKSUM set. The whole file will be read through when doing checksum check.
So we can cache FFS file to memory buffer for following checksum calculating first.
And then, the cached file buffer can be also used for FvReadFile.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15958 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'SecurityPkg/Library/Tpm2DeviceLibDTpm')
0 files changed, 0 insertions, 0 deletions