-
Linux kernel programming
Hi all,
I m new to kernel programming. I am into block device drivers now.
I have written a kernel module that does a mirroring action between 2 scsi disks. Its working fine.
Now i want that module to be called from interrupt level using a system call.
I Should write a user space program to create a system call that initiates my disk_copy.c
I need some inputs.
Please help.
Thanks
-Nakul Sargur
-
I've never done such a thing but have you looked at this:
Implementing Linux System Calls | Linux Journal
Alternatively, you could give your existing module some kind of /dev interface with a protocol for triggering events, and perhaps a userspace lib that implements the protocol.