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:
turbocat 2021-04-29 20:47:26 +00:00
parent 14b216f2e8
commit 3b21d367d3
1 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,3 @@
#include "linux/kernel.h"
#include <ddk.h>
#include <syscall.h>
@ -16,6 +15,6 @@ static int __stdcall service_proc(ioctl_t *my_ctl){
}
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);
}