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
@@ -48,6 +48,7 @@ typedef struct {
|
||||
LIST_ENTRY Link;
|
||||
BOOTMON_FS_INSTANCE *Instance;
|
||||
|
||||
UINTN HwDescAddress;
|
||||
HW_IMAGE_DESCRIPTION HwDescription;
|
||||
|
||||
EFI_FILE_PROTOCOL File;
|
||||
|
Reference in New Issue
Block a user