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
This commit is contained in:
committed by
oliviermartin
parent
e29771bb6e
commit
79e12331ef
@@ -17,13 +17,6 @@
|
||||
|
||||
#include <Protocol/SimpleFileSystem.h>
|
||||
|
||||
EFI_STATUS
|
||||
BootMonFsDiscoverNextImage (
|
||||
IN BOOTMON_FS_INSTANCE *Flash,
|
||||
IN EFI_LBA *LbaStart,
|
||||
OUT HW_IMAGE_DESCRIPTION *Image
|
||||
);
|
||||
|
||||
EFI_STATUS
|
||||
BootMonFsInitialize (
|
||||
IN BOOTMON_FS_INSTANCE *Instance
|
||||
|
Reference in New Issue
Block a user