qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] writing a cosimulated network for QEMU
@ 2006-08-21 22:42 Alessandro Corradi
  0 siblings, 0 replies; only message in thread
From: Alessandro Corradi @ 2006-08-21 22:42 UTC (permalink / raw)
  To: qemu-devel

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-08-21 22:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-21 22:42 [Qemu-devel] writing a cosimulated network for QEMU Alessandro Corradi

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).