On 9/16/2010 4:40 PM, matthias wrote:
you can put it in a kernel module. have a read at http://lwn.net/Kernel/LDD3/
it's a bit outdate, but should do for the first steps.

2010/9/14 mohit verma<[email protected]>:
hi all,
it is my first time , i am wiriting a simple interrupt handler .how to add
it to system?
Interrupt Handler for what? There must be a hardware device ,
a char driver etc...
i mean ,how can i compile and run this ?
You need not compile the whole kernel. Develop a device driver
( kernel module ) and plug it runtime into your kernel.
do i need to attach it in kernel source code and make changes and then
compile and run kernel each time  or  is there any other way to add this
without whole kernel compilation?
For your kernel module you will require the kernel headers, at least.
Compile your driver against it and 'insmod' it into your kernel.

http://programmermemoir.blogspot.com/2010/05/writing-device-driver-without.html

http://lwn.net/Kernel/LDD3/

Hope this helps.

Thanks.






--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to