From nobody Mon May 6 18:35:43 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+44876+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+44876+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1564796820; cv=none; d=zoho.com; s=zohoarc; b=l9Vq7JG88PGZIX51Hspzi8Uy8sS5Bnk6wIDg1ZN15fHJAFP9iUzCQwDu3ACa6DK4i6+80BBI1+RiiMuYtIc6zWadmkxxPbApq3wHkZQyxvCoPAmQpJyaUAlpT9bRQMsyIELSGzjghTJFk/vor9wl+u8hFxlRod8STc4F8DBea4w= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1564796820; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To:ARC-Authentication-Results; bh=Bk6AKtCfyzzKrLvsRJZC/I2tYFfcjB4gX7DQHAIGNao=; b=KBFOx6PU4fQH9wRCXW6fYP4WDUsJoZZaMcTEIbT5h+Qs7A0AIxp4J3noAYG8HOoiNGiYR6PHkg0kiwNqAQrOIo33gKIoHN12U348AEwbN17ooGIhbooEJFkEovYjAFgxbD9JZlcULo0o17y/SnljfC5sgyoWJ7bNAJgn6J5BxPU= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+44876+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1564796819894609.4588666226927; Fri, 2 Aug 2019 18:46:59 -0700 (PDT) Return-Path: X-Received: from mga04.intel.com (mga04.intel.com []) by groups.io with SMTP; Fri, 02 Aug 2019 18:46:59 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Aug 2019 18:46:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,340,1559545200"; d="scan'208";a="257151893" X-Received: from mdkinney-mobl2.amr.corp.intel.com ([10.251.130.221]) by orsmga001.jf.intel.com with ESMTP; 02 Aug 2019 18:46:58 -0700 From: "Michael D Kinney" To: devel@edk2.groups.io Cc: Jaben Carsey , Ray Ni , Zhichao Gao , Sami Mujawar Subject: [edk2-devel] [Patch v3 1/2] ShellPkg/AcpiView: Fix IA32 link error Date: Fri, 2 Aug 2019 18:46:54 -0700 Message-Id: <20190803014655.11184-2-michael.d.kinney@intel.com> In-Reply-To: <20190803014655.11184-1-michael.d.kinney@intel.com> References: <20190803014655.11184-1-michael.d.kinney@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,michael.d.kinney@intel.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1564796819; bh=uOEkIXtPe801o9lcGM4rIHnIqx+qnA/N47wuBftji+M=; h=Cc:Date:From:Reply-To:Subject:To; b=H2q6IXaR3vLyrfm/snXD54s6FV73aImEsMwyiFpnX6km7cZiZSTxE/BTeOOyrBFoEPm tm6pXwcw30D/rgkiEqw8y0rwBTazw/TaDZRNCgIJvGmE+Sd+XGI9F+gQv3meVWUz/Rhdz v3/bgIVawjqkW+stcChFiWpucBSyHYQX2wE= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" https://bugzilla.tianocore.org/show_bug.cgi?id=3D1970 Update SLIT_ELEMENT() macro to use MultU64x64() to perform multiplication on 64-bit operands. This is required to avoid use of an intrinsic on IA32 VS20xx builds. Cc: Jaben Carsey Cc: Ray Ni Cc: Zhichao Gao Cc: Sami Mujawar Signed-off-by: Michael D Kinney Reviewed-by: Jaben Carsey Reviewed-by: Sami Mujawar Tested-by: Sami Mujawar --- .../UefiShellAcpiViewCommandLib/Parsers/Slit/SlitParser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Slit/Slit= Parser.c b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Slit/SlitPa= rser.c index 1f9dac66ee..ca2808db52 100644 --- a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Slit/SlitParser.c +++ b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Slit/SlitParser.c @@ -30,7 +30,7 @@ STATIC CONST ACPI_PARSER SlitParser[] =3D { /** Macro to get the value of a System Locality **/ -#define SLIT_ELEMENT(Ptr, i, j) *(Ptr + (i * LocalityCount) + j) +#define SLIT_ELEMENT(Ptr, i, j) *(Ptr + (MultU64x64 (i, LocalityCount)) + = j) =20 /** This function parses the ACPI SLIT table. --=20 2.21.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#44876): https://edk2.groups.io/g/devel/message/44876 Mute This Topic: https://groups.io/mt/32697115/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Mon May 6 18:35:43 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+44877+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+44877+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1564796820; cv=none; d=zoho.com; s=zohoarc; b=IhvfB/YkERMQ2GQvhD/LKQw6k7MXIvaKnwgmcJumgeVWNBa5zG6iFauyQws2yh6l/RGwtWW7M9ALizPLV17DwTbhzXyGf9Bwd2Sv1DeEMsFGa1zUtgS20MWLNrG96HSAySsFa4MrBvAQdHGNSYI1cu/cLuxd6q5HFKgnHcUfLLQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1564796820; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To:ARC-Authentication-Results; bh=mG4zn5xQygCkWKZWV+5OGGpNIvYK3sFgQiWyeTxlmao=; b=LkHIGPzATv7Ym7lSPwDDh66s6eRkW3g8uGyZjex/fRI/rs/KgKSjg0gIKvj9HYK5PN9n+dYcf6T7zQSIsC8vlsCA5fJJyIPrNW9/RsCUe9tvL5kp9OgXEfx0gktXDe2W3F/Ymv7bMm4SYfBB+ojOrQDpKhuFR7WeYEwNFNrI+fA= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+44877+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1564796820309557.8100561464139; Fri, 2 Aug 2019 18:47:00 -0700 (PDT) Return-Path: X-Received: from mga04.intel.com (mga04.intel.com []) by groups.io with SMTP; Fri, 02 Aug 2019 18:46:59 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Aug 2019 18:46:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,340,1559545200"; d="scan'208";a="257151899" X-Received: from mdkinney-mobl2.amr.corp.intel.com ([10.251.130.221]) by orsmga001.jf.intel.com with ESMTP; 02 Aug 2019 18:46:58 -0700 From: "Michael D Kinney" To: devel@edk2.groups.io Cc: Jaben Carsey , Ray Ni , Zhichao Gao , Sami Mujawar Subject: [edk2-devel] [Patch v3 2/2] ShellPkg: Add shell with all commands integrated Date: Fri, 2 Aug 2019 18:46:55 -0700 Message-Id: <20190803014655.11184-3-michael.d.kinney@intel.com> In-Reply-To: <20190803014655.11184-1-michael.d.kinney@intel.com> References: <20190803014655.11184-1-michael.d.kinney@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,michael.d.kinney@intel.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1564796819; bh=wC5mnImCpEAC2LoKEQOpk6NyoQlctd+Lyd2Q0W2esRs=; h=Cc:Date:From:Reply-To:Subject:To; b=ll0a8b9TFC8pDnUMW8UcnFA/OCxht+rTJD9WK6n0qE/uWZCJLx/AdEaHZLCxB3h1AYX dGMxM4XhYLMPO3+FwzIcin+Oh+W097rCefxWVW3mnoD8j6nZx1Mcwik+VFMlaGeHZqKRJ dC41PA83uCjWeY5q1Yu6bj6quVrqRzv8iLY= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" https://bugzilla.tianocore.org/show_bug.cgi?id=3D1970 Update ShellPkg DSC file to build an extra version of the Shell with all commands integrated. This verifies that the shell can build in this max configuration. Cc: Jaben Carsey Cc: Ray Ni Cc: Zhichao Gao Cc: Sami Mujawar Signed-off-by: Michael D Kinney Reviewed-by: Jaben Carsey Reviewed-by: Sami Mujawar Tested-by: Sami Mujawar --- ShellPkg/ShellPkg.dsc | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/ShellPkg/ShellPkg.dsc b/ShellPkg/ShellPkg.dsc index 6a139b3b91..b2065dc028 100644 --- a/ShellPkg/ShellPkg.dsc +++ b/ShellPkg/ShellPkg.dsc @@ -1,7 +1,7 @@ ## @file # Shell Package # -# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.
+# Copyright (c) 2007 - 2019, Intel Corporation. All rights reserved.
# Copyright (c) 2018, Arm Limited. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent @@ -115,6 +115,26 @@ [Components] !endif #$(NO_SHELL_PROFILES) } =20 + # + # Build a second version of the shell with all commands integrated + # + ShellPkg/Application/Shell/Shell.inf { + + FILE_GUID =3D EA4BB293-2D7F-4456-A681-1F22F42CD0BC + + gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE + + NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2Comm= andsLib.inf + NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1Comm= andsLib.inf + NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3Comm= andsLib.inf + NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1Co= mmandsLib.inf + NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1= CommandsLib.inf + NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1Comm= andsLib.inf + NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1= CommandsLib.inf + NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2= CommandsLib.inf + NULL|ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewC= ommandLib.inf + } + ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf { gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE --=20 2.21.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#44877): https://edk2.groups.io/g/devel/message/44877 Mute This Topic: https://groups.io/mt/32697116/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-