On 20/10/06, Peter Lund <[EMAIL PROTECTED]> wrote:
On Fri, 2006-10-20 at 20:19 +0200, Rodolphe Ortalo wrote:
> BTW, do you think it would be feasible to start writing the kernel
> driver using the simulator?
It should be!
> I'm thinking to user-mode linux, or maybe a
> full emulator like qemu or Bochs. (BTW, in this case, maybe the
> simulator itself may be viewed as something useful by the emulator's
> developpers...)
qemu needs a patch that will make it load "plugins" containing code for
emulating various pieces of hardware.
Then the open graphics card can be simulated by a .so file that qemu
loads. This would be VERY useful to other people who develop PCI
hardware.
There needs to be a special version of the plugin that interfaces with a
verilog simulator, possibly over a socket, so the Verilog hardware model
can be substituted for the C hardware model. Or so they can be
cosimulated and any discrepancies detected.
I imagine the interface should be modelled very closely on PCI, but not
at the level of individual signals, of course, but rather on the level
of "here's a write of 6 bytes to that address, here's a read, here's a
configuration space write, ..."
Something like that for qemu would be extremely cool and would let
someone like me get started writing the kernel driver.
--
Jesper Juhl <[EMAIL PROTECTED]>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
_______________________________________________
Open-graphics mailing list
[email protected]
http://lists.duskglow.com/mailman/listinfo/open-graphics
List service provided by Duskglow Consulting, LLC (www.duskglow.com)