天嵌 ARM开发社区

 找回密码
 注册
查看: 1739|回复: 1

add_timer()出现内核异常。求高手赐教

[复制链接]
xys0610 发表于 2011-10-6 17:28:08 | 显示全部楼层 |阅读模式
extern void __bug(const char *file, int line) __attribute__((noreturn));

/* give file/line information */
#define BUG()                __bug(__FILE__, __LINE__)

#else

/* this just causes an oops */
#define BUG()                do { *(int *)0 = 0; } while (1)


add_timer调用这个。也是我最不理解的地方。根本找不到__bug的定义处。内核异常提示也是在这里出现指针错误。郁闷了。HELP。!~求高手赐教。
亚瑟王 发表于 2011-10-18 17:10:05 | 显示全部楼层
什么东西的代码?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2024-10-1 19:34 , Processed in 1.020547 second(s), 18 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表