关于内核反汇编,同时显示源文件
摘要:
写了个platform架构的UART测试驱动,在卸载的时候出了问题,驱动卸载不掉,感觉很奇怪,用户空间使用的rmmod最终会调用kernel/module.c 中的 SYSCALL_DEFINE2(delete_module, const char __user*, name_user, unsigned int, flags)1、按找lsmod显示的模块名查找模块 mod = find_module(name); if (!mod) { ret = -ENOENT; printk("lccdandeion we cant find mod\n"); goto out;}2 阅读全文
posted @ 2013-01-26 17:57 阿加 阅读(1105) 评论(0) 推荐(0) 编辑