Re: Kernel Modules

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

 



> My problem is I have to compile the whole kernel each
> time I make any changes to my code. So I want to
> convert my code to a lodable module. So that I don't
> need to recompile the kernel each time.
> 

Hi Amit,

You can try using the proc file system. It provide APIs for you
to create nodes in /proc and have callback functions in your code
to respond to users reading/writing to them. see include/linux/proc_fs.h

-Etay Meiri
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/



[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