From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) by mx.groups.io with SMTP id smtpd.web08.6280.1606308970027632965 for ; Wed, 25 Nov 2020 04:56:10 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@nuviainc-com.20150623.gappssmtp.com header.s=20150623 header.b=1UNTiwLb; spf=pass (domain: nuviainc.com, ip: 209.85.128.50, mailfrom: leif@nuviainc.com) Received: by mail-wm1-f50.google.com with SMTP id a65so2067234wme.1 for ; Wed, 25 Nov 2020 04:56:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nuviainc-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=XU9Urb437/ZyFMdW2gibtU7UPimT+Zy8CGtcrzXYLJA=; b=1UNTiwLbU6wOoEOKWR5k7AMM8wNS1KrROzB5Gwwm0n0UpW4Ef3V2OjyrEpkE8HlwFr 2NDSuj5w+l1wnXPgFpZ2PhPq2dRMUtnNp2icPkIc7zDi7N2mv6V3tZWMykQRve9M6m0z 24odeOV7RDVV0NIZXdVBhtlb9ljjn62GEfHZVMEUcAHiRpsJmWn9r5rk/+0QqP3FBSRh ITr7wEySlAmufhIEay2hP7EaVTBCPkXs/lUUoBpZdni877DOc77zIVxuCUoCZ2laaQ3W KaYUJGYLO0atqLM4tCj6LeG/+1xR3RTImO+V3zqR5v2k3WArnEkTb4GBFf2FiA1oNEOX Ne2Q== 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=XU9Urb437/ZyFMdW2gibtU7UPimT+Zy8CGtcrzXYLJA=; b=fLUbpF7wFH7kmzW16L80SfgEusrtTdIqSuV6HBcehENTXtdiM/JLfZ8gOUS5su1LHc 5UGwaZeXoSf1xHNUMsArDj6y5XQC9h83bmHn2Bo+QIPgo+qneTLV970IPW4fEwcekUlO HYx/j8vwfUK0dkIw7KDpXSf7C5uej0iacqFUYpDM+vr20Tv807SdHUmxV/6aTjVAslOo r4fx3rKo2tJOxlwr/iUxRpsvkXMWZsLcqIWAW14o0zuVH93Oub3zXLo4H1KKrfuDLu/R wYp1YcWGkicq7brVsXX1rf1Z5leMFZSUNaJZWXEkuxCAnCcKghNrX9p1ceia28namncM lv9w== X-Gm-Message-State: AOAM530godbd5NzZmg941t13zXDr3Rj+D1gGf64OHu1IAcI7aUMnF9Ag ZI3MbU7RH76d1zHNo8hwKlu7GIcPj0/qM+FaIAmAiQGnw3i7cpoUm4GZ5+YdD31dqlXuktldOk3 XjotieJWfEuKgYge/kh2ktcpmwRrJ+NZShXILv/rfR7FdKwZkYaxIxAJtBUijaWbu/QrA X-Google-Smtp-Source: ABdhPJzjyprcTzTj7Y5WUqyNkUeAsrw25jbcp6WqJfbO0iQWCgU1AKKjfqKJ+XEh2LRDJaOWUHrjKg== X-Received: by 2002:a1c:5f84:: with SMTP id t126mr3838403wmb.172.1606308968369; Wed, 25 Nov 2020 04:56:08 -0800 (PST) Return-Path: Received: from vanye.hemma.eciton.net (cpc1-cmbg19-2-0-cust915.5-4.cable.virginm.net. [82.27.183.148]) by smtp.gmail.com with ESMTPSA id p9sm4942639wrw.29.2020.11.25.04.56.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2020 04:56:08 -0800 (PST) From: "Leif Lindholm" To: devel@edk2.groups.io Cc: Abner Chang , Daniel Schaefer Subject: [PATCH edk2-platforms 09/15] Platform/SiFive: add VariablePolicy resolutions Date: Wed, 25 Nov 2020 12:55:53 +0000 Message-Id: <20201125125559.11631-10-leif@nuviainc.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201125125559.11631-1-leif@nuviainc.com> References: <20201125125559.11631-1-leif@nuviainc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add resolutions for - SafeIntLib - VariablePolicyLib - VariablePolicyHelperLib - VariablePolicyLib (DXE_RUNTIME_DRIVER) for u500/u540 platforms. Cc: Abner Chang Cc: Daniel Schaefer Signed-off-by: Leif Lindholm --- Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc | 4 ++++ .../U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc b/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc index 6a4e029c358b..2d652d215f82 100644 --- a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc +++ b/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc @@ -65,6 +65,7 @@ [LibraryClasses] PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf BaseLib|MdePkg/Library/BaseLib/BaseLib.inf + SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf @@ -239,6 +240,7 @@ [LibraryClasses.common.DXE_RUNTIME_DRIVER] BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf !endif UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf + VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf [LibraryClasses.common.UEFI_DRIVER] PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf @@ -253,6 +255,7 @@ [LibraryClasses.common.UEFI_DRIVER] DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf !endif UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf + VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf [LibraryClasses.common.DXE_DRIVER] PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf @@ -447,6 +450,7 @@ [Components] MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf { NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf + VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf } MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf diff --git a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc index 682504ba5fde..9f6047518905 100644 --- a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc +++ b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc @@ -65,6 +65,7 @@ [LibraryClasses] PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf BaseLib|MdePkg/Library/BaseLib/BaseLib.inf + SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf @@ -240,6 +241,7 @@ [LibraryClasses.common.DXE_RUNTIME_DRIVER] BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf !endif UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf + VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf [LibraryClasses.common.UEFI_DRIVER] PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf @@ -254,6 +256,7 @@ [LibraryClasses.common.UEFI_DRIVER] DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf !endif UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf + VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf [LibraryClasses.common.DXE_DRIVER] PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf @@ -446,6 +449,7 @@ [Components] MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf { NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf + VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf } MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf -- 2.20.1