From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (NAM12-MW2-obe.outbound.protection.outlook.com [40.92.23.18]) by mx.groups.io with SMTP id smtpd.web10.72.1586198116746848900 for ; Mon, 06 Apr 2020 11:35:17 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@outlook.com header.s=selector1 header.b=k2CdqnlS; spf=pass (domain: outlook.com, ip: 40.92.23.18, mailfrom: michael.kubacki@outlook.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QILuOBfEh6CbyEPMXaASvO2YSpPvstKw18R2janawbK2qlPZIiFaMA5hmVVVLUahH+b9LQnmB4/XpOu14ZjAl6Bf0teYqFDJN0r2qBn5CSJCvlL85IcFHzhHps0JWQ1EHmUBmOeshYMHhOK+DbfjJKflUoHSc1LZNf76ArN5XPyG75ypk58soMOsVnziREM2+8eBWJEEo0/vNHNFK6G5SWdW5p10XjTmn5H0RrKhsQyVXV0b445Y7+zi88a1iYpw8dNocZOyqa7wq58tMtqG/0g+CnjRbJXWfevxE2o2HOVUYKIFuUB0wU/sJT0gHnY6wZDsKKyDC4WtOXCmCvs/dw== 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=Vd2K1wORpqxbR+OAomGcCOY85psZLb60qfjAF+QxBcY=; b=OoOatZ+NhhxFlT9uyUJs5lTB+vFKo9kmQqynAua3i6FQKisdC5PUL+btHW7pjntqfIrbdy2OD/2uzuzE2uWUjZeRS4X+ndL1eMn14cdajQONCYWy2AF8ncJ+75wYBMsaWPltKG+bUAL7L3eDAx4FbBwqfXT+80SkTS6DTLh9BbLDKiBmgNfPG/IPri5Iv4BIHox5hSAjbrESpJbA70jiqFM7wpy3W+3Tp6lHzw0ibjj2XP5TW3d4YZJH8R6URf5TKepCluRI4jgSwh6SP1UepbMZDacPxK2iGWb9ahuXxm87d9kwNdGj4EQqMbLr2fNyNbPtGLpcI9pIfQF1lzNa0Q== 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=Vd2K1wORpqxbR+OAomGcCOY85psZLb60qfjAF+QxBcY=; b=k2CdqnlSoQmDcLxFYoMtxeDNX3u/YIfCxrfrMX8DK1f51pVMflsEUlP26ihKv+MzmsJ1O7jcaaEb3KucCN4HY6H7g3sjrzhwzVhgzpr+pOpoxNdgEPgjbheaMxBWlmKxjuO42ya/eIGbb3W/0zlTQjs9nLsdPwquFxIf+X15SzJOg2VmqUIMF9UalZozi7YsvFqTR9hrVoQbMdGwsjlsOIHvpgt5zdKvxvGwEsEUxzahha3jhMYW47133eZbWre9+FfI6ONOWsVSiUzPMyJCAEbE/yoPXZtQl3h10VqmM0EZsSNAfYLRLCXNyB7AmaSBwuXGbby6EZDXOoGi7DJF5A== Received: from BN8NAM12FT066.eop-nam12.prod.protection.outlook.com (2a01:111:e400:fc66::4c) by BN8NAM12HT227.eop-nam12.prod.protection.outlook.com (2a01:111:e400:fc66::481) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.9; Mon, 6 Apr 2020 18:35:14 +0000 Received: from MWHPR07MB3440.namprd07.prod.outlook.com (2a01:111:e400:fc66::50) by BN8NAM12FT066.mail.protection.outlook.com (2a01:111:e400:fc66::317) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.9 via Frontend Transport; Mon, 6 Apr 2020 18:35:14 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:18733A86EB7C1ED34BA55B0E3A9486DC67F28C9CD05B8FFAD6394F665AFAD345;UpperCasedChecksum:88DFE756E6717D92756038A813B1744A145ADFE24BEC0FBA2890A9B8FD1AE1F7;SizeAsReceived:7805;Count:49 Received: from MWHPR07MB3440.namprd07.prod.outlook.com ([fe80::f5a7:e51b:e22a:959f]) by MWHPR07MB3440.namprd07.prod.outlook.com ([fe80::f5a7:e51b:e22a:959f%7]) with mapi id 15.20.2878.014; Mon, 6 Apr 2020 18:35:14 +0000 From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Kun Qin , Jian J Wang , Jiewen Yao , Chao Zhang Subject: [PATCH v1 1/2] SecurityPkg: Add PCD for SW SMI Command port Date: Mon, 6 Apr 2020 11:34:21 -0700 Message-ID: X-Mailer: git-send-email 2.16.3.windows.1 In-Reply-To: <20200406183422.37140-1-michael.kubacki@outlook.com> References: <20200406183422.37140-1-michael.kubacki@outlook.com> X-ClientProxiedBy: MWHPR12CA0067.namprd12.prod.outlook.com (2603:10b6:300:103::29) To MWHPR07MB3440.namprd07.prod.outlook.com (2603:10b6:301:69::28) Return-Path: michael.kubacki@outlook.com X-Microsoft-Original-Message-ID: <20200406183422.37140-2-michael.kubacki@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (2001:4898:80e8:1:461f:d88b:af08:9ab9) by MWHPR12CA0067.namprd12.prod.outlook.com (2603:10b6:300:103::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.15 via Frontend Transport; Mon, 6 Apr 2020 18:35:14 +0000 X-Mailer: git-send-email 2.16.3.windows.1 X-Microsoft-Original-Message-ID: <20200406183422.37140-2-michael.kubacki@outlook.com> X-TMN: [LB5TN63pqcHkS1CFr1935WSrF/GVvmk+g6uewCsJhgNq1aC2ROabuDJKcgzcyAB/] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 49 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 9de9fdc1-e010-496e-5e73-08d7da593f60 X-MS-TrafficTypeDiagnostic: BN8NAM12HT227: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: lUIeU2J7V1bpQFMdaF/9YMpBmmS4q4bqima3xveKpWIni2q9tglHte0wvOzbRCGeb/Wwxbb1dl8b+W6I4lcgtrOZnTqrhpF5pUQfhdP29Tv1+a7xxYE48WPpAmGN0KQNH2jjt2V38Plqo74UDlcKAtd3j0thu8Bz+YlRUX5tVd5TA5ciwP4nR7WGSnx94IL9I30ZlmgI9ckl0VdWugA3fKiZCW9BUO7LS2qkn75eYo0= 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: dTzbFn8TzUkb3g2XmbVgArsMhvXKXbvgHgIFybCdzbJr1FeNTmKhLJDBMhjuAFaGOP1DQGmGB1bRsn9LYq9sRhHKxjOy77WjPP0VatUiA3I0NIGMhgGeWIpqIfwXbaH6orQYlgQgKIVoMgU++vfNk/TJ7heP8h6hVaWYQHHZKwFUnLoLFpP9QQ1jRcA7K7qmVRjaPn3XnJUjheoXhJmM3A== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9de9fdc1-e010-496e-5e73-08d7da593f60 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Apr 2020 18:35:14.8305 (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: BN8NAM12HT227 Content-Type: text/plain From: Michael Kubacki REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2416 Adds a PCD to SecurityPkg used to specify the SW SMI Command port. This value may vary across platforms and is current hardcoded to 0xB2 in package code. Cc: Kun Qin Cc: Jian J Wang Cc: Jiewen Yao Cc: Chao Zhang Signed-off-by: Michael Kubacki --- SecurityPkg/SecurityPkg.dec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/SecurityPkg/SecurityPkg.dec b/SecurityPkg/SecurityPkg.dec index 2cdfb02cc5a2..87b1fbad8056 100644 --- a/SecurityPkg/SecurityPkg.dec +++ b/SecurityPkg/SecurityPkg.dec @@ -7,7 +7,7 @@ # # Copyright (c) 2009 - 2019, Intel Corporation. All rights reserved.
# (C) Copyright 2015 Hewlett Packard Enterprise Development LP
-# Copyright (c) 2017, Microsoft Corporation. All rights reserved.
+# Copyright (c) Microsoft Corporation.
# SPDX-License-Identifier: BSD-2-Clause-Patent # ## @@ -272,6 +272,12 @@ # @ValidList 0x80000003 | 0x010D0000 gEfiSecurityPkgTokenSpaceGuid.PcdStatusCodeSubClassTpmDevice|0x010D0000|UINT32|0x00000007 + ## Defines the IO port used to trigger a software System Management Interrupt (SMI).

+ # Used as the SMI Command IO port by security functionality that triggers a software SMI such + # as Physical Presence Interface (PPI).
+ # @Prompt SMI Command IO port. + gEfiSecurityPkgTokenSpaceGuid.PcdSmiCommandIoPort|0xB2|UINT16|0x00000009 + ## Progress Code for FV verification result.

# (EFI_SOFTWARE_PEI_MODULE | EFI_SUBCLASS_SPECIFIC | XXX) # @Prompt Status Code for FV verification result -- 2.16.3.windows.1