summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2016-07-12 11:08:52 +0200
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2016-07-12 15:19:42 +0200
commite191a3114f4c8fc0a05e4dc7bb72935f18ff4de9 (patch)
tree433c1cae61a3b771fec7f85dde711a170be48c34
parentf4aee089ca92b1c9266bdc123c157e070381c9de (diff)
downloadedk2-e191a3114f4c8fc0a05e4dc7bb72935f18ff4de9.tar.gz
edk2-e191a3114f4c8fc0a05e4dc7bb72935f18ff4de9.tar.bz2
edk2-e191a3114f4c8fc0a05e4dc7bb72935f18ff4de9.zip
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 <ard.biesheuvel@linaro.org> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
-rw-r--r--ArmVirtPkg/ArmVirtQemuFvMain.fdf.inc1
-rw-r--r--ArmVirtPkg/ArmVirtXen.fdf1
2 files changed, 2 insertions, 0 deletions
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.