在开发板上实验,《ARM嵌入式Linux设备驱动实例开发》第二章按键的例子,每当按下键盘时,都会导致Oops错误。
retry start
sleep
into isr 18
kernel BUG at mm/vmalloc.c:171!
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c0004000
[00000000] *pgd=00000000
Internal error: Oops: 817 [#1]
Modules linked in: button
CPU: 0 Not tainted (2.6.22.1 #3)
中断函数中不能调用ioremap()!!!!!!!
最新推荐文章于 2021-12-08 15:57:35 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)