From e191a3114f4c8fc0a05e4dc7bb72935f18ff4de9 Mon Sep 17 00:00:00 2001 From: Ard Biesheuvel Date: Tue, 12 Jul 2016 11:08:52 +0200 Subject: [PATCH] ArmVirtPkg: add name GUIDs to FvMain instances Assign name GUIDs to the FVs that may appear in DevicePath references to things like the UiApp and the UEFI Shell. This prevents these device paths from changing inadvertently when the FV ends up in a different memory location due to external occurrences such as, e.g., a change in the amount of system memory. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel Reviewed-by: Laszlo Ersek --- ArmVirtPkg/ArmVirtQemuFvMain.fdf.inc | 1 + ArmVirtPkg/ArmVirtXen.fdf | 1 + 2 files changed, 2 insertions(+) diff --git a/ArmVirtPkg/ArmVirtQemuFvMain.fdf.inc b/ArmVirtPkg/ArmVirtQemuFvMain.fdf.inc index 7bed6785d0..ad7037fe5f 100644 --- a/ArmVirtPkg/ArmVirtQemuFvMain.fdf.inc +++ b/ArmVirtPkg/ArmVirtQemuFvMain.fdf.inc @@ -24,6 +24,7 @@ ################################################################################ [FV.FvMain] +FvNameGuid = 64074afe-340a-4be6-94ba-91b5b4d0f71e BlockSize = 0x40 NumBlocks = 0 # This FV gets compressed so make it just big enough FvAlignment = 16 # FV alignment and FV attributes setting. diff --git a/ArmVirtPkg/ArmVirtXen.fdf b/ArmVirtPkg/ArmVirtXen.fdf index 653aa30b4d..0a97bd8e07 100644 --- a/ArmVirtPkg/ArmVirtXen.fdf +++ b/ArmVirtPkg/ArmVirtXen.fdf @@ -104,6 +104,7 @@ FV = FVMAIN_COMPACT ################################################################################ [FV.FvMain] +FvNameGuid = 4d2d8743-6337-4c3f-a1d9-7cc7efd283db BlockSize = 0x40 NumBlocks = 0 # This FV gets compressed so make it just big enough FvAlignment = 16 # FV alignment and FV attributes setting. -- 2.39.2