From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-x22f.google.com (mail-lf0-x22f.google.com [IPv6:2a00:1450:4010:c07::22f]) (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 261568194D for ; Mon, 9 Jan 2017 00:45:47 -0800 (PST) Received: by mail-lf0-x22f.google.com with SMTP id v186so35698894lfa.1 for ; Mon, 09 Jan 2017 00:45:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=M7dC1DvL4SNxjIx6FpV0Y9yteERqk61IxS7D0J3mCYI=; b=YrOZ+w6r70BX2ooKJYmkCph8pTtqtxCID25hwG5sq8CXaEayMz5L8OYpVVBNrx1CnO HFOQQhoofR2iwIGqSCErh0caRgMwA3EzDpleNpskkA4V/WyHc2e6bcHU64a9ul4gHw/e hW16Y9jeascDrz2YtxQNMZB6TARQgI1OvWTDiNIEfIFHax4ImnkwIYI39AGoraOblmNi atRmUkDydjbzZSwYoZnkxQ8cFzlshA2A/BSoiEZbI1OnBK8RA6R54MNNLHj0IUg4BDL3 3r1J9CBP2MzHnWFUJcMAt9tUjyBAu9OK1gqw8SXWeRcqzQ9NDULou0rvDhdmunxr6gr4 onXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=M7dC1DvL4SNxjIx6FpV0Y9yteERqk61IxS7D0J3mCYI=; b=Ol3nGB/wCckqCIYOsW7WIOGn+DeY9TfH74Q/TLKJLO4FqsfD79oSjIElR6VaY2kv9O dv14sjhyvJR+eYKm9BvcnXaD3AfGckB5UyDOSXYz7DFVdkH9Ug0R4P8TWRXcH20Jf1PA ldHoOrwLrigE5lDxn7IaXVtNeR/TWHFzLSYofr/Bwr5UgiZHFgqVxtPh5a7XYpqvz7jd Ry2uplpeKlLTpAXOOCDVLO4fkXX3N73Gu0tjENZnk3bXY2xgqqf3dOBWVhktgVJ+kwLv Xg6W9XRzZec/WfjCJKJiEC//64MLFq+g6yNl5+mbqrceO9jjIoYEO82a1VbGFH1UCgaW gOeg== X-Gm-Message-State: AIkVDXKOZOWeiVQwSUkf2vatuuMusD6xmVT6XNRL2DuKwwNFxnah0++i6+zSzJYqFZBytxmlAjGFSTaADZS+iw== X-Received: by 10.25.211.134 with SMTP id k128mr31883620lfg.118.1483951545015; Mon, 09 Jan 2017 00:45:45 -0800 (PST) MIME-Version: 1.0 From: GN Keshava Date: Mon, 09 Jan 2017 08:45:34 +0000 Message-ID: To: "edk2-devel@lists.01.org" Cc: "edk2-devel@lists.sourceforge.net" , "edk2-devel@lists.01.org" X-Content-Filtered-By: Mailman/MimeDel 2.1.21 Subject: Serial port flush in UEFI 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: Mon, 09 Jan 2017 08:45:47 -0000 Content-Type: text/plain; charset=UTF-8 Hi, >>From my UEFI application, I want to flush serial port (both TX and RX) similar to PurgeComm function in Windows . Can somebody suggest a way to do this on UEFI? Thanks! Regards, Keshava G N