In the char driver We write the Write Routine. This write routine is mapped in struct file operations . We use copy_from_user macro. this macro has three arguments. first is void* to second is const void* __user form and last … Continue reading
In data structure padding some allocate space is free this case is called is padding. Like a example is as as the structure we take three variable that is int,char,float. This is structure allocate 12 byte space. At the architecture … Continue reading