From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (NAM10-MW2-obe.outbound.protection.outlook.com [40.92.42.94]) by mx.groups.io with SMTP id smtpd.web12.1212.1589266063870462869 for ; Mon, 11 May 2020 23:47:44 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@outlook.com header.s=selector1 header.b=X9EYBzpf; spf=pass (domain: outlook.com, ip: 40.92.42.94, mailfrom: michael.kubacki@outlook.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jpWBypy9WfAPOxIkgJ3dHF2i4NU/MtY/a44T+KnER27o5XQeJxNeHyX2ootdbzDuK3ITwL92qnvVKw00GtAqtbaiFtW9P3gPGwRTYUosNn+uIWo3EXw48ge3LJ3UDEStcw4xBOOm3jxMbrQ75i2hckuyT0MJIIrIKQD/Xa1qgktpCh43lSaeFpSV27mBm0DLH55ZHhBdS/UJt3ShYIUqppYsqLRtSOWFEjeFy9w519P4fEjvDsDpbtDQjX0g9a/r6qR67EgrJTYHcTsPKzSdPnMEpw4MdeH0wDm425NW5cd2AprvAllEjrF6t+AywbPyXvotcIkHgdW1FX95kpeArQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=N+aYoX+E5NXC6q+yH5FrmXEGB6p+2FZDt34fDGBjy90=; b=KSOkKFGzerkhrURTzs6K8TP1BtBo5rxXLv264wIOCO9PshtFb/zReOc5COYfcTJy/ibgDpYltTP4jzz5T2qWaZT54GbhaZPJ+QQMr0OrCHltB8yuHHNDNoSoPFaLDpNtHgPYeu+fNSq/yJL36ETQlXg7rTIpaK7HloLWjKLHC1bmV/KPOT/3tUj77AydtACNbC2+cUPQUSqi9vO5T71ONz9vwVhdiZqNPaJDqSCk3qHJnLPSyHo2GvSlkNwG0l+fe41YAV9tMZhaZMXj33Dz/6N6HgF6VNJunE3KKGEiTkJK85fQNAzSZpG08BIpZLtWFAVZ9V+A61PHBbJ+QJHmfg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=outlook.com; dmarc=pass action=none header.from=outlook.com; dkim=pass header.d=outlook.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=N+aYoX+E5NXC6q+yH5FrmXEGB6p+2FZDt34fDGBjy90=; b=X9EYBzpfRxKTckTu7VfAzxGtH1QHqV/lCOw1UFqCLbDIPQ1mAb5i+jV0p+WcxH63vahYcyMJuBSwWI17XdNFKsXase7uuW7QIdWS5Iz9BkJhUUgg/GMl+vGAX/BHiESq8oZT02xaHr0YV2BxMBdES7bP3k7EuwFnk9b/GH9O8+Aomi2xFN+5t0f19g8RHHl69lr5iA8XqazvdXCSjKlb0jENHFJDI13AJqAYaM5NI8g+GmM0dkFZDjhaXJJSdAxtm9b91twGaJDxP0VQExga2bPUhGWe0SoTvYJ8DqrNKCYr9MrPCHUt2SRZayWt9tXZOaDPiceR7H+mv0UtB4HLJg== Received: from BN7NAM10FT010.eop-nam10.prod.protection.outlook.com (2a01:111:e400:7e8f::4b) by BN7NAM10HT216.eop-nam10.prod.protection.outlook.com (2a01:111:e400:7e8f::471) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.27; Tue, 12 May 2020 06:47:42 +0000 Received: from MWHPR07MB3440.namprd07.prod.outlook.com (2a01:111:e400:7e8f::4b) by BN7NAM10FT010.mail.protection.outlook.com (2a01:111:e400:7e8f::421) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.27 via Frontend Transport; Tue, 12 May 2020 06:47:42 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:F2A3DAEAC209AE1C576C7DE375D8F6FE93C6F455AFD5F4430D5E064EC574E7BF;UpperCasedChecksum:75D42751AED182BF7A7DE56EBA46A106700CB6BFC20EA29C65C3939DC06E7923;SizeAsReceived:7762;Count:49 Received: from MWHPR07MB3440.namprd07.prod.outlook.com ([fe80::bcc9:271b:20db:52e3]) by MWHPR07MB3440.namprd07.prod.outlook.com ([fe80::bcc9:271b:20db:52e3%6]) with mapi id 15.20.2979.033; Tue, 12 May 2020 06:47:42 +0000 From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Jordan Justen , Andrew Fish , Ray Ni Subject: [PATCH v2 12/12] EmulatorPkg: Add VariablePolicy engine to EmulatorPkg platform Date: Mon, 11 May 2020 23:46:35 -0700 Message-ID: X-Mailer: git-send-email 2.16.3.windows.1 In-Reply-To: <20200512064635.14640-1-michael.kubacki@outlook.com> References: <20200512064635.14640-1-michael.kubacki@outlook.com> X-ClientProxiedBy: MW2PR16CA0022.namprd16.prod.outlook.com (2603:10b6:907::35) To MWHPR07MB3440.namprd07.prod.outlook.com (2603:10b6:301:69::28) Return-Path: michael.kubacki@outlook.com X-Microsoft-Original-Message-ID: <20200512064635.14640-13-michael.kubacki@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (2001:4898:80e8:b:422:2743:5e95:81bb) by MW2PR16CA0022.namprd16.prod.outlook.com (2603:10b6:907::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.27 via Frontend Transport; Tue, 12 May 2020 06:47:42 +0000 X-Mailer: git-send-email 2.16.3.windows.1 X-Microsoft-Original-Message-ID: <20200512064635.14640-13-michael.kubacki@outlook.com> X-TMN: [2V2uayIV/LBik6BHaipFCmd+tyNkJQO5cHKbYt+DPkiMRCOmxg6t1D3WAfmOvQdF] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 49 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: c24fa056-bc15-487e-29f0-08d7f6405e9c X-MS-TrafficTypeDiagnostic: BN7NAM10HT216: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wBcwgpQ5CUTWo/q7cTXEwnzlWzo8iJC0jy2y8gNbN3UhubZsF16VjbXcsWjyxUrUC4ojOKtjk5eaNwFKEI4URyBdGhjLqAuz4kI+TI+8pm1BfeyPmJv0JfUI5U+h2PcOIWlSiJCM6K90xBQ+/8gRPeZ8N7DD0cRbB9kFPxvX3MZO6KmScjajss0RbTKOwz6eQSR51YkvXfsovKbrrvEn32HJHpn8VAtJ2dUX0J8Wyyi/qLnGBUiGpdo8vRqr1SDn X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:0;SRV:;IPV:NLI;SFV:NSPM;H:MWHPR07MB3440.namprd07.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:;DIR:OUT;SFP:1901; X-MS-Exchange-AntiSpam-MessageData: JR33iyTzG/h5gA6aYgKpQdhmG216fQzQv0OgO2+RWPltFpwSxK9s/fmSk1uzkiT+AAtIRU1/q6nJOUjckJ0TGYyef4ZvSSvsiTmxhZTCy1DTkbUBdY/hNBvYmX0XjzhGzf27QgK1K6G0WDSstcFmnbXLe7KF0WnCIX2wmC9KZMLr4KpHU3kxMrSzNsWVvHOVHqtvfGznTOlCDDqXFTV/xw== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c24fa056-bc15-487e-29f0-08d7f6405e9c X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 May 2020 06:47:42.3366 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7NAM10HT216 Content-Type: text/plain From: Bret Barkelew https://bugzilla.tianocore.org/show_bug.cgi?id=2522 Cc: Jordan Justen Cc: Andrew Fish Cc: Ray Ni Signed-off-by: Michael Kubacki --- EmulatorPkg/EmulatorPkg.dsc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/EmulatorPkg/EmulatorPkg.dsc b/EmulatorPkg/EmulatorPkg.dsc index 1fc924ae5a16..1f6becf6c1ca 100644 --- a/EmulatorPkg/EmulatorPkg.dsc +++ b/EmulatorPkg/EmulatorPkg.dsc @@ -6,6 +6,7 @@ # # Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.
# Portions copyright (c) 2010 - 2011, Apple Inc. All rights reserved.
+# Copyright (c) Microsoft Corporation. # # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -108,6 +109,8 @@ TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf + VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf + VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf SortLib|MdeModulePkg/Library/BaseSortLib/BaseSortLib.inf ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf @@ -225,6 +228,9 @@ # 0-PCANSI, 1-VT100, 2-VT00+, 3-UTF8, 4-TTYTERM gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|1 + # Optional: Omit if VariablePolicy should be always-on. + gEfiMdeModulePkgTokenSpaceGuid.PcdAllowVariablePolicyEnforcementDisable|TRUE + [PcdsDynamicDefault.common.DEFAULT] gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0 -- 2.16.3.windows.1