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::244; helo=mail-wr0-x244.google.com; envelope-from=leif.lindholm@linaro.org; receiver=edk2-devel@lists.01.org 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 BDB84221E06AE for ; Fri, 15 Dec 2017 08:54:49 -0800 (PST) Received: by mail-wr0-x244.google.com with SMTP id l11so2536353wrc.11 for ; Fri, 15 Dec 2017 08:59:32 -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=a2aRwiUF6f8sXygcN9j9FQJLy1WYbepZSB4fC+Zml/c=; b=g1A5o1/GTNfbvJDKw9lk2qHrLbos7kxd5RVwNORmvKQLdn6ReqK9jzCNdEMMtN57O5 YDlbuN6lLAuXx5ShVrKvRZJb15dx8NHmmANyBs2BM/h13eRpd/VHWHk6xqNUqyxigP0O gCBn7doldlcm579vao48iXVWrIkcloRq6/lSg= 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=a2aRwiUF6f8sXygcN9j9FQJLy1WYbepZSB4fC+Zml/c=; b=DP0Rok/6mlKvfj1sgxCC2WBM6zRt2OeAnPg2uzi4y0VMmNFSdUWC4lN7E2G5qDpMl6 kpRLMFX4dloUrWULqb8NzqAm8oOyeNfn1QRLyPNTYwvOsaiCmHOGmagGT7IT52YFGrfV X9MpK3kyg3eRiE7LFnpjisyhXmZ0XTDY6ugbcxnScTMTmHYfF8OLo1zTZXxFZ+FBkE/6 8wsmLUbFcD8hvAjlBQudEjOQH1wvGGYWH5fszjNiSPAnX6uMlz3a6Ei2rJaamCJoMqAc YDppeZ2YDFohzCiGX8JLrC4V5tfmmU1cDwJgA54s1lFdtfUG1mALxb4PLMtCa9A7sLZ6 R9rg== X-Gm-Message-State: AKGB3mJIui2aKCs5txXPQHgZlk5bCTk0Xp/ROQkELXf8dG69ooavBh1a izdvycOKfE57mkgsPT9jRU+41RREmqs= X-Google-Smtp-Source: ACJfBouHf43qTttV3FkiGXmU5GXwG3jWIpsGx1PhB4JHsS3cXBzlF403FxKjOtDrZv/IA/+f2yHiGQ== X-Received: by 10.223.147.195 with SMTP id 61mr2406117wrp.176.1513357170508; Fri, 15 Dec 2017 08:59:30 -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.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Dec 2017 08:59:29 -0800 (PST) From: Leif Lindholm To: edk2-devel@lists.01.org Cc: Star Zeng , Eric Dong Date: Fri, 15 Dec 2017 16:59:24 +0000 Message-Id: <20171215165925.12306-3-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: [PATCH v2 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: Fri, 15 Dec 2017 16:54:50 -0000 Use UefiMultiPhase.h in Vfr.vfr instead of duplicating EFI_VARIABLE_* 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..b1017d9fd0 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