From nobody Wed Apr 24 12:22:44 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+43529+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+43529+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1562798110; cv=none; d=zoho.com; s=zohoarc; b=b/gnHQIbXCYuHiYWeHRYXqZ7LV8CBVWB+OhS9mvTqtu830lmi8wYnxRF/iT3V0i1E7WbC37YTKN+Aa/ArClFNJoF5oTIcjaR17cINlI85KLCZPwuzQTeP1FgzDYi9g9Djz6CYTlJzOY0F99Ohli1MY1/K0rEMOxl0FK5HyQwxe8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1562798110; h=Content-Transfer-Encoding:Cc:Date:From:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To:ARC-Authentication-Results; bh=3vCDMJ/jke0xfDICI23r3g90/s809zpvppzRaHnCvqY=; b=C077z6tlV//PZxdT3kc1VeB2EFKuIyEdcysLtmlNA/aYHJhjxI0NdqRWGmrUtOpTUXnnd2GWVKMQlfDh08g7PxlnvtmvAfeCt1mh6fKkQCwCiU4DlvdW1E7O6BsyHg8SK/vt4vR2e1EUYcUXG1hdzL+XBIVB4ZIClp1d0/7IdHY= 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+43529+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 1562798110787297.39204843847256; Wed, 10 Jul 2019 15:35:10 -0700 (PDT) Return-Path: X-Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by groups.io with SMTP; Wed, 10 Jul 2019 15:35:09 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Jul 2019 15:35:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,476,1557212400"; d="scan'208";a="364623342" X-Received: from mdkinney-mobl2.amr.corp.intel.com ([10.241.98.74]) by fmsmga005.fm.intel.com with ESMTP; 10 Jul 2019 15:35:08 -0700 From: "Michael D Kinney" To: devel@edk2.groups.io Cc: Jaben Carsey , Ray Ni , Zhichao Gao Subject: [edk2-devel] [Patch] ShellPkg/AcpiView: Fix IA32 link error Date: Wed, 10 Jul 2019 15:35:07 -0700 Message-Id: <20190710223507.14396-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=1562798110; bh=l3BqAhhEM4+crRHVH/cS+THgemo3tMb0NFNT5LbVV0s=; h=Cc:Date:From:Reply-To:Subject:To; b=ncQ17GjiFOJRkbCsDTGFZfUGiDTYLblNmUweNmPXhCPSE7t2nj+2LGNuG6vpFNZ64Ve 4iHEe3PvhXKnKOHEXibYWtwtuwziiVeYyibOHukFGtNGjStrwtDtjsa0MfjSYRwp3bnvx pArRu2iF8Zh66vX2KDouyqwsrND/h6y9dBU= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" https://bugzilla.tianocore.org/show_bug.cgi?id=3D1970 Update local variable in ParseAcpiSlot() to be UINT32 instead of UINT64 to avoid 64-bit multiply operation in the SLIT_ELEMENT() macro. Cc: Jaben Carsey Cc: Ray Ni Cc: Zhichao Gao Signed-off-by: Michael D Kinney Reviewed-by: Jaben Carsey --- .../UefiShellAcpiViewCommandLib/Parsers/Slit/SlitParser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Slit/Slit= Parser.c b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Slit/SlitPa= rser.c index 1f9dac66ee..af85c9aa1c 100644 --- a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Slit/SlitParser.c +++ b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Slit/SlitParser.c @@ -57,8 +57,8 @@ ParseAcpiSlit ( ) { UINT32 Offset; - UINT64 Count; - UINT64 Index; + UINT32 Count; + UINT32 Index; UINT64 LocalityCount; UINT8* LocalityPtr; CHAR16 Buffer[80]; // Used for AsciiName param of ParseAcpi --=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 (#43529): https://edk2.groups.io/g/devel/message/43529 Mute This Topic: https://groups.io/mt/32421790/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-