I am not sure this is the right list to post on, but looking at the user
one, it seems those
guys are worried about higher level stuff.
I am trying to fake a PCI device within UML. The plan is to have another
running a hardware simulator of our chip hooked up to the driver which
So far I've been able to replace the pci_config* primitives and got cat
/proc/pci to work,
which is pretty exciting.
There are 3 things I need to virtualize now:
3) register mappings
DMAs are easy. I just need to read and write from the file that holds
the main memory backup.
I did comment out the unlink part of the create_mem_file function in
mem_user.c, and I see 6
files created under /tmp.
One of them is 16MB and I assume that is the physical memory. What are
the other ones? It
seems strange to me that a function called by the main function runs
more than one time (and
it's not in a loop)
I am open to suggestions on how to implement the 3 items up there.
comments are welcome.
PD: my boss wants to do this also for freebsd. Does anyone know of a
similar project on that os?