ChinaUnix.net
相关文章推荐:

kernel tagged list

在2.4版本中,引入了一种特殊的链表-通用双向链表,它是内核中实现其它链表的基础,也是面向对象的思想在C语言中的应用。在等待队列的实现中多次涉及与此链表相关的内容。 1.通用双向链表 在include/linux/list.h中定义了这种链表: struct list_head { struct list_head *next, *prev; }; 这是双向链表的一个基本框架,在其它使用链表的地方就可以使用它来定义任意一个双向链表,例如: struct foo_list { i...

by Jeffoery - Linux文档专区 - 2009-11-11 17:30:23 阅读(593) 回复(0)

相关讨论

我的3COM4950交换机上作VLAN,用untagged端口可以相互访问,但tagged的端口却不能,请指教!

by 浆胡 - 网络技术 - 2003-08-08 20:57:04 阅读(1023) 回复(4)

我的3COM4950交换机上作VLAN,用untagged端口可以相互访问,但tagged的端口却不能,请指教!

by 浆胡 - 企业网管技术交流区 - 2003-08-08 20:57:04 阅读(2668) 回复(4)

kernel timer_list usage include/linux/timer.h struct timer_list { struct list_head entry; unsigned long expires; spinlock_t lock; unsigned long magic; void (*function)(unsigned long); unsigned long data; struct tvec_t_base_s *base; }; kernel/timer.c struct tvec_t_base_s { spinlock_t lock; unsigned long timer_jiffies; ...

by hhtr001 - Linux文档专区 - 2009-11-11 13:19:19 阅读(913) 回复(0)

where can find kernel TODO list?

by ixp2xxx - 内核源码 - 2008-01-27 11:22:38 阅读(1990) 回复(1)

小的想问,为何kernel的link list function没有thread safe,是因为对list提供thread safe意义不大嘛?? 应该程序员自己找地方加入mutex嘛?? 感谢啦

by wayling - 内核源码 - 2012-10-26 10:12:18 阅读(1235) 回复(2)

请教: 一般是boot loader在最后跳转到kernel之前要完成的: 1. CPU必须处于SVC(supervisor)模式,并且IRQ和FIQ中断都是禁止的; 2. MMU(内存管理单元)必须是关闭的, 此时虚拟地址对物理地址; 3. 数据cache(Data cache)必须是关闭的 4. 指令cache(Instruction cache)可以是打开的,也可以是关闭的,这个没有强制要求; 5. CPU 通用寄存器0 (r0)必须是 0; 6. CPU 通用寄存器1 (r1)...

linuxstart kernel

by hy19830926 - 内核源码 - 2011-11-15 12:15:20 阅读(2597) 回复(2)

编程中出现的错误; 1 variable i 没有定义 int i 2 setVisible拼写错误 import java.awt.*; public class A { public static void main(String args[])throws Exception { Frame f=new Frame ("list Text"); f.setVisible(true); list list=new list(7); TextField tf=new TextField(); list.add("1"); list.add("2"); list.add("3"); list.add("4"); list.add("5"); f.add(list,"Center"); f.add(tf,"...

by xialina - Java文档中心 - 2008-12-03 22:29:34 阅读(1128) 回复(0)

list 的分片(slice) >>> li ['a', 'b', 'mpilgrim', 'z', 'example'] >>> li[1:3] ['b', 'mpilgrim'] >>> li[1:-1] ['b', 'mpilgrim', 'z'] >>> li[0:3] ['a', 'b', 'mpilgrim'] 总的原则是“左包括,右不包括” Slice简写 >>> li ['a', 'b', 'mpilgrim', 'z', 'example'] >>> li[:3] ['a', 'b', 'mpilgrim'] >>> li[3:] ['z', 'example'] >>> li[:] ['a', 'b', 'mpilgrim', 'z', 'example'] extend与append的区别 >>> l...

by exp07 - Linux文档专区 - 2008-06-30 14:40:57 阅读(481) 回复(0)

When compile, is has error show under: Building ccdv Compiling cpufreq.c: [ERROR] /usr/bin/libtool --silent --mode=compile gcc -DVERSION="002" -DPACKAGE="cpufr equtils" -DPACKAGE_BUGREPORT="linux@brodo.de" -D_GNU_SOURCE -pipe -DINTERFACE _PROC -DINTERFACE_SYSFS -Os -fomit-frame-pointer -O3 -pipe -mmmx -msse -msse2 -msse3 -march=pentium4 -...

by mlch1816 - Linux文档专区 - 2008-12-19 14:34:11 阅读(1663) 回复(0)

In the last episode (Nov 10), Jeff Kreska said: > > I am running 5.3-RELEASE I think, it says 5.3-SECURITY in the > > sysinstall prog > > > > I am having a heck of a time getting my newly supped ports > tree to compile. > > Several of the programs are calling libtool with a --tag=CC > and then it fails with the following error: > > libtool15: link: unable to infer tagged configuration > > libt...

by mlch1816 - Linux文档专区 - 2008-12-18 18:56:06 阅读(1076) 回复(0)