Re: [uml-user] IRQ simulator

2006-06-14 Thread Jeff Dike
On Wed, Jun 14, 2006 at 02:55:32PM -0500, Nelson Castillo wrote: > Write a module that can manage an interrupt. In this case, you can look at anything which calls um_request_irq, and see what you need to do in order to set up the call - set up the file descriptor that will be causing the interrupt

Re: [uml-user] IRQ simulator

2006-06-14 Thread Nelson Castillo
> > (What sample programs can I read?) > > What exactly are you trying to do? Write a module that can manage an interrupt. And I'd like to use UML for it. I'd like to simulate a hardware device, that might be outside of UML of perhaps compiled in in the kernel. I'm doing some tests with the paral

Re: [uml-user] IRQ simulator

2006-06-14 Thread Jeff Dike
> Can you tell me what should I read both in user space and > kernel space? > > (What sample programs can I read?) What exactly are you trying to do? > I also would like to know if someone had put a device in > > cat /proc/ioports You want your driver to put things in /proc/ioports?