Hi Jaben, Thanks for the reply.
I understand that the sermode command is in shell, and it's sharing information through libraries. Can you tell me more about the library requirement of module to be linked into shell? How i can do this? Thanks again. Regards, Keshava On Tue, Jun 6, 2017, 9:15 PM Carsey, Jaben <[email protected]> wrote: > 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 > the shell and the command are sharing information through libraries. > > > -----Original Message----- > > From: edk2-devel [mailto:[email protected]] On Behalf Of > > GN Keshava > > Sent: Tuesday, June 06, 2017 3:20 AM > > To: [email protected] > > Subject: [edk2] Issue in ConvertHandleIndexToHandle and > > ConvertHandleToHandleIndex > > Importance: High > > > > Hi, > > > > Thanks all for your kind help. > > > > 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. > > > > Now I'm using the latest UEFI shell. > > Now It's working fine for first time. Then if i do any removal and > connect > > of serial port, there is a mismatch in "Handle index" value between the > one > > i get in my application, and the one i get in "sermode" command. > > > > I'm using the same code as sermode code, but still, for the same Handle > > value, the handleIndex value is deferring. > > > > Whether ConvertHandleIndexToHandle and ConvertHandleToHandleIndex > > functions > > are giving issue? What could be the reason? > > > > Thanks again. > > Regards, > > Keshava > > _______________________________________________ > > edk2-devel mailing list > > [email protected] > > https://lists.01.org/mailman/listinfo/edk2-devel > _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

