lkml.org 
[lkml]   [2005]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: 'virtual HW' into kernel (SystemC)
From
Date
On Mer, 2005-09-07 at 12:31 +0200, Màrius Montón wrote:
> At this point, we plan to develop a pci device driver to act as a bridge
> between kernel PCI subsystem and SystemC simulator (in user space).

The first thing that would worry me about such an architecture would be
deadlocks between user space and kernel PCI accesses trapped under
simulation.

If you take a look at Xen or qemu both would give you a way to run the
virtualised simulated device in Linux user space on a sane complete
Linux environment while running a seperate copy of Linux experiencing
the simulated device.

Xen is fast - very fast, qemu is somewhat slower but because it is a JIT
can do accurate tracing and has a lovely well designed API for adding
virtualised drivers, plus nice examples like video cards and a virtual
NE2000.

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-09-07 18:40    [W:1.052 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site