יום שבת, 9 במרץ 2013

LDD The release method

(int scull_release(struct inode *inode, struct file *filp
{
return 0;
}
flush method is called before the release is called 

Memory allocation in the device drive


use the kmalloc and the kfree


cp /dev/zero /dev/myDevice


starch myDevice


Capture


 


אין תגובות:

הוסף רשומת תגובה