From nobody Tue Jan 14 22:55:28 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 151335717860457.97474780717948; Fri, 15 Dec 2017 08:59:38 -0800 (PST) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 92265221E06AE; Fri, 15 Dec 2017 08:54:53 -0800 (PST) Received: from mail-wr0-x244.google.com (mail-wr0-x244.google.com [IPv6:2a00:1450:400c:c0c::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 4810B221E06B6 for ; Fri, 15 Dec 2017 08:54:51 -0800 (PST) Received: by mail-wr0-x244.google.com with SMTP id g53so8632665wra.2 for ; Fri, 15 Dec 2017 08:59:33 -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 f18sm4570440wrg.66.2017.12.15.08.59.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Dec 2017 08:59:30 -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:c0c::244; helo=mail-wr0-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=CQbH6s8faW5HWQegykLBqlgaV7jZ8aKQGAznsgdjpxc=; b=J5ptbaYltEft4f9B6VsqNW3KIFYjCME362qW70fUDE4YkIOBfNZwP3v5oUue9BS2X9 S3/KdN4KepGU4fYruItMohnMjdT09OwZD+8kLkfUwwoQ1t/3IQGCMXxQ8RPD9th3Rwyx uoTLxvRt30JAzhAOZ/8NiJyKLbGkepK6Tnef0= 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=CQbH6s8faW5HWQegykLBqlgaV7jZ8aKQGAznsgdjpxc=; b=SwACBPOUY6r0UfD5PnsHQpM4cj/dKyyunnv+P9ng6kmBpzOEcwR4xwDyca4KBZ2JRB u6LU+7jTwjGRDo7HZhtrnUn2ziGgaEUxPcF703frWTOqtFWV5MxrvX20gcWMo0evvwzO bxNY0n9Aihpvl0BoW9139amDLTYouZukoN+KAi35psTjPlHh9ZvDwKRR53RUoyCXKJJ/ S7kW5WcASK8n+vIAlj7e19cR+6wfRP8HYS4dxNr6c3snUv39a72rBFMgYFg+MVHyKHha MvNrbqLDExpTEsZciBE159K377KkjS+yf52l9fVue38JHtiCD7GvwxeB1rE+/50O5ggS /cAg== X-Gm-Message-State: AKGB3mIrNbnJ7r26sk8rJ8arGt84ZvjSKxfOKJevDG25XulqcR3EWuju vJdmgfccEzbx4TTlKXKy9XMTJqVx/SY= X-Google-Smtp-Source: ACJfBouWwgRdXR3uNpatC3nMYA/RgW0s+iRA3zAoweHWl0UTM0Dxih5DUK+/gIsR1A3zKMHhNlQw8w== X-Received: by 10.223.157.41 with SMTP id k41mr6531011wre.281.1513357171938; Fri, 15 Dec 2017 08:59:31 -0800 (PST) From: Leif Lindholm To: edk2-devel@lists.01.org Date: Fri, 15 Dec 2017 16:59:25 +0000 Message-Id: <20171215165925.12306-4-leif.lindholm@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171215165925.12306-1-leif.lindholm@linaro.org> References: <20171215165925.12306-1-leif.lindholm@linaro.org> Subject: [edk2] [PATCH v2 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 UefiMultiPhase.h in Vfr.vfr instead of duplicating EFI_VARIABLE_* definitions. Cc: Ard Biesheuvel Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Leif Lindholm Reviewed-by: Ard Biesheuvel --- 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..725fbf52a5 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..80c6f36425 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