2016年3月19日

register_chrdev_region

摘要: 1 MKDEV(ma,mi) #define MKDEV(ma,mi) ((ma)<<8 | (mi)) 所以MKDEV(5, 0),最后得到的值为【5*(2的8次幂)+0】,等于1280。2.dev_t 3.MAJOR 和 MINOR 4.major_to_index 5.ERR_PTR,通过指针 阅读全文

posted @ 2016-03-19 22:06 androidstudio 阅读(2000) 评论(0) 推荐(0)

导航