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.web08.5955.1626265819541730283 for ; Wed, 14 Jul 2021 05:30:19 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=iob3XpTy; 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 a6so3125086ljq.3 for ; Wed, 14 Jul 2021 05:30:19 -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=lKdW9ppWa0WW2Ih0s6mwUcstqV9e/OnfCKnZbWwH1kc=; b=iob3XpTyfbtno+DiAquXHPWeiRhun2RkDehIn3kasHhWG3Uzn74XVTo8Vdsh+i8TIQ Ics0/M0dtGARuYI555MvIaS0CKotOEGXk58b0QPaZaSI+t8V0QvvmIwoMdAI+k/fEOd/ tYzsmyKyCyO0exxW9o83AKSmRAKFnfUvD7GSsXhWNKGXdL800UwFVS9NukOJ0tMw/W3S PlziMwB1t7HUFCboLXgvuttjbCE/5goxaTY4rvSfr+fBvEsIIIR7ukdZ/i/4+5wmmxMB nM8HREzxaTzUmPVIr6wP7Ld7N8l+bjedHn5we5HvAsezcutAuOobWP56RwmMLHMgx8o4 97OQ== 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=lKdW9ppWa0WW2Ih0s6mwUcstqV9e/OnfCKnZbWwH1kc=; b=ec15t2g8WVNJkE804og/+aZWKoKECy0055f3kSPZVFjJ8XP5KuHkC3/o9deY6lKGNA 5lwy7W5rAmva551v4p0dzIFsqJHIEEdGOR+1PbjPkANNl44uI3se+aubv3TDyM26JWtH ukJrOe38AtPBLIwWnCRFK8sYjU2MlqUAH8zziH1hpQX6JsCv9wjla6yvFHN7VnTI90Oj TkLkWqCcpPsh7iB9pMPHbUK+Smna9zhJiLs3IsKrm6as5qP592bawmf7tGEm9GNgww2l ReJjdaZpxVQV7/E8yOdzwvrYuvivMlMEdswFwUHzs9gAsG7OMD0tsL4WAerY1RwGDHDI +UeQ== X-Gm-Message-State: AOAM5333QnHweKTWPjxPBn7JLZLN7KEOiBKCAwR5LUtvO5bdSefTEOSt r6b7Eh1qoHWyiRfWbZZ21lsNjpo4EApQjNx5 X-Google-Smtp-Source: ABdhPJz029XeML977X0n11tUdsEFbKKOM4pUDtHDLWZOTLGOn0a7Hml4iSp9g/+W+eRg641KEmwUog== X-Received: by 2002:a05:651c:10aa:: with SMTP id k10mr9204067ljn.114.1626265813948; Wed, 14 Jul 2021 05:30:13 -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.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Jul 2021 05:30:13 -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 03/11] ArmVirtPkg: add SecureBootVariableLib class resolution Date: Wed, 14 Jul 2021 14:29:44 +0200 Message-Id: <20210714122952.1340890-4-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 ArmVirtPkg platform. Signed-off-by: Grzegorz Bernacki Reviewed-by: Sunny Wang Reviewed-by: Liming Gao --- ArmVirtPkg/ArmVirt.dsc.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ArmVirtPkg/ArmVirt.dsc.inc b/ArmVirtPkg/ArmVirt.dsc.inc index d9abadbe70..a9643dd349 100644 --- a/ArmVirtPkg/ArmVirt.dsc.inc +++ b/ArmVirtPkg/ArmVirt.dsc.inc @@ -168,6 +168,8 @@ # !if $(SECURE_BOOT_ENABLE) == TRUE AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf + SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf + SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf # re-use the UserPhysicalPresent() dummy implementation from the ovmf tree PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf -- 2.25.1