From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) by mx.groups.io with SMTP id smtpd.web12.6054.1626265821240099762 for ; Wed, 14 Jul 2021 05:30:21 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=l24X8LpD; spf=none, err=SPF record not found (domain: semihalf.com, ip: 209.85.208.177, mailfrom: gjb@semihalf.com) Received: by mail-lj1-f177.google.com with SMTP id b40so3059758ljf.12 for ; Wed, 14 Jul 2021 05:30:20 -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=l24X8LpDRMAQs7cc4IX87nvBdX+4ynaAuZaf9nfap/RBq4/B9/h//UEhbglH+e92Iz UFajz6aJEWWrKMRJKS6HvTRJwPXuxV8IQ7+04CgVOi1HIwisayQnpXEZIeQyrgtxDPrP FZc2hGOehuaXhEoaS7rZbPYPTUUAWz730DJ10k93a1QbcnfHJVX26Ng88XwwNH5V8YuK I75W7OSZ6kxajyyREd+FtbOduDWljQTbh2hUZUnhv7oZ/EgaLuwLXBvBTxvL10aS+h/9 pKeUaGn0pntQmhOie1pkEz7QETkozmnoQ/7qwKt/aJOrRQ4DXP6cUUkCDxzE0v5IDejl dxnQ== 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=S7goeT5NUjzoJKCw6eKZ2YgMUUDWha6JzX5otPYj8FF4HJWU+50gaXsLhYjyNP/1os V+6P2narmEGMeRiVULZ1RmpgJSYA8IteE/BGf5zhXhlDGe5PtqKWiT2/YfUZ6AXJbHDy lBgrbQPFsl1STwYv7c1teHjSVtYR9r2rqn8CS2jhPKKfRakB3JALlipacE7MbLbwp2q2 a0GzA+1VWezgsxteP/KCrblxRwUMrvr69gJ6agf/qDvtFboA9R8V+HzzecN7/B7cdB9I i/9jzuERYaHP4S2o5HcL3ebg7nFF9Vd+QB5kuqjk6LeHAR+skQlypPYoxEPDSmsXpVjb 0FrQ== X-Gm-Message-State: AOAM532ycOvuI8sHYhYp3PiNhoUuGszljuIHY8zpygWH502WiDi9J3GC EH3GlXaOZc2YTrvVA8pQ2VYGjI2WdlMy4Zlv X-Google-Smtp-Source: ABdhPJzHz4xiJfwWnWPdUEs2kh0SJE1Fdf5/KQjJatdxxht4O0i13vsnqogD1Qmvti3A9wMYYHdWPg== X-Received: by 2002:a2e:bc17:: with SMTP id b23mr9035213ljf.209.1626265819029; Wed, 14 Jul 2021 05:30:19 -0700 (PDT) Return-Path: Received: from gilgamesh.lab.semihalf.net ([83.142.187.85]) by smtp.gmail.com with ESMTPSA id j2sm224846ljc.49.2021.07.14.05.30.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Jul 2021 05:30:18 -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 v6 05/11] EmulatorPkg: add SecureBootVariableLib class resolution Date: Wed, 14 Jul 2021 14:29:46 +0200 Message-Id: <20210714122952.1340890-6-gjb@semihalf.com> X-Mailer: git-send-email 2.29.0 In-Reply-To: <20210714122952.1340890-1-gjb@semihalf.com> References: <20210714122952.1340890-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