From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) by mx.groups.io with SMTP id smtpd.web11.18099.1627901228761316943 for ; Mon, 02 Aug 2021 03:47:09 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=Uzim6B/P; spf=none, err=SPF record not found (domain: semihalf.com, ip: 209.85.167.52, mailfrom: gjb@semihalf.com) Received: by mail-lf1-f52.google.com with SMTP id x8so19562852lfe.3 for ; Mon, 02 Aug 2021 03:47:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YVmh3kquVUAqswKJEE04DY2LXpusOoSh2a4pDtmD5V8=; b=Uzim6B/P5HQ5N9HjvM3aTsffmUjIJ6xwmoXGkcYWlj3ur0gNkLC64F/KJOT4E1R6fI iKdnfyVfyIAUyqiobBlkaLOSTmk99YFdYPOAoEzVLUm8CNKaLjvXOKbMAjoIlaST9etC nOVsNR35DLxg5RmJa7XskUIjpt2MPjQM8vXdkOhhtBNA1mVOBnS6yRQpTicPqZXK/u/3 SJMeUpjpfSkyvMyyOuqpQ1nNpnx4+AjsXGZyF7ipM/uaWMYwfQE+nDlcYICo8auwCSlc LL4FfttZcrVExAOcWgqce0xBjOiY8Doa7wK81RUImgtXz2PtGhHr7DD+/o9LKv78OSXd 6tsw== 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:mime-version:content-transfer-encoding; bh=YVmh3kquVUAqswKJEE04DY2LXpusOoSh2a4pDtmD5V8=; b=ONFKQ1d6J0Y41FxpORgwyfA5Ou43JYWeNib4XcXRwz0/QCuy+4f3DokGzIhyu/vOSb MLBid9gU7B57YNbjNb6NwUmMiMVVxSN41EsuwP0ZPxrApqbul1+fIcdG70yOrqSXLP80 yEND/sRQFN6CGjj/JW1UJU8VS/Rq6Jym7ot1PKSPSPExn7bAqHDKTuHazd0y4PRRjs2c baDiGYMQ02g2D3yKveM7xlyXOLR5UD9iMTwdY2kmI5Kr8LNDxsYuR9NBzzmmyqbPgxlM N7CfPmwO5O3BIgivsHXss5jeuRTjgjFJ2AXvUAoenP/vKk7s+xTCRqBXPsLQzao1LaVB I63w== X-Gm-Message-State: AOAM530Ygiw7ZE1fWK56ihgX2fY9aQdeGA08B7hi5RSQSdOqgGF1BIbW RJHtwyaTBQGuTspW5ETbCZ2OEHqM1IBP/eWz X-Google-Smtp-Source: ABdhPJxgqMFfAxzHPHrSn2pJHBfj10TAShqbJzaEZXW9djlkvkrHwEWJ7ETteZP/r/R/cPvcpTyvyA== X-Received: by 2002:ac2:5089:: with SMTP id f9mr912147lfm.647.1627901226989; Mon, 02 Aug 2021 03:47:06 -0700 (PDT) Return-Path: Received: from gilgamesh.lab.semihalf.net ([83.142.187.85]) by smtp.gmail.com with ESMTPSA id t27sm570174lfl.302.2021.08.02.03.47.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Aug 2021 03:47:06 -0700 (PDT) From: "Grzegorz Bernacki" To: devel@edk2.groups.io Cc: leif@nuviainc.com, ardb+tianocore@kernel.org, Samer.El-Haj-Mahmoud@arm.com, sunny.Wang@arm.com, mw@semihalf.com, upstream@semihalf.com, jiewen.yao@intel.com, jian.j.wang@intel.com, min.m.xu@intel.com, lersek@redhat.com, sami.mujawar@arm.com, afish@apple.com, ray.ni@intel.com, jordan.l.justen@intel.com, rebecca@bsdio.com, grehan@freebsd.org, thomas.abraham@arm.com, chasel.chiu@intel.com, nathaniel.l.desimone@intel.com, gaoliming@byosoft.com.cn, eric.dong@intel.com, michael.d.kinney@intel.com, zailiang.sun@intel.com, yi.qian@intel.com, graeme@nuviainc.com, rad@semihalf.com, pete@akeo.ie, Grzegorz Bernacki , Sunny Wang Subject: [PATCH v8 05/11] EmulatorPkg: add SecureBootVariableLib class resolution Date: Mon, 2 Aug 2021 12:46:27 +0200 Message-Id: <20210802104633.2833333-6-gjb@semihalf.com> X-Mailer: git-send-email 2.29.0 In-Reply-To: <20210802104633.2833333-1-gjb@semihalf.com> References: <20210802104633.2833333-1-gjb@semihalf.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The edk2 patch SecurityPkg: Create library for setting Secure Boot variables. moves generic functions from SecureBootConfigDxe and places them into SecureBootVariableLib. This patch adds SecureBootVariableLib mapping for EmulatorPkg. Signed-off-by: Grzegorz Bernacki Reviewed-by: Sunny Wang --- EmulatorPkg/EmulatorPkg.dsc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/EmulatorPkg/EmulatorPkg.dsc b/EmulatorPkg/EmulatorPkg.dsc index 20e5468398..554c13ddb5 100644 --- a/EmulatorPkg/EmulatorPkg.dsc +++ b/EmulatorPkg/EmulatorPkg.dsc @@ -132,6 +132,8 @@ OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf + SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf + SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf !else AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf !endif -- 2.25.1