i have done timer with wait_event_interruptible successfully……
implemented busywait delay and processor yielding delay… —————————- revision 1.17 locked by: emblogic; date: 2013/08/07 13:00:03; author: emblogic; state: Exp; lines: +161 -17 implemented delay using busywait method (using cpu_relax). implemented a delay using processor yielding method(using schedule()). working on … Continue reading
revision 1.33 locked by: sampath; date: 2013/08/07 12:03:17; author: sampath; state: Exp; lines: +120 -12 Timers Implementation calculted number of jiffies for char driver operation, used macro time_after to compare jiffie values converted jiffies to seconds and nanoseconds using jiffies_to_timespec … Continue reading
Implemented busy waiting and scheduling…. I am facing problem in timeout, unable to come out of wait_event_timeout…..
RCS file: app11.c,v Working file: app11.c head: 1.2 branch: locks: strict amitdalal: 1.2 access list: symbolic names: keyword substitution: kv total revisions: 2; selected revisions: 2 description: define set_sem_val function define semaphore_p and semaphore_v done this for all 5 applicatin … Continue reading
RCS file: new_lkm.c,v Working file: new_lkm.c head: 1.30 branch: locks: strict root: 1.30 access list: symbolic names: keyword substitution: kv total revisions: 31; selected revisions: 31 description: in this i register many no. of devices that we can provide at … Continue reading
RCS file: ./basicregister.c,v Working file: basicregister.c head: 1.32 branch: locks: strict sampath: 1.22 sampath: 1.32 access list: symbolic names: keyword substitution: kv total revisions: 32; selected revisions: 32 description: Base program for driver Registering the driver into the kernel using … Continue reading
RCS file: new_lkm.c,v Working file: new_lkm.c head: 1.29 branch: locks: strict root: 1.29 access list: symbolic names: keyword substitution: kv total revisions: 30; selected revisions: 30 description: in this i register many no. of devices that we can provide at … Continue reading
successfully done proc implimentation….. RCS file: amit.c,v Working file: amit.c head: 1.20 branch: locks: strict amitdalal: 1.20 access list: symbolic names: keyword substitution: kv total revisions: 20; selected revisions: 20 description: added function of copy from user printk the no … Continue reading
RCS file: ./basicregister.c,v Working file: basicregister.c head: 1.31 branch: locks: strict sampath: 1.22 sampath: 1.31 access list: symbolic names: keyword substitution: kv total revisions: 31; selected revisions: 31 description: Base program for driver Registering the driver into the kernel using … Continue reading
i have implimented the read write close open for 5 application in multithread using semaphore successfully.now i am going to do trim function……………………….. RCS file: app.c,v Working file: app.c head: 1.9 branch: locks: strict amitdalal: 1.9 access list: symbolic … Continue reading
? ARTICLE: CHARACTER DRIVER. Heard so much about Character Driver when i came to Emblogic and now I am working on Character Driver on Linux from last couple of weeks. Driver – As per my knowledge a Driver is basically … Continue reading
Device Drivers can be classified into three basic types: 1.Character driver 2.Block driver 3.Network driver. A character device is one that can be accessed as a stream of bytes i.e. character by character. And code needed make communication possible b/w … Continue reading
Character Device Driver I’ve been working on character device driver since last few days and here i can share what all i have learnt till now. Device drivers are the Loadable Kerenl Modules(LKMs)that can be inserted in the kernel at … Continue reading