On Mon, Jun 12, 2006 at 11:33:59AM -0500, Nelson Castillo wrote:
> I'm writting a device driver. I'd like to use UML with a
> "fake" hardware device that generates IRQs.
>
> In the driver, I need to catch the IRQ, read to the
> device and write to the device.
>
> How can I get started?
Look at an existing driver under arch/um/drivers. What you want to do is
generally pretty simple. IRQs are generated by SIGIO on host file
descriptors and handled through the kernel's normal IRQ mechanism.
Jeff
_______________________________________________
User-mode-linux-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user