- 博客(2)
- 资源 (2)
- 收藏
- 关注
转载 关于linux kernel里的high memory
今天有人问我linux kernel里的high memory是怎么回事,说的比较乱,现在整理下。 high memory只存在于32位kernel下,以下文字都针对32位kernel。 1)什么是high memory,为什么要有high memory Linux人为的把4G虚拟地址空间(32位地址最多寻址4G)分为3G+1G,其中0~3G为
2015-01-26 13:16:43
482
原创 linux 字符驱动设备 驱动代码 测试代码 makefile文件
1.驱动代码 ,此部分的ioctl 就是为了模拟控制编写一个printk函数来代表 代码:led.c /* driver.c */ #include #include #include #include #include #include #include #include #include #include #include
2015-01-20 08:34:50
581
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅