> On Sep 1, 2016, at 4:48 AM, GN Keshava <[email protected]> wrote:
> 
> Thanks Michael,
> 
> By sample I mean is there any code which uses Serial IO Protocol to
> read/write to UART in edk2 package? or any open source code should be fine.
> 
> This is just to get an idea how I can use the protocol.
> 

All you need to do is read 11.8 in the UEFI Specification Serial I/O Protocol. 
Chapter 11 is for Protocols - Console Support. 

Thanks,

Andrew Fish


> Thanks
> Keshava
> 
> On Thu, 1 Sep 2016 at 17:09 Michael Zimmermann <[email protected]>
> wrote:
> 
>> I can't give you sample code but if you're familiar with using UEFI
>> protocols it's actually very easy. You just have to use
>> the gEfiSerialIoProtocolGuid protocol which can be found in:
>> MdePkg/Include/Protocol/SerialIo.h
>> 
>> Thanks
>> Michael
>> 
>> On Thu, Sep 1, 2016 at 1:22 PM, GN Keshava <[email protected]> wrote:
>> 
>>> Hi all,
>>> 
>>> I want to write UEFI application which reads/writes to serial IO.
>>> Is there a sample UEFI application code available which demonstrates
>>> Serial
>>> IO read/write?
>>> 
>>> Thanks.
>>> With 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

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to