From patchwork Tue Jul 12 09:16:27 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 71795 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp366750qga; Tue, 12 Jul 2016 02:16:44 -0700 (PDT) X-Received: by 10.66.193.98 with SMTP id hn2mr2100791pac.68.1468315004123; Tue, 12 Jul 2016 02:16:44 -0700 (PDT) Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id 15si2874053pfx.153.2016.07.12.02.16.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Jul 2016 02:16:44 -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 24EEC1A1E8B; Tue, 12 Jul 2016 02:17:23 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (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 B58FC1A1E01 for ; Tue, 12 Jul 2016 02:17:21 -0700 (PDT) Received: by mail-wm0-x231.google.com with SMTP id i5so17012560wmg.0 for ; Tue, 12 Jul 2016 02:16:36 -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=3h+7nw10WVS855pgUvkJnnAKTX6wozzzpWxdY6Wz0FE=; b=bBGzWOtcko6Jdm2CViJi6hWshpXDHReGjTgrfN18UNHZboJCDHl1MqDvWUlibj4cU0 uKcEKwevw7hroEt0EP+qykwDrv8IjLsyPtunjZFd0r0GPvRuY1Ad8lDeiRu3m17L3LhH 9b9F6mj3Eo5BZTLft2JGIQhMSoLCgi8jZ1oU0= 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=3h+7nw10WVS855pgUvkJnnAKTX6wozzzpWxdY6Wz0FE=; b=KAUVxnQZDJOEIQNQmuLBvoCUvIeYd6bbXF+B9JGAskHMLsutnL8hEQbbM59GT8in0W 0efwFr0M+o2W4hQZbqoA7zNDWiF0mTnQs1ACtBpyUV6DXVU/2kYoIXkV6sjdJWd4QnNy LtynAyjE+eJgFQMWyWRR+qOfqx/1hf44v3vlxm3HSJcu7O64yWbofVXOzSfYJADewg0A vEWcijYsoM0e/c2GLqmCskZudBSErQJPrcpYNJEyP/ksc94D+Zk1C3pyVdm8dwrRRhow Eq5MumZ15W1NQk0B8WretYa5LjQKf0gbaDXxu0NcElPZ17hxzUC5u/RCVc6Ypx/nzaQd /D5w== X-Gm-Message-State: ALyK8tLlPfmEVvdT9WJpdZHAW4ebblerFOMsZdpvcNLnNXahmmwH0VAWkDqCvqu02VI071Aw X-Received: by 10.28.228.86 with SMTP id b83mr1736729wmh.11.1468314995582; Tue, 12 Jul 2016 02:16:35 -0700 (PDT) Received: from localhost.localdomain ([188.203.148.129]) by smtp.gmail.com with ESMTPSA id m125sm371029wmm.8.2016.07.12.02.16.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 12 Jul 2016 02:16:35 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org, lersek@redhat.com Date: Tue, 12 Jul 2016 11:16:27 +0200 Message-Id: <1468314987-19885-5-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1468314987-19885-1-git-send-email-ard.biesheuvel@linaro.org> References: <1468314987-19885-1-git-send-email-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH 4/4] 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 --- 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 Reviewed-by: Laszlo Ersek 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.