From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=44448 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PrfDM-00079y-Ha for qemu-devel@nongnu.org; Mon, 21 Feb 2011 18:30:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PrfDJ-00058o-VM for qemu-devel@nongnu.org; Mon, 21 Feb 2011 18:30:47 -0500 Received: from d3s.mff.cuni.cz ([195.113.20.55]:47064) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PrfDJ-00058e-O1 for qemu-devel@nongnu.org; Mon, 21 Feb 2011 18:30:45 -0500 Received: from 120.64.broadband2.iol.cz ([83.208.64.120] helo=[10.1.0.10]) by d3s.mff.cuni.cz with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.72) (envelope-from ) id 1PrfDF-0007zo-9O for qemu-devel@nongnu.org; Tue, 22 Feb 2011 00:30:41 +0100 Message-ID: <4D62F5A1.8040304@d3s.mff.cuni.cz> Date: Tue, 22 Feb 2011 00:30:41 +0100 From: Tomas Bures MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] General IO ports in pc386 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Dear all, I'm preparing a class on embedded systems. I would like to make a client that interfaces with QEMU and the application running inside it. This client would simulate the physical environment that the application running inside QEMU should control. To achieve this, I would like to introduce use general IO ports (in a similar way they are used e.g. on ARMs). Please is there a simple way to emulate the general IO ports on pc386? If not, what would be the simplest way to create (i.e. develop) a new device for QEMU? Is there any intro or some simple device, which could be taken as a stub? Thank you. Best regards, Tomas -- Tomas Bures, Ph.D. Assistant Professor Department of Distributed and Dependable Systems Charles University Malostranske nam.25 11800 Prague 1, Czech Republic http://dsrg.mff.cuni.cz Phone: (+420) 2 2191 4236 Fax: (+420) 2 2191 4323