From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com [209.85.208.175]) by mx.groups.io with SMTP id smtpd.web08.22493.1627640630106678422 for ; Fri, 30 Jul 2021 03:23:50 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=H9JDAxFw; spf=none, err=SPF record not found (domain: semihalf.com, ip: 209.85.208.175, mailfrom: gjb@semihalf.com) Received: by mail-lj1-f175.google.com with SMTP id h9so11652613ljq.8 for ; Fri, 30 Jul 2021 03:23:49 -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=VG+LuPBm9I2AXPOl1C7w2vO5dK1sSiQzzqQZIA+CL0c=; b=H9JDAxFwPDf5/DQigPC6yjqNvbOmJfcTK7wIC/UC9mJYEa9zuSCrYp7D7O3Jyk0YDu S/CDHNx1bUxJW2Tg4fP1iknNDJRUdhNN8XHbcHeAo0PB8z7BqgauVtLgsVDLEsJxvJSy FQWVLuOW7J6XDDEJ1k7/YhRzeDuHWic9ojaJPJFUhqp8jaheeGM5nnphXzJdAmN1mxT9 m5xIdt3UYKZ0F69XQASCYE7Y3PAN9Lv6zxd5UkP/CHNRcs5o3YAifcumVq1+9voR9ZPR flHRMhQ+07WN2f4Kfun630z9rNZ0BGhpagURoJxR4o9VtFZwIiJq3GHr2nv06vyt2mmx CXDg== 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=VG+LuPBm9I2AXPOl1C7w2vO5dK1sSiQzzqQZIA+CL0c=; b=l7W9Hhv51+kdta6uVPHLiL+oCZOaelFklvYrSqZNtfVuZbpbRf43ZUg7JvoSN4vgmy zib/ky0HZIFOrGYmFZTe1kgppZhz+5A5HYjJP7BpCMSbJKM9VUhmY8NqmGu7WMEGyCRv 2kRHqqzaKxWTDdbpt2Som1IuwUeeU53eCl3cbUI+oj1holAlNFK1zcj600b3SUZgqYMP 6ir000BBLEp8Qr4B9IT5MsdthzNdVblhJ2sgh9BLFSwmd2EA0imfdLlcai9CTSwFVFRV NOcBnC5fYSoTJXPdpfxJcnIWBZDVyAwGNoqWsYeMzXlzDwShhJWIDb3Mj+ixnxiNGpob Q5lw== X-Gm-Message-State: AOAM5327STLqLs4Br18c4Rhe6+BbwA3OnH1/Mi6f5HKqefBMB43Xfpd5 eJtHGOSMGVx/JRaTtvWORskVAoKsgmgCvcCT X-Google-Smtp-Source: ABdhPJxgD/LP5XhyyPKGA7xdqRoMX4iCLagYuUSq2ZVI4WHexFVIOoDWmB6bkoUI8ucxkwCDBAIyQQ== X-Received: by 2002:a2e:a36a:: with SMTP id i10mr1208823ljn.389.1627640628326; Fri, 30 Jul 2021 03:23:48 -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.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Jul 2021 03:23:48 -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 03/11] ArmVirtPkg: add SecureBootVariableLib class resolution Date: Fri, 30 Jul 2021 12:23:18 +0200 Message-Id: <20210730102326.2814466-4-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 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 619b5f0b44..5a1598d90c 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