Hi, Please let me know what are all standard criteria to be followed when writing the Bottom Half Interrupt handlers for Device Drivers. Thanks in Advance Thanks n Regards Heerappa |---------+----------------------------> | | Jan Hudec | | | <bulb@ucw.cz> | | | Sent by: Jan | | | 'Bulb' Hudec | | | <bulb@vagabond.cy| | | bernet.cz> | | | | | | | | | 04/29/2003 04:58 | | | PM | | | | |---------+----------------------------> >------------------------------------------------------------------------------------------------------------------------------| | | | To: Heerappa Hunje <hunjeh@celetron.com> | | cc: kernelnewbies@nl.linux.org, linux-mm@kvack.org, William Lee Irwin III <wli@holomorphy.com> | | Subject: Re: questions on swapping | >------------------------------------------------------------------------------------------------------------------------------| On Tue, Apr 29, 2003 at 04:52:36PM +0530, Heerappa Hunje wrote: > Thanks for the information, well i have following difficulties. > 1. How to handle/write the Bottom Half part of Interrupt for Device Drivers > 2. If any error, then the messages during the running of Device Driver > modules where(in which file) they are written by Kernel, or we have to > specify the location/Pathname of file during the implimentation. Kernel prints messages using the printk function. It writes them to the active console and makes them available via a magic file in /proc filesystem where they are picked by klogd and passed to syslogd. printk is specially crafted so that it can be called from any point of kernel (including interrupt context). ------------------------------------------------------------------------------- Jan 'Bulb' Hudec <bulb@ucw.cz> -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/