From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EdgQb-000395-BT for qemu-devel@nongnu.org; Sat, 19 Nov 2005 23:03:45 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EdgQZ-00038F-CF for qemu-devel@nongnu.org; Sat, 19 Nov 2005 23:03:44 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EdgQZ-000389-3Q for qemu-devel@nongnu.org; Sat, 19 Nov 2005 23:03:43 -0500 Received: from [128.114.125.40] (helo=smtp-test-1.ucsc.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EdgQY-0001gu-NE for qemu-devel@nongnu.org; Sat, 19 Nov 2005 23:03:42 -0500 Received: from ucsc.edu (cruzmail-fe2.ucsc.edu [128.114.125.2]) by smtp-test-1.ucsc.edu (8.13.1/8.13.1) with ESMTP id jAK43Gtq026318 for ; Sat, 19 Nov 2005 20:03:16 -0800 (PST) Received: from [128.114.56.97] (account dgray@ucsc.edu [128.114.56.97] verified) by silver.ucsc.edu (CommuniGate Pro SMTP 4.3.7) with ESMTPA id 37875392 for qemu-devel@nongnu.org; Sat, 19 Nov 2005 20:03:16 -0800 Message-ID: <437FF584.9090101@ucsc.edu> Date: Sat, 19 Nov 2005 20:03:16 -0800 From: Doug Gray MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Accessing the serial port from proll Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, I'm working on project to implement a serial boot option in proll to emulate the way a real sparc bios works. However I'm having some problems that I was hoping someone here could help me with. I can't seem to access qemu's serial port hardware. I can see how it's done by other functions (like vcon_zs_getch), but I can't seem to call these functions or copy their functionality. I basically need a getchar() function for the serial port that I can call. Anybody care to explain how to do this or at least point me in the right direction? Thanks. -Doug