public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: GN Keshava <keshava.gn@gmail.com>
To: Michael Zimmermann <sigmaepsilon92@gmail.com>
Cc: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: Re: UEFI Sample application for read/write serial IO
Date: Thu, 01 Sep 2016 11:48:19 +0000	[thread overview]
Message-ID: <CABKwMdsj5hB10u1OwGksaQBLEuLta5QLo8PzCsVu26Cs_nKKwQ@mail.gmail.com> (raw)
In-Reply-To: <CAN9vWD+8VoW8QSfMsRVo3V0wTbQKwF1QnB3aAOdc1Gc7d9=yhA@mail.gmail.com>

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.

Thanks
Keshava

On Thu, 1 Sep 2016 at 17:09 Michael Zimmermann <sigmaepsilon92@gmail.com>
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 <keshava.gn@gmail.com> 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
>> edk2-devel@lists.01.org
>> https://lists.01.org/mailman/listinfo/edk2-devel
>>
>
>


  reply	other threads:[~2016-09-01 11:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-01 11:22 UEFI Sample application for read/write serial IO GN Keshava
2016-09-01 11:39 ` Michael Zimmermann
2016-09-01 11:48   ` GN Keshava [this message]
2016-09-01 12:49     ` Michael Zimmermann
2016-09-01 15:26     ` Andrew Fish
2016-09-02  3:04       ` GN Keshava

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CABKwMdsj5hB10u1OwGksaQBLEuLta5QLo8PzCsVu26Cs_nKKwQ@mail.gmail.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox