From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) by mx.groups.io with SMTP id smtpd.web10.1853.1689119588333059340 for ; Tue, 11 Jul 2023 16:53:08 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@taylorbeebe.com header.s=google header.b=dSJ0bk2f; spf=pass (domain: taylorbeebe.com, ip: 209.85.215.176, mailfrom: t@taylorbeebe.com) Received: by mail-pg1-f176.google.com with SMTP id 41be03b00d2f7-55af0a816e4so3240276a12.1 for ; Tue, 11 Jul 2023 16:53:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=taylorbeebe.com; s=google; t=1689119587; x=1691711587; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=bdpt9yT24+meIoGQDncrfetylfumUQAVOP+XCAw6fVY=; b=dSJ0bk2fvTwzJoEgbiGOI5/TKd40rmSpQy4ayQQ8aCzTLwEyPENY2NcQnT5TQqX5My CWiQ+RrrojnzTB0BjUzH7g4atT20oRWRZgheHiWP/3wJIzh36W4KLWS84jMnD3emroXL GCqcf+Vv/rJpFvCHQNh2Wr+AgG4X0f7d1dmeDN64BJIC0iZJZCnB9QSGnHi5OZdyl2Pu KTvdjLb/Ugbdbze0fkDihGHL/OZKQ4t6XARYt2sqxZMvBzfe4JtrKACmxkqhKc0LuDGC G+kwRqrue7XGK8VX02GPvGkIQ7l5i8TlUt+DM54TkTfTfN9b9quWUEHmtHvoJBIx41R7 vwzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689119587; x=1691711587; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bdpt9yT24+meIoGQDncrfetylfumUQAVOP+XCAw6fVY=; b=hRbjjBuHKEFJDB4UQ6f0YOFE1IByAZYIeL9tJ0R05psiFk1+Tn+PcF3as20Pnw0vpB tIj3kTwMM6+zEEUKN1zhaYZL8RKZDa9w5ute+ojiWwn8uKPGFpBJg3JA6ghOYNGXZRfU gGzDiV/FzudDSnHbrCxF9UUX4s1ZEcWDJnr+xH3XdP0YvZkBeSWNYOeJDKYZ0mnL31U+ P9V/tukm/2XyWI7iqTDwpMiDpCzI7ZgwaG0vRTh0gRZMZYnwEmXark3vBNFY958S5yTx Q56BJvBI9LrOjsJX/iicznLTaihPooO5uC2P5FKMZKsWt9+FyOpp4irzhTDEARLcEGyf UmVw== X-Gm-Message-State: ABy/qLb2K3LpZUY1IvNDarEaKuh8gUxSYRKty1njjMXjx+3X4hAtDW9Y EukD74JUUigKMuavIO0CLQbANMRxB69cFsP4fIsX3Q== X-Google-Smtp-Source: APBJJlH9vbIgFQS6JuqctirRZMWhulm6588B8rgYb18JU/rlW3MuLUIpcga6AnKjh7DN8FYCWwxC+w== X-Received: by 2002:a05:6a21:9985:b0:132:87ab:42d5 with SMTP id ve5-20020a056a21998500b0013287ab42d5mr2204751pzb.35.1689119587629; Tue, 11 Jul 2023 16:53:07 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([50.46.230.135]) by smtp.gmail.com with ESMTPSA id a13-20020a62e20d000000b00660d80087a8sm2232677pfi.187.2023.07.11.16.53.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jul 2023 16:53:07 -0700 (PDT) From: "Taylor Beebe" To: devel@edk2.groups.io Cc: Andrew Fish , Ray Ni Subject: [PATCH 07/14] EmulatorPkg: Update to use memory protection HOB Date: Tue, 11 Jul 2023 16:52:44 -0700 Message-ID: X-Mailer: git-send-email 2.41.0.windows.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Taylor Beebe Replace references to the memory protection PCDs with references to the memory protection HOB. Signed-off-by: Taylor Beebe Cc: Andrew Fish Cc: Ray Ni --- EmulatorPkg/EmulatorPkg.dsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EmulatorPkg/EmulatorPkg.dsc b/EmulatorPkg/EmulatorPkg.dsc index b44435d7e6..132ba5e294 100644 --- a/EmulatorPkg/EmulatorPkg.dsc +++ b/EmulatorPkg/EmulatorPkg.dsc @@ -126,6 +126,7 @@ SortLib|MdeModulePkg/Library/BaseSortLib/BaseSortLib.inf ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf + DxeMemoryProtectionHobLib|MdeModulePkg/Library/MemoryProtectionHobLibNull/DxeMemoryProtectionHobLibNull.inf !if $(SECURE_BOOT_ENABLE) == TRUE RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf @@ -216,7 +217,6 @@ gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplBuildPageTables|FALSE [PcdsFixedAtBuild] - gEfiMdeModulePkgTokenSpaceGuid.PcdImageProtectionPolicy|0x00000000 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000040 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0f -- 2.41.0.windows.2