Re: how to add...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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<mohit89mlnc@xxxxxxxxx>:
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 ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux