From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c0c::241; helo=mail-wr0-x241.google.com; envelope-from=leif.lindholm@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr0-x241.google.com (mail-wr0-x241.google.com [IPv6:2a00:1450:400c:c0c::241]) (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 3AD0C220EE10F for ; Wed, 13 Dec 2017 04:21:58 -0800 (PST) Received: by mail-wr0-x241.google.com with SMTP id g53so1947574wra.2 for ; Wed, 13 Dec 2017 04:26:38 -0800 (PST) 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=CmmFuDAqT1gUwQo5OAwo8NIK8QgPiqdKmVMXuJz44Ek=; b=a2Oa/5w6DYx5ZnSoYAelz1DPtRJl8hq8tksV4qU0eJv+fLmESnmYhnl6fJrOxRHVsI MqdJKWdE6q1TWYexUah7BEFq/Lku34RzMNT1sH5IM4i0o0Fgyf6ecSB3km9yEEs/Vegz xrlfUsC+H+JwQlGpQrl2VthQ/vYYah1tYXqHI= 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=CmmFuDAqT1gUwQo5OAwo8NIK8QgPiqdKmVMXuJz44Ek=; b=aExnDvbXRR7+Or9pyVVApakTIG9G31XOYHd/1qpxDLbyUfOKISEtwFjiJVhpgSRuuX XoqqDznAeDz2cG9MnhXeE6CYpLR93iQ7LLXcuVNXFGHUOB4/Ynut3RJ0ATIywmvLB/dO L0yZQVdSsmEy7nuIi5lraHdjlA8Pf7TVXdQdcH5CDCD5ouBAycloGso+bb+mF90hAFn1 TLcT94NSMlvJUmmLfMC+egjGB+MQblKUeqDVfRnRnEvooxhPNL5J8faXvN25x1exV0G0 q0NkoMl/iBeEExtpci5NfjxsjMFQIcbHxQudJa3CIinxaDFxLby9I9ac+2GDW5XHfyij fIeQ== X-Gm-Message-State: AKGB3mLWtC4ghzJqGSvD1iAjtY8HYa6SKVlAjh3OSqBiWJRstwgnzzkW TBeFqGPzjtVU8L4J4aZopcGcorQeLVU= X-Google-Smtp-Source: ACJfBosOt1xsuKIEhsOntsHmanc8DYw4eR6mNSzegCoD0Xfe27WPDugpGJSrcVgwRWhIXfB9pbcfvw== X-Received: by 10.223.179.209 with SMTP id x17mr2274388wrd.145.1513167996513; Wed, 13 Dec 2017 04:26:36 -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.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Dec 2017 04:26:35 -0800 (PST) From: Leif Lindholm To: edk2-devel@lists.01.org Cc: Star Zeng , Eric Dong Date: Wed, 13 Dec 2017 12:26:29 +0000 Message-Id: <20171213122630.17023-3-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: [PATCH 2/3] MdeModulePkg: use central variable definitions in DriverSampleDxe 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: , X-List-Received-Date: Wed, 13 Dec 2017 12:21:58 -0000 Use UefiMultiPhaseDefinitions.h in Vfr.vfr instead of duplicating the definitions. Cc: Star Zeng Cc: Eric Dong Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Leif Lindholm --- MdeModulePkg/Universal/DriverSampleDxe/Vfr.vfr | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/MdeModulePkg/Universal/DriverSampleDxe/Vfr.vfr b/MdeModulePkg/Universal/DriverSampleDxe/Vfr.vfr index c1682913fa..551d78c15f 100644 --- a/MdeModulePkg/Universal/DriverSampleDxe/Vfr.vfr +++ b/MdeModulePkg/Universal/DriverSampleDxe/Vfr.vfr @@ -14,6 +14,7 @@ //**/ +#include #include "NVDataStruc.h" // @@ -35,14 +36,6 @@ #define EFI_FRONT_PAGE_SUBCLASS 0x02 #define EFI_SINGLE_USE_SUBCLASS 0x03 -// -// 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 - #define EFI_USER_INFO_ACCESS_SETUP_ADMIN_GUID \ { 0x85b75607, 0xf7ce, 0x471e, { 0xb7, 0xe4, 0x2a, 0xea, 0x5f, 0x72, 0x32, 0xee } } -- 2.11.0