发布时间:2015-04-21 10:33:53
操作系统:ubuntu10.041,ioremapvoid * __ioremap(unsigned long phys_addr,unsigned long size, unsigned long flags) 参数: phys_addr:要映射的起始的IO地址; size:要映射的空间的大小; flags:要映射的IO空间的和权限有关的标志; 功能: 将一个IO地址空间映射到内核的虚拟地址空间上去,便于访.........【阅读全文】
发布时间:2015-04-21 10:33:26
关于哈希表,在内核里设计两个很重要的数据结构: 哈希链表节点: 点击(此处)折叠或打开 /*Kernel Version : 3.4.x [include/linux/types.h]*/ struct hlist_node { struct hlist_node *next, **pprev;}; .........【阅读全文】
发布时间:2015-03-25 15:09:08
libvirt是用来管理虚拟机或虚拟化功能的软件集合,主要包括:libvirt API,libvirtd进程和virsh工具集三部分。最初的目的是为不同的hypervisor提供统一的管理接口。 The goal of libvirt: to provide a common and stable layer sufficient to securely manage domains on a node, possib.........【阅读全文】