]> git.proxmox.com Git - mirror_edk2.git/commit - ArmPlatformPkg/FileSystem/BootMonFs/BootMonFsOpenClose.c
ArmPlatformPkg/BootMonFs: Cache the HW Description address
authorBrendan Jackman <brendan.jackman@arm.com>
Thu, 8 May 2014 15:08:39 +0000 (15:08 +0000)
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 8 May 2014 15:08:39 +0000 (15:08 +0000)
commit79e12331ef1e7c24b5be70d7bc79977ca103bab4
treed9c61da702499937e1e4fdca5cf8b2023abf8254
parente29771bb6e896d212f92ea32e67deacbecb51bea
ArmPlatformPkg/BootMonFs: Cache the HW Description address

This fixes a bug whereby the image description is written over file data when
the file's size is close to a multiple of the block size.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Brendan Jackman <brendan.jackman@arm.com>
Reviewed-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15517 6f19259b-4bc3-4df7-8a09-765794883524
ArmPlatformPkg/FileSystem/BootMonFs/BootMonFsApi.h
ArmPlatformPkg/FileSystem/BootMonFs/BootMonFsImages.c
ArmPlatformPkg/FileSystem/BootMonFs/BootMonFsInternal.h
ArmPlatformPkg/FileSystem/BootMonFs/BootMonFsOpenClose.c