From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <bounce+27952+109414+7686176+12367111@groups.io>
Received: from mail02.groups.io (mail02.groups.io [66.175.222.108])
	by spool.mail.gandi.net (Postfix) with ESMTPS id 652737803CE
	for <rebecca@openfw.io>; Mon,  9 Oct 2023 00:08:06 +0000 (UTC)
DKIM-Signature: a=rsa-sha256; bh=nmaje1mPn+Z/PIpy0JfjcpPjDioanUMumyUsXAMdU40=;
 c=relaxed/simple; d=groups.io;
 h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding;
 s=20140610; t=1696810085; v=1;
 b=tchp81QA8YtxsFl3DhT+GiHCk4QEzPezinY+TcSIrVdoj8J+5r9QtCOyaRdycfjubrYAlRst
 JfnzU/zmw51oo/dQjK2BzurKDAw5Gt9ERYn7YfAxe/wz+tbqrLGue3sq20MOhx0KZ5xNzumbhcN
 rlrb38M5m0ilgzrWQttFjlOM=
X-Received: by 127.0.0.2 with SMTP id J9LAYY7687511xmtTkOTBK2F; Sun, 08 Oct 2023 17:08:05 -0700
X-Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170])
 by mx.groups.io with SMTP id smtpd.web10.50219.1696810080938058723
 for <devel@edk2.groups.io>;
 Sun, 08 Oct 2023 17:08:00 -0700
X-Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-694ed84c981so2861252b3a.3
        for <devel@edk2.groups.io>; Sun, 08 Oct 2023 17:08:00 -0700 (PDT)
X-Gm-Message-State: SiLAI7VUiAGxGWYH72e74Ek7x7686176AA=
X-Google-Smtp-Source: AGHT+IEnufCZWHRXYrqcArMZOGdq5bOEDriSJpCqtzqJAUtEjKL7i2POWWbWsHtnXh9r46CF7lwIOw==
X-Received: by 2002:a05:6a00:cd5:b0:693:4123:1f63 with SMTP id b21-20020a056a000cd500b0069341231f63mr13541386pfv.15.1696810080239;
        Sun, 08 Oct 2023 17:08:00 -0700 (PDT)
X-Received: from localhost.localdomain ([50.46.253.1])
        by smtp.gmail.com with ESMTPSA id t20-20020a62ea14000000b0068fcc7f6b00sm5048320pfh.74.2023.10.08.17.07.59
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Sun, 08 Oct 2023 17:07:59 -0700 (PDT)
From: "Taylor Beebe" <taylor.d.beebe@gmail.com>
To: devel@edk2.groups.io
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>,
	Leif Lindholm <quic_llindhol@quicinc.com>,
	Sami Mujawar <sami.mujawar@arm.com>,
	Gerd Hoffmann <kraxel@redhat.com>,
	Julien Grall <julien@xen.org>
Subject: [edk2-devel] [PATCH v5 09/28] ArmVirtPkg: Add Memory Protection Library Definitions to Platforms
Date: Sun,  8 Oct 2023 17:07:21 -0700
Message-ID: <20231009000742.1792-10-taylor.d.beebe@gmail.com>
In-Reply-To: <20231009000742.1792-1-taylor.d.beebe@gmail.com>
References: <20231009000742.1792-1-taylor.d.beebe@gmail.com>
MIME-Version: 1.0
Precedence: Bulk
List-Subscribe: <mailto:devel+subscribe@edk2.groups.io>
List-Help: <mailto:devel+help@edk2.groups.io>
Sender: devel@edk2.groups.io
List-Id: <devel.edk2.groups.io>
Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io
Reply-To: devel@edk2.groups.io,taylor.d.beebe@gmail.com
List-Unsubscribe-Post: List-Unsubscribe=One-Click
List-Unsubscribe: <https://edk2.groups.io/g/devel/leave/12367111/7686176/1913456212/plugh>
Content-Transfer-Encoding: 8bit
X-GND-Status: LEGIT
Authentication-Results: spool.mail.gandi.net;
	dkim=pass header.d=groups.io header.s=20140610 header.b=tchp81QA;
	dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none);
	spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io

Add library classes for SetMemoryProtectionsLib and
GetMemoryProtectionsLib to ArmVirtPkg.

Signed-off-by: Taylor Beebe <taylor.d.beebe@gmail.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Leif Lindholm <quic_llindhol@quicinc.com>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Julien Grall <julien@xen.org>
---
 ArmVirtPkg/ArmVirt.dsc.inc | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/ArmVirtPkg/ArmVirt.dsc.inc b/ArmVirtPkg/ArmVirt.dsc.inc
index 3f7bac6bf33a..f76601503cd9 100644
--- a/ArmVirtPkg/ArmVirt.dsc.inc
+++ b/ArmVirtPkg/ArmVirt.dsc.inc
@@ -156,6 +156,12 @@ [LibraryClasses.common]
   BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
   RngLib|MdeModulePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
 
+  #
+  # Memory Protection Libraries for setting and getting memory protection settings
+  #
+  SetMemoryProtectionsLib|MdeModulePkg/Library/SetMemoryProtectionsLib/SetMemoryProtectionsLib.inf
+  GetMemoryProtectionsLib|MdeModulePkg/Library/GetMemoryProtectionsLib/DxeGetMemoryProtectionsLib.inf
+
   #
   # Secure Boot dependencies
   #
-- 
2.42.0.windows.2



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#109414): https://edk2.groups.io/g/devel/message/109414
Mute This Topic: https://groups.io/mt/101843350/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-