From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-in6.apple.com (mail-out6.apple.com [17.151.62.28]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id DA9F81A1E59 for ; Thu, 1 Sep 2016 08:26:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; d=apple.com; s=mailout2048s; c=relaxed/simple; q=dns/txt; i=@apple.com; t=1472743570; x=2336657170; h=From:Sender:Reply-To:Subject:Date:Message-id:To:Cc:MIME-version:Content-type: Content-transfer-encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-reply-to:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=wUhKnFuGd+huBY2ceJikYlH4TMq3rwemvD0XZTn25nY=; b=zlMmxLFzZDzFCDBRKXAQj0RBq4aRjegeyr1OaLoi8E1Cgyj1fA4WDZE/UQ9ABt34 tcm/pfzd+le0+5tqsn9W19jnkMUI70ZS89UGk/FP5J4Og6tNwJPTSK/B0D3j3EAq pKZ7S9AMFOXG0iRkGcw28BeFUHnym+oJqQRuZqoC96C8xYhd5ch/2lE6s25YfdGV OrAL0AXVqxRMTmqrFtNnseyD6SLfwiP3nwYwzcTVGch3zJC3HEWJyc1Yys7biRVp BbamIm7Xk3C8sTGEP39tkn+oYGCiBLYOK3mIHFmiy+CqgItMjRIye+B+4htqt56N qWfAICGiMR0taWCRbPp10g==; Received: from relay6.apple.com (relay6.apple.com [17.128.113.90]) by mail-in6.apple.com (Apple Secure Mail Relay) with SMTP id 63.A4.07752.29848C75; Thu, 1 Sep 2016 08:26:10 -0700 (PDT) X-AuditID: 11973e15-f798f6d000001e48-4f-57c84892d0eb Received: from nwk-mmpp-sz07.apple.com (nwk-mmpp-sz07.apple.com [17.128.115.240]) by relay6.apple.com (Apple SCV relay) with SMTP id DC.0F.04954.29848C75; Thu, 1 Sep 2016 08:26:10 -0700 (PDT) MIME-version: 1.0 Received: from [17.153.71.146] by nwk-mmpp-sz07.apple.com (Oracle Communications Messaging Server 8.0.1.1.0 64bit (built Jun 15 2016)) with ESMTPSA id <0OCU009XK07LQB10@nwk-mmpp-sz07.apple.com>; Thu, 01 Sep 2016 08:26:10 -0700 (PDT) Sender: afish@apple.com From: Andrew Fish In-reply-to: Date: Thu, 01 Sep 2016 08:26:10 -0700 Cc: Michael Zimmermann , "edk2-devel@lists.01.org" Message-id: References: To: GN Keshava X-Mailer: Apple Mail (2.3112) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrNLMWRmVeSWpSXmKPExsUi2FAYpTvJ40S4waZJ4hZ7Dh1ltmj/0sJq MXfqU1YHZo+ds+6ye3TP/scSwBTFZZOSmpNZllqkb5fAldGz+wJbwX/uiksrZzA2MJ7l7GLk 4JAQMJH4u1e4i5ETyBSTuHBvPVsXIxeHkMBeRok7Z6exQSRMJC4tuc4EkTjEKPH4fyMrSIJX QFDix+R7LCCDmAXkJQ6elwUJMwtoSXx/1MoCUf+OUWLtdRCHk0NYQFzi3ZlNzBC2i8T0tqOM IDabgLLEivkf2EFsToFgiXUN18DqWQRUJQ6ve8AKMT9D4swDB4i1NhLvbmxmhpj/gFFi6bIP TCAJEaD69z83MEEcLSuxb8MCsG8kBHawSRy/f491AqPILCR3z0K4exaSuxcwMq9iFMpNzMzR zcwz00ssKMhJ1UvOz93ECAr96XaiOxjPrLI6xCjAwajEw8thdCJciDWxrLgy9xCjNAeLkjhv kRNQSCA9sSQ1OzW1ILUovqg0J7X4ECMTB6dUA+Pe/MtvT/Lby/7uy9xnur30zmebWb4+sSKs CzvVw8un8voYsnqFS+3u4Vs1WzPWikPVfcOk1czTXim2OtU/aq+5fa6kleXq8fzIwgUqHl+u v3nBIXR13ZGTZv8Dr997EcFUFlTwNGtFxJucmTJS4huXnJv+8y87g2fDBqvodSL2SYu8+TaE xCmxFGckGmoxFxUnAgCL0xq+XgIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpnkeLIzCtJLcpLzFFi42IRbCj+oDvJ40S4wZt9whZ7Dh1ltmj/0sJq MXfqU1YHZo+ds+6ye3TP/scSwBTFZZOSmpNZllqkb5fAldGz+wJbwX/uiksrZzA2MJ7l7GLk 5JAQMJG4tOQ6E4QtJnHh3nq2LkYuDiGBQ4wSj/83soIkeAUEJX5MvsfSxcjBwSwgL3HwvCxI mFlAS+L7o1YWiPp3jBJrr4M4nBzCAuIS785sYoawXSSmtx1lBLHZBJQlVsz/wA5icwoES6xr uAZWzyKgKnF43QNWiPkZEmceOECstZF4d2MzM8T8B4wSS5d9ADtUBKj+/c8NUEfLSuzbsIBt AqPgLCSnzkI4dRaSUxcwMq9iFChKzUmsNNNLLCjISdVLzs/dxAgO1sKoHYwNy60OMQpwMCrx 8HIYnQgXYk0sK67MBYYFB7OSCO9Ed6AQb0piZVVqUX58UWlOavEhxmSg+ycyS4km5wMjKa8k 3tDExMDE2NjM2NjcxJw0YSVx3q1HjoYLCaQnlqRmp6YWpBbBbGHi4JRqYEz5PutYU91Sk7YN l5ldIr4c3S/tp2S/rPsTyxnxK+1H7u88uSzymtvlaulsTl2R90X7jriqWh+4Grbq+O1mzgCF +hPlTRteuK7ewa5cXKT7ede+BZIut6/c/Jg7sXfhD6XVZ3dmyL6v1OWsyLDfH5Cnur8xcdMj i/M/Fc31PNfLvpRJ4E64qKXEUpyRaKjFXFScCADnuLq1mgIAAA== 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: Thu, 01 Sep 2016 15:26:11 -0000 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII > 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