From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 5FB9C21A6F105 for ; Tue, 6 Jun 2017 08:44:20 -0700 (PDT) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP; 06 Jun 2017 08:45:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,306,1493708400"; d="scan'208";a="1157219806" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga001.fm.intel.com with ESMTP; 06 Jun 2017 08:45:27 -0700 Received: from fmsmsx122.amr.corp.intel.com (10.18.125.37) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 6 Jun 2017 08:45:26 -0700 Received: from fmsmsx103.amr.corp.intel.com ([169.254.2.37]) by fmsmsx122.amr.corp.intel.com ([169.254.5.34]) with mapi id 14.03.0319.002; Tue, 6 Jun 2017 08:45:27 -0700 From: "Carsey, Jaben" To: GN Keshava , "edk2-devel@lists.01.org" Thread-Topic: [edk2] Issue in ConvertHandleIndexToHandle and ConvertHandleToHandleIndex Thread-Index: AQHS3q6MQF8OQrzB6Ea3bRfp+fpEU6IX+kgA Date: Tue, 6 Jun 2017 15:45:26 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiM2VmMDI1M2ItN2EwYy00YjM1LWEyYTEtYTRiY2U3ZmU1MWQ5IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6ImFHa0tTZ01YU2tUeUQ4U3daMjhcL00xVE83QUhHXC9nd2JVWnExUzNKMThqTT0ifQ== x-ctpclassification: CTP_IC x-originating-ip: [10.1.200.108] MIME-Version: 1.0 Subject: Re: Issue in ConvertHandleIndexToHandle and ConvertHandleToHandleIndex X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2017 15:44:20 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable That library may require the module to be linked into the shell. Remember = that the sermode command is actually in the same binary as the shell and th= e shell and the command are sharing information through libraries. > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of > GN Keshava > Sent: Tuesday, June 06, 2017 3:20 AM > To: edk2-devel@lists.01.org > Subject: [edk2] Issue in ConvertHandleIndexToHandle and > ConvertHandleToHandleIndex > Importance: High >=20 > Hi, >=20 > Thanks all for your kind help. >=20 > I'm doing few operations using serial port. So, I've done a small serial > driver by referring FTDI code, and I'm accessing this using serialIO from > my application. and it was working fine with older EFI shell. >=20 > Now I'm using the latest UEFI shell. > Now It's working fine for first time. Then if i do any removal and connec= t > of serial port, there is a mismatch in "Handle index" value between the o= ne > i get in my application, and the one i get in "sermode" command. >=20 > I'm using the same code as sermode code, but still, for the same Handle > value, the handleIndex value is deferring. >=20 > Whether ConvertHandleIndexToHandle and ConvertHandleToHandleIndex > functions > are giving issue? What could be the reason? >=20 > Thanks again. > Regards, > Keshava > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel