From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-x236.google.com (mail-it0-x236.google.com [IPv6:2607:f8b0:4001:c0b::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id CDF921A1E74 for ; Thu, 1 Sep 2016 20:04:59 -0700 (PDT) Received: by mail-it0-x236.google.com with SMTP id i184so15445180itf.1 for ; Thu, 01 Sep 2016 20:04:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wEorNWUi0muFU0Ax5jgFMcwDUzlU65gTvh0CyM8fcDw=; b=ohXY1Bhd3Lc6/8M5+jWFfvxYWkwtF/EM1CNSyPBuNLrL+h6pDBoQxYwFXniA+/Z3F+ 0CznBAiu/cUDmWADo/aY0kuDzMXisL64If+Ovh3H12j8QEc6BT5rAP5h8Mi0ssJMNKYc rnCI0RbGvPLaDLGJNDpm/FeawgkfCMk6Em71IfJuGiiM0Olot+c/NwJcOt4e4VvskSUi daSByirYUTngdqkkM6XBuAGTi3TVbpavZ7aMTrofLY2KgaWY80ut6yJ2/0JJ4nZL2N0i BDogAhkO0Si45WABsF2LO40up0ARcMJVC3JXHbsYkoUIEfsX5uekGfv3aNc4Q3FQoBuO epSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wEorNWUi0muFU0Ax5jgFMcwDUzlU65gTvh0CyM8fcDw=; b=cIFj9Isuh9wGCpJJgYsVoh9tpS4b1kmiPq52OGRGjvUPyjBxnZh6atA2OmPeB2PmQ2 MqXpzWlbOSBqMOIdp5/W5V8Lld7dpe468yFc2RvNblrv0Cl6qqTTAxkNLVMX0ZmGg5QF eacpXys+RgRG2CbngneeVesGScJyIGAjzZY0bIAfF/Ld5VjFAzjqsRyRRaHiLtQ6qYcE qvbIfVSFXHO2508LXSRjbJknq/ndMa8XQVtvWcaVpm4gnzezafXHhdj3AbbcQsnYHbHf JD4UN7Dmwh5kdiJHD/xgZfAi1fLAaKZzJZGBFdW6c+5N7sTq/Tobl9QxrLJJDLpCVfs7 c5Sw== X-Gm-Message-State: AE9vXwObnilUERtW4Ep2D6HPpkS57euF7EIh4IzYP8nywZ13RAoauXZXeFJiJLP3yto/2O/WJNh3fDRnbOTZ0w== X-Received: by 10.36.46.4 with SMTP id i4mr1805977ita.27.1472785498879; Thu, 01 Sep 2016 20:04:58 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: GN Keshava Date: Fri, 02 Sep 2016 03:04:47 +0000 Message-ID: To: Andrew Fish Cc: Michael Zimmermann , "edk2-devel@lists.01.org" X-Content-Filtered-By: Mailman/MimeDel 2.1.21 Subject: Re: UEFI Sample application for read/write serial IO X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Sep 2016 03:05:00 -0000 Content-Type: text/plain; charset=UTF-8 Thanks, Michael and Andrew... On Thu, 1 Sep 2016 at 20:56 Andrew Fish wrote: > > > On Sep 1, 2016, at 4:48 AM, GN Keshava 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 > > > 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 > 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 > >>> > >> > >> > > _______________________________________________ > > edk2-devel mailing list > > edk2-devel@lists.01.org > > https://lists.01.org/mailman/listinfo/edk2-devel > >