字符驱动的mmap函数是这么写的:static int led_mmap (struct file *file, struct vm_area_struct *vma){char *p;int size = vma->vm_end - vma->vm_start;p... 全文

2008-03-28 17:54 来自版块 - LINUX&UNIX核心开发


返回顶部