From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) by mx.groups.io with SMTP id smtpd.web11.22221.1627640632928691517 for ; Fri, 30 Jul 2021 03:23:53 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=l366BIyS; spf=none, err=SPF record not found (domain: semihalf.com, ip: 209.85.167.41, mailfrom: gjb@semihalf.com) Received: by mail-lf1-f41.google.com with SMTP id f18so16899153lfu.10 for ; Fri, 30 Jul 2021 03:23:52 -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=l366BIySkgTrzsC+t/dJij6ewD71t33ZJKAX2yuOxgHHnqgGd1qE20bra2Fnu9rylD hUeFtV6jf73IId2UripjDRH2UuSmEqmZss+zkWn5cmUKb7t4MYiFYGciScL733TPjdno X0bM8hBkN1ddscS3yObeN+DOpBQHrvJpowBi+jypLReYXqidAuy9xKduQ56xjQwdS4Ms bppibPj7RpfNTBIe/P8j15esucMuzxOn6V6GSz5Qo9fD1spdgTqm9Jb0zevsUhS2qsFV JeDA0jJS2uedgh7wDP3bXo6nvjCpdfN+4uzwTQuu7THdCtrLuqnR0rCRZJB+1BQ9NDD1 fSPg== 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=rvA5/t0atWql225A7UFYnpiOSkarGUc108rYlMKfKtWZ49kNcn9SoJCPf5g3AV3rel nMmIYBJm30gDJopq+Sw/VB8t8N8LNEVPmFqKBu/mhThhhzVzZsGEbjsx1JBAonvNnx9p FRHZ9aqwVI5FBOAPgRcsSdkd+oj9weHT0w8thYAm1gpgq0etH78XIG1Wh8Fg0org3otD mMZKLhP86Jk4lL6Nv6wN5Hi1imAvKGxMB34Rua1vl2Rv3dIdnKZu30NORfbt20C5Wj7N Y/u+mqDS6qhNo59thgz0rWkGehiCgiJ6oymKhzkOhwW9b9anbUM0VadggXCSdAQnu/RP YX9w== X-Gm-Message-State: AOAM533gQJONAPAq0Y+wMKiqt8/5zcyDD6os1/5xTUm4DEEC9fWwe3lQ A2Q6xvc6T8DM28TluGNrxuEc2oUPyrPhCQq0 X-Google-Smtp-Source: ABdhPJyozxlJo1E5FzlyO2iybOlWPUSu1nwyfQtM3C3rfKu+cGbLpAegDu8n3EHTIka/exexNt1Mmg== X-Received: by 2002:a05:6512:38c4:: with SMTP id p4mr1410956lft.430.1627640631133; Fri, 30 Jul 2021 03:23:51 -0700 (PDT) Return-Path: Received: from gilgamesh.lab.semihalf.net ([83.142.187.85]) by smtp.gmail.com with ESMTPSA id d5sm114174lfs.61.2021.07.30.03.23.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Jul 2021 03:23:50 -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 v7 05/11] EmulatorPkg: add SecureBootVariableLib class resolution Date: Fri, 30 Jul 2021 12:23:20 +0200 Message-Id: <20210730102326.2814466-6-gjb@semihalf.com> X-Mailer: git-send-email 2.29.0 In-Reply-To: <20210730102326.2814466-1-gjb@semihalf.com> References: <20210730102326.2814466-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