From nobody Tue Jan 14 22:59:10 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1513168005078831.5915903083603; Wed, 13 Dec 2017 04:26:45 -0800 (PST) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 9B8F720356261; Wed, 13 Dec 2017 04:22:03 -0800 (PST) Received: from mail-wm0-x244.google.com (mail-wm0-x244.google.com [IPv6:2a00:1450:400c:c09::244]) (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 07C4421A10968 for ; Wed, 13 Dec 2017 04:21:59 -0800 (PST) Received: by mail-wm0-x244.google.com with SMTP id g130so21645284wme.0 for ; Wed, 13 Dec 2017 04:26:39 -0800 (PST) Received: from vanye.hemma.eciton.net (cpc92316-cmbg19-2-0-cust118.5-4.cable.virginm.net. [82.12.0.119]) by smtp.gmail.com with ESMTPSA id b78sm1584050wmi.18.2017.12.13.04.26.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Dec 2017 04:26:37 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c09::244; helo=mail-wm0-x244.google.com; envelope-from=leif.lindholm@linaro.org; receiver=edk2-devel@lists.01.org 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=fcPkztwUuPbYZGttbTHhVDCSmKAa+6TFAIQeRUX9GBo=; b=M+1nPHM2SmbCUdKAZCeZ5TPHOxFMgZVhhWNw+wjV4n2CsBVB9XIW7EOFESBtW1p29P cNzIttNDtETQO5erUQZj/Z1hie44IZRacV2Dp+5yTPTlIKO0VyDdGDqS1sSAgWjyHW19 B9HyaSIdohkvDDWH+lH6pG4HHgfjrvMzaZ+So= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=fcPkztwUuPbYZGttbTHhVDCSmKAa+6TFAIQeRUX9GBo=; b=rS2CKPyrnxEi1z9KWIbyUeovjX1b/z0iQvdAtUl+n8WRVZdMuxX9dTeCv816hqyJbV p5x6eldtp2RgttslBz9FycnZEE0npJQgISoECG/YH31UGQuG8Oe8oAutNnqWhJPDrZwK lqfoU8wtYs0WWoA3NAt3GM/YhX3m52DplBkkcAgSSM4OlCDSINxnHsND9FlTh9+tgpM1 hlnKHJPW65c/bqnFBFlP1MqMz0dWMBcvuR49hC/o01dDzvhDu4qYxrSmNAhq6DLTqSFu v01xqlKXB4IOPTFaniJjbDKUKl/SBKNSZz9wQADVOKDZ6OKncWKbUkmLftin6WXDuI9v bMsw== X-Gm-Message-State: AKGB3mJzOOi67e2TXHauYO9L4n8ZrCF9IRYb/KvvtwGEeoXESmD34aWL x5VSSIUkT6sR7tfnt3KSxIbfZ+c27H8= X-Google-Smtp-Source: ACJfBouzTYAbwoTRMl9xej0BbGR60DtIaKdkoDX0oQK2+txIbpyjLAYoq31TVtJVH2wEpDfofQP0iQ== X-Received: by 10.28.69.136 with SMTP id l8mr1735129wmi.19.1513167998215; Wed, 13 Dec 2017 04:26:38 -0800 (PST) From: Leif Lindholm To: edk2-devel@lists.01.org Date: Wed, 13 Dec 2017 12:26:30 +0000 Message-Id: <20171213122630.17023-4-leif.lindholm@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171213122630.17023-1-leif.lindholm@linaro.org> References: <20171213122630.17023-1-leif.lindholm@linaro.org> Subject: [edk2] [PATCH 3/3] EmbeddedPkg: use central variable definitions in .vfr files X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ard Biesheuvel MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Use UefiMultiPhaseDefinitions.h in Vfr.vfr instead of duplicating the definitions. Cc: Ard Biesheuvel Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Leif Lindholm --- EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefHii.vfr | 9 +-------- EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformHii.vfr | 9 +-------- 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefHii.vfr b/Embedd= edPkg/Drivers/ConsolePrefDxe/ConsolePrefHii.vfr index a1e603abf0..19371b3157 100644 --- a/EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefHii.vfr +++ b/EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefHii.vfr @@ -12,16 +12,9 @@ * **/ =20 +#include #include "ConsolePrefDxe.h" =20 -// -// EFI Variable attributes -// -#define EFI_VARIABLE_NON_VOLATILE 0x00000001 -#define EFI_VARIABLE_BOOTSERVICE_ACCESS 0x00000002 -#define EFI_VARIABLE_RUNTIME_ACCESS 0x00000004 -#define EFI_VARIABLE_READ_ONLY 0x00000008 - formset guid =3D CONSOLE_PREF_FORMSET_GUID, title =3D STRING_TOKEN(STR_FORM_SET_TITLE), diff --git a/EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformHii.vfr b/Embedded= Pkg/Drivers/DtPlatformDxe/DtPlatformHii.vfr index 3516746c4d..8e5d34dadb 100644 --- a/EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformHii.vfr +++ b/EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformHii.vfr @@ -12,16 +12,9 @@ * **/ =20 +#include #include "DtPlatformDxe.h" =20 -// -// EFI Variable attributes -// -#define EFI_VARIABLE_NON_VOLATILE 0x00000001 -#define EFI_VARIABLE_BOOTSERVICE_ACCESS 0x00000002 -#define EFI_VARIABLE_RUNTIME_ACCESS 0x00000004 -#define EFI_VARIABLE_READ_ONLY 0x00000008 - formset guid =3D DT_PLATFORM_FORMSET_GUID, title =3D STRING_TOKEN(STR_FORM_SET_TITLE), --=20 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel