From patchwork Tue Jul 12 11:19:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 71822 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp416809qga; Tue, 12 Jul 2016 04:19:17 -0700 (PDT) X-Received: by 10.98.12.200 with SMTP id 69mr21518596pfm.15.1468322357291; Tue, 12 Jul 2016 04:19:17 -0700 (PDT) Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id hq1si4422025pac.269.2016.07.12.04.19.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Jul 2016 04:19:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 6918F1A1E9A; Tue, 12 Jul 2016 04:19:58 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id D8EFA1A1EA1 for ; Tue, 12 Jul 2016 04:19:56 -0700 (PDT) Received: by mail-wm0-x233.google.com with SMTP id f126so123919738wma.1 for ; Tue, 12 Jul 2016 04:19:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=PyauBX+b0Qsc+35tBkRIBLM1ck4iihI6xJo2fuSoX3E=; b=cv+qz68L24JXEubBmlF8IuuoMISNGEdv/LU+N7DtXBflLvUNp5ZJ0gAmC36pZuBPOk /oQ+c9EAuu+vmAffLfdva9kEH+LYNfYEb2nTf6P7qqsst6WjS/nJEB/VNH97uck1wH5r fCKBO0U/Maprb+mdUsTMuqxlxMiFj6Z4Jp0jo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=PyauBX+b0Qsc+35tBkRIBLM1ck4iihI6xJo2fuSoX3E=; b=Nt1iWH0u1jvoJAEz9CguN7+9TOqwzmx6MxVtCOapHWUrv4tJp5HFoZgPar0t5om0gQ afoxynSkTcbn6KcOLZJYR50kmHDr+DtKyGXrp+3Tcu5JZR6CAxzugKfMYVIKLWVgsDGI J/HRJkOYf3zWlhYes2NsCvJBBZImG6R2Tv3yQ6Rpa5XziKMeA4RyZ9p5kIRd6M1iFcUf IVfH0qjjKOEVgb5NHmZlIXaJ22TDCLjByZfz68bVMqTJEugg5FtqrcWD/3fB6tqguAA7 ek7wQ5MtD0nt3CphKWydR+7X/08QEjirAoRVu41h7M8uRqTVDf7dCCj88OYMZcoTx3RB yIGw== X-Gm-Message-State: ALyK8tKcBJVnGzY8YcMiUNm+iteHOusYqyfislyMW3jhSCntpLaAiWlkYnUX669x3FKBdvjV X-Received: by 10.28.94.18 with SMTP id s18mr20440540wmb.42.1468322350466; Tue, 12 Jul 2016 04:19:10 -0700 (PDT) Received: from localhost.localdomain ([188.203.148.129]) by smtp.gmail.com with ESMTPSA id q187sm6580267wma.17.2016.07.12.04.19.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 12 Jul 2016 04:19:09 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org, lersek@redhat.com Date: Tue, 12 Jul 2016 13:19:02 +0200 Message-Id: <1468322342-30611-6-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1468322342-30611-1-git-send-email-ard.biesheuvel@linaro.org> References: <1468322342-30611-1-git-send-email-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH v2 5/5] ArmVirtPkg: add name GUIDs to FvMain instances X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" 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(+) -- 1.9.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/ArmVirtPkg/ArmVirtQemuFvMain.fdf.inc b/ArmVirtPkg/ArmVirtQemuFvMain.fdf.inc index 7bed6785d099..ad7037fe5f63 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 653aa30b4d33..0a97bd8e07c6 100644 --- a/ArmVirtPkg/ArmVirtXen.fdf +++ b/ArmVirtPkg/ArmVirtXen.fdf @@ -104,6 +104,7 @@ [FD.XEN_EFI] ################################################################################ [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.