• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






youngvoice

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
上一页 1 ··· 7 8 9 10 11 12 13 14 下一页

2015年10月3日

linux 入门
摘要: 参考: http://www.ha97.com/book/lfs-book-6.6/index.html 阅读全文
posted @ 2015-10-03 17:03 youngvoice 阅读(106) 评论(0) 推荐(0)
 
linux 内核根文件系统
摘要: 参考: http://blog.csdn.net/guopeixin/article/details/5962482http://www.yunweipai.com/archives/1184.html 阅读全文
posted @ 2015-10-03 16:39 youngvoice 阅读(142) 评论(0) 推荐(0)
 
linux 命令
摘要: 1. linux 命令分为 bash 内建和 coreutils 包命令。Ubuntu可以方便的获取:sudoapt-getsourcecoreutils sudoapt-getsourcebashred hatrpm -qif path/commond得到commond源代码包下载网站或可以使用... 阅读全文
posted @ 2015-10-03 11:03 youngvoice 阅读(117) 评论(0) 推荐(0)
 
设备访问控制
摘要: 1 、控制情况主要有:2. 独享设备——一次只允许一个用户的一个进程访问(代码参考ldd3)scull 的驱动程序: 需要一个原子变量atomic_t//scull.h#ifndef _SCULL_H_#define _SCULL_H_#include /* needed for the _IOW... 阅读全文
posted @ 2015-10-03 09:30 youngvoice 阅读(365) 评论(0) 推荐(0)
 
linux c 编程相关资料
摘要: 1. linux下的错误定义及其错误捕获:http://blog.csdn.net/tigerjibo/article/details/68198912. 在线 c 系统调用手册 http://c.biancheng.net/cpp/u/hanshu/ 阅读全文
posted @ 2015-10-03 09:09 youngvoice 阅读(131) 评论(0) 推荐(0)
 

2015年10月2日

可移植性
摘要: 1. 内核数据类型:(1) 标准 C 类型 unsigned int(2) 有确定大小的类型 u8,u16,u32(3) 特定内核对象类型_t 阅读全文
posted @ 2015-10-02 09:24 youngvoice 阅读(222) 评论(0) 推荐(0)
 

2015年10月1日

Interrupt handler
摘要: 1.处理器上的中断硬件关系图2. 中断处理例程3. 顶半部与底半部 阅读全文
posted @ 2015-10-01 19:43 youngvoice 阅读(201) 评论(0) 推荐(0)
 

2015年9月29日

硬件通信
摘要: 1. 内存空间与io空间是对 cup 处理器地址空间的划分,在一个 cup的指令体系中内存空间和io空间的访问指令是不一样的。2. 与硬件通信的流程参考 ldd3 实例代码#include #include #include #include #include #include /* pri... 阅读全文
posted @ 2015-09-29 17:03 youngvoice 阅读(336) 评论(0) 推荐(0)
 
内核的定时和延迟
摘要: 1. 定时: 一般是通过在当前 jiffies 上加上一个 delay 得到目标 jiffies ,然后比较目标 jiffies 实现定时。2. 延时: 短延时(一般通过忙等待实现),长延时(一般通过使进程让出处理器的方式实现) 。3. 系统中记录时间的计数器:(1) jiffies ,(2) 处理... 阅读全文
posted @ 2015-09-29 16:50 youngvoice 阅读(211) 评论(0) 推荐(0)
 
memory management
摘要: 1. 高端内存: 内存的物理寻址范围比虚拟寻址范围大的多,有一些内存页不能永久的映射到内核地址空间。2. 高端内存和低端内存是内核对内存物理页的划分。参考:http://ilinuxkernel.com/?p=1013 阅读全文
posted @ 2015-09-29 11:21 youngvoice 阅读(365) 评论(0) 推荐(0)
 
上一页 1 ··· 7 8 9 10 11 12 13 14 下一页