随笔分类 - Linux内核开发
记录Linux内核开发相关内容
Kernel 4.4
Platform:FriendlyARM Smart4418
摘要:一、注册一个平台设备 方法1:platform_device_register 核心数据结构: 1 struct platform_device { 2 const char *name; 3 int id; 4 bool id_auto; 5 struct device dev; 6 u32 nu
阅读全文
摘要:一、Linux定时器主要调用接口 1、定时器数据结构 1 struct timer_list { 2 /* 3 * All fields that change during normal runtime grouped to 4 * the same cacheline 5 */ 6 struct
阅读全文

浙公网安备 33010602011771号