Alexi, The SerialPortLib class is define here https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2/MdePkg/Include/Library/SerialPortLib.h and does not contain the functions you list.
The functions you list are defined in the SerialPortExtLib https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2/EmbeddedPkg/Include/Library/SerialPortExtLib.h So I think you are looking for a NULL version of the SerialPortExtLib. Thanks, Andrew Fish On Jan 31, 2013, at 8:06 AM, Alexei Fedorov <[email protected]> wrote: > 1. \MdePkg\Library\BaseSerialPortLibNull\ BaseSerialPortLibNull.c is missing > the following functions: > - SerialPortGetControl() > - SerialPortSetControl() > - SerialPortSetAttributes() > Which leads to compilation errors for \EmbeddedPkg\SerialDxe\SerialIo.c. > 2. SerialPortWrite() function returns 0, which makes SerialWrite() finction > in SerialIo.c return EFI_TIMEOUT error causing UEFI image to hang. This might > be fixed by changing return value to NumberOfBytes. > > > -- IMPORTANT NOTICE: The contents of this email and any attachments are > confidential and may also be privileged. If you are not the intended > recipient, please notify the sender immediately and do not disclose the > contents to any other person, use it for any purpose, or store or copy the > information in any medium. Thank you. > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_jan > _______________________________________________ > edk2-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/edk2-devel ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan _______________________________________________ edk2-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/edk2-devel
