forked from KolibriOS/kolibrios
Driver example:
- Removed printk. - c_drv.dll file has become smaller than (6kb-> 407b) git-svn-id: svn://kolibrios.org@8704 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
14b216f2e8
commit
3b21d367d3
@ -1,4 +1,3 @@
|
|||||||
#include "linux/kernel.h"
|
|
||||||
#include <ddk.h>
|
#include <ddk.h>
|
||||||
#include <syscall.h>
|
#include <syscall.h>
|
||||||
|
|
||||||
@ -16,6 +15,6 @@ static int __stdcall service_proc(ioctl_t *my_ctl){
|
|||||||
}
|
}
|
||||||
|
|
||||||
unsigned drvEntry(int action, char *cmdline){
|
unsigned drvEntry(int action, char *cmdline){
|
||||||
printk("Driver c_drv.dll loaded!\n");
|
SysMsgBoardStr("Driver c_drv.dll loaded!\n");
|
||||||
return RegService("c_drv", service_proc);
|
return RegService("c_drv", service_proc);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user