6/24/2011 5:15:13 PM
前后台的消息管道阻塞住了
这个消息需要同步么?
暂时把同步注释掉
对显示的disable 操作影响到了采集
struct pxafb_info
封装了fb_info 结构体
pxafb_schedule_work
local_irq_save(flags);
保存了中断值,禁掉了中断
不会重复的enable
struct work_struct {
atomic_long_t data;
#define WORK_STRUCT_PENDING 0 /* T if work item pending execution */
#define WORK_STRUCT_NOAUTOREL 1 /* F if work item automatically released on exec */
#define WORK_STRUCT_FLAG_MASK (3UL)
#define WORK_STRUCT_WQ_DATA_MASK (~WORK_STRUCT_FLAG_MASK)
struct list_head entry;
work_func_t func;
};
/**
* schedule_work - put work task in global workqueue
* @work: job to be done
*
* This puts a job in the kernel-global workqueue.
*/
int fastcall schedule_work(struct work_struct *work)
{
return queue_work(keventd_wq, work);
}
放到内核全局的工作队列中
都是将调度函数放到全局队列中去
放的是什么函数?
pxafb_task
是否有移除的行为?
无
是如何来pxafb_disable_controller的
pxa_set_cken
关闭 启用时钟