Rev 8703 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8703 | Rev 8704 | ||
---|---|---|---|
Line 1... | Line -... | ||
1 | #include "linux/kernel.h" |
- | |
2 | #include |
1 | #include |
3 | #include |
2 | #include |
Line 4... | Line 3... | ||
4 | 3 | ||
5 | static int __stdcall service_proc(ioctl_t *my_ctl){ |
4 | static int __stdcall service_proc(ioctl_t *my_ctl){ |
Line 14... | Line 13... | ||
14 | *(int*)(my_ctl->output) = c; |
13 | *(int*)(my_ctl->output) = c; |
15 | return 0; |
14 | return 0; |
16 | } |
15 | } |
Line 17... | Line 16... | ||
17 | 16 | ||
18 | unsigned drvEntry(int action, char *cmdline){ |
17 | unsigned drvEntry(int action, char *cmdline){ |
19 | printk("Driver c_drv.dll loaded!\n"); |
18 | SysMsgBoardStr("Driver c_drv.dll loaded!\n"); |
20 | return RegService("c_drv", service_proc); |
19 | return RegService("c_drv", service_proc); |