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>
This commit is contained in:
Ard Biesheuvel 2016-07-12 11:08:52 +02:00
parent f4aee089ca
commit e191a3114f
2 changed files with 2 additions and 0 deletions

View File

@ -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.

View File

@ -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.