上一页 1 ··· 112 113 114 115 116 117 118 119 120 ··· 138 下一页
摘要: Accessing PCI Regions PCI devices contain three addressable regions: configuration space, I/O ports, and device memory Configuration Space pci_read_config_[byte|word|dword](struct pci_dev *pdev, int o... 阅读全文
posted @ 2011-06-24 22:53 katago 阅读(238) 评论(0) 推荐(0)
摘要: 功能:将IO地址空间映射到内核的虚拟空间上。 linux-2.6.x/arch/arm/io.h 208 /* 209 * ioremap and friends. 210 * 211 * ioremap takes a PCI memory address, as specified in 212 * Documentation/IO-mapping.txt. 213 * 214 */ 215... 阅读全文
posted @ 2011-06-24 21:35 katago 阅读(3860) 评论(0) 推荐(0)
摘要: 安装 apt-get install qemu-launcher 安装完成后,在 Application/Accessories 系统菜单下,添加了qemu-laucher 的启动项。 查看安装了哪些文件 dpkg -L qemu-launcher 参考http://blog.ccidnet.com/home.php?mod=space&uid=60710&do=blog&id=612280 阅读全文
posted @ 2011-06-24 20:39 katago 阅读(1781) 评论(0) 推荐(0)
摘要: 双网卡不能将ip设置为同一网段,如果设置为同一网段则会出现,网线都插着时,只有A口有作用。只有网线在A口时,两个ip都可以访问。只有网线在B口时,网络无法访问,只有把A口停了才行(ifdown eth0)。 所以,这类情况只要设置不同网段的IP就解决问题了; 阅读全文
posted @ 2011-06-24 12:33 katago 阅读(2348) 评论(0) 推荐(0)
摘要: 在Unix系统下,维护源码版本可以使用很多方法,其中最常用的当然是大名鼎鼎的CVS,但实际上,简单的版本维护工作并没有必要使用复杂的CVS等专门的版本维护工具,Unix标配中的diff和patch工具就完全可以完成代码的简单备份和升级工作。 diff 以"行"为单位比较两个文本文件(也可以是目录比较),并将不同之处以某种格式输出到标准输出上;patch可以读入这种输出,并按照一定指令使源文件 (... 阅读全文
posted @ 2011-06-21 11:31 katago 阅读(374) 评论(0) 推荐(0)
摘要: root@james-desktop:/opt/qt-everywhere/marvell/SDK/linux-2.6.31.8# diff .config-2g config-3g 4c4 < # Sun Jun 19 10:06:59 2011 --- > # Sun Jun 19 10:06:32 2011 363,364c363,364 < # CONFIG_VMSPLIT_3G is n... 阅读全文
posted @ 2011-06-19 10:12 katago 阅读(1485) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/sustzombie/archive/2010/06/12/5667563.aspx 虽然有错误,但是可以参考 http://www.ibm.com/developerworks/library/l-embdev/index.html 阅读全文
posted @ 2011-06-18 23:01 katago 阅读(175) 评论(0) 推荐(0)
摘要: Yo u c a n n o t s p e c i f y __GFP_HIGHMEM to either __get_free_pages() or kmalloc(). Because these both return a logical address, and not a page structure, it is possible that these functions woul... 阅读全文
posted @ 2011-06-18 17:15 katago 阅读(191) 评论(0) 推荐(0)
摘要: CONFIG_MV_INTERNAL_REGS_SELECTIVE_MAPPING=y 选择映射内部寄存器(分散开,每个64K),否则映射1M寄存器空间 sysmap.c文件 #if defined(CONFIG_MV_INTERNAL_REGS_SELECTIVE_MAPPING) /* need to make sure it is big enough to hold all mapping... 阅读全文
posted @ 2011-06-17 23:22 katago 阅读(445) 评论(0) 推荐(0)
摘要: Virtual Memory I: the problem http://en.wikipedia.org/wiki/High_memory http://lwn.net/Articles/75174/ [Posted March 10, 2004 by corbet] This article serves mostly as background to help understand why ... 阅读全文
posted @ 2011-06-17 17:36 katago 阅读(249) 评论(0) 推荐(0)
上一页 1 ··· 112 113 114 115 116 117 118 119 120 ··· 138 下一页