上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 23 下一页
摘要: 学习资料:韦东山第三期 本节为i2c-dev.c流程分析: i2c-dev.c提供了上层直接访问I2C设备的接口,其中包括了I2C控制器的注册,字符设备接口的提供等 i2c-dev.c注册过程: static int __init i2c_dev_init(void) { int res; pr_e 阅读全文
posted @ 2024-03-31 01:21 lethe1203 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 转载文章: https://blog.csdn.net/qq_33141353/article/details/122079018 https://www.cnblogs.com/downey-blog/p/10485596.html#top 此处做个记录,后面会具体分析 阅读全文
posted @ 2024-03-30 21:22 lethe1203 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 学习资料:韦东山第三期 i2c_adapter: nr:第几路i2c总线 xfer:读写操作 struct i2c_adapter { struct module *owner; unsigned int class; /* classes to allow probing for */ const 阅读全文
posted @ 2024-03-30 18:28 lethe1203 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 资料来源:韦东山第三期 SMBus Block读: 对应i2c-tools中的函数:i2c_smbus_read_block_data() SMBus Block写: 对应i2c-tools中的函数:i2c_smbus_write_block_data() I2C Block读: 对应i2c-too 阅读全文
posted @ 2024-03-30 16:22 lethe1203 阅读(73) 评论(0) 推荐(0) 编辑
摘要: 资料来源:韦东山第三期 SMBus: System Management Bus,系统管理总线。 SMBus最初的目的是为智能电池、充电电池、其他微控制器之间的通信链路而定义的。 SMBus也被用来连接各种设备,包括电源相关设备,系统传感器,EEPROM通讯设备等等。 SMBus 为系统和电源管理这 阅读全文
posted @ 2024-03-30 16:14 lethe1203 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 本篇转载于:https://blog.csdn.net/yhb1047818384/article/details/84073838 原文如下: 看过一道linux内核驱动编程的题目,我觉得有点价值。 题目很简单,凭记忆整理了下,代码如下: #include <linux/init.h> #incl 阅读全文
posted @ 2024-03-29 23:21 lethe1203 阅读(2) 评论(0) 推荐(0) 编辑
摘要: Linux性能优化方法:https://blog.csdn.net/a642960662/category_11641226.html 此处记录,后面进行学习分享 阅读全文
posted @ 2024-03-29 22:25 lethe1203 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 进程调度算法:https://blog.csdn.net/weixin_43916755/article/details/124440247 常见的进程调度算法包括以下几种: 先来先服务调度算法(First Come, First Served,FCFS):按照进程到达的先后顺序进行调度,即先到达的 阅读全文
posted @ 2024-03-29 22:24 lethe1203 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 参考资料:https://blog.csdn.net/u014183456/article/details/122031750 内存碎片分为内部碎片和外部碎片 外部碎片(External Fragmentation): 外部碎片是指已分配的内存块之间出现的不连续、无法充分利用的空闲内存空间。 外部碎 阅读全文
posted @ 2024-03-29 22:07 lethe1203 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 转载博客:https://blog.csdn.net/qq_50985215/article/details/127670165 分页、分段的优缺点分析 分页管理它的缺点就是不方便按照逻辑块实现信息的共享和保护 而分段管理,如果段长过大,为其分配很大的连续空间会很不方便,而且还是产生外部碎片 段页式 阅读全文
posted @ 2024-03-29 21:49 lethe1203 阅读(9) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 23 下一页