qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Alessandro Corradi" <ale.corradi@gmail.com>
To: qemu-devel <qemu-devel@nongnu.org>
Subject: [Qemu-devel] writing a cosimulated network for QEMU
Date: Tue, 22 Aug 2006 00:42:30 +0200	[thread overview]
Message-ID: <b921df970608211542k37415dafq36802f86b2dd8e6e@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1019 bytes --]

Hi all,
my project is to write a simulated network card. It will comunicate with a
SystemC emulated device, a cirrus logic cs8900a. The logical scheme is circa
as it:

QEMU <--> WRITTEN DEVICE <-- socket --> SystemC description of the cirrus.

The connection between the qemu device and the cirrus is via socket. I
started to write the device taking the parallel description as example, but
I guess that is more complex than parallel but more easy than the ne2000
description.

-I think I need to write the read and write functions as
mydev_ioport_read/write and there must be the transmission with the systemC
description and register them in the function "table" with
register_ioport... in init function.

-I need to write a mydev_init function that is called at qemu init in vl.c.
but i think that I must use my device as a pci device and i need to
"configure" it right? can someone help me about this point?

-finally I must to iniziated it in vl.c and vl.h and modified the make
script.

Thanks for the help!

Ale

[-- Attachment #2: Type: text/html, Size: 1104 bytes --]

                 reply	other threads:[~2006-08-21 22:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b921df970608211542k37415dafq36802f86b2dd8e6e@mail.gmail.com \
    --to=ale.corradi@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).