From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=49825 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q46S5-00080j-FV for qemu-devel@nongnu.org; Mon, 28 Mar 2011 03:01:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q46Rx-0004LZ-J4 for qemu-devel@nongnu.org; Mon, 28 Mar 2011 03:01:18 -0400 Received: from mail-bw0-f45.google.com ([209.85.214.45]:39823) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q46Rx-0004LL-EB for qemu-devel@nongnu.org; Mon, 28 Mar 2011 03:01:17 -0400 Received: by bwz16 with SMTP id 16so2462356bwz.4 for ; Mon, 28 Mar 2011 00:01:16 -0700 (PDT) From: "wzab" Date: Mon, 28 Mar 2011 09:01:09 +0200 Message-ID: MIME-Version: 1.0 Content-Language: i-default Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] QEMU API for modelling of user's hardware Reply-To: wzab List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: wzab@ise.pw.edu.pl Hi, I wanted to prepare QEMU models of new hardware for my students, to let = them to write and debug device drivers before the real hardware is = available (or even to optimize the design of this hardware before it is = really made). I was able to establish the basic communication with memory mapped = registers of my device, but when it comes to more advanced topics like DMA = and interrupts, things start to be difficult. Is there any reference or manual for people trying to write device models = for QEMU? I know that the "hw" subdirectory is full of examples, but I'd = prefere something more "formal", with info which solutions are optimal, = which are deprecated...=20 Thank you very much in advance, Wojciech Zabolotny