Re: Regarding IDT

2010-09-19 Thread Manohar Vanga
http://wiki.osdev.org/Interrupt_Descriptor_Table The above link gives an explanation of the various fields in the IDT structure and the Gate entry structure (x86). On Sun, Sep 19, 2010 at 4:49 AM, Sri Ram Vemulpali wrote: > Hi all, > >This question is regarding Interrupt descriptor table. Wh

Re: regarding rcu

2010-09-17 Thread Manohar Vanga
~/src/linux-2.6$ grep -r rcu_read_lock\(void\) * Documentation/RCU/whatisRCU.txt:void rcu_read_lock(void); Documentation/RCU/whatisRCU.txt:void rcu_read_lock(void) Documentation/RCU/whatisRCU.txt:void rcu_read_lock(void) { } *include/linux/rcupdate.h:static inline void rcu_read_lock(voi

Re: question about linked list implementation in kernel.h

2010-09-11 Thread Manohar Vanga
Hey Mohit, This is a feature of GCC (I don't know if it is a part of the standard). Here's the link from the GCC manual: http://gcc.gnu.org/onlinedocs/gcc-4.4.4/gcc/Statement-Exprs.html#Statement-Exprs On Sat, Sep 11, 2010 at 9:49 PM, mohit verma wrote: > thanks a lot manohar , > but please c

Re: question about linked list implementation in kernel.h

2010-09-11 Thread Manohar Vanga
I just made a small example (with comments) to play around with :-) Let me know if you feel something is wrong in my explanations (I'm still learning as well!) Hope it helps! On Sat, Sep 11, 2010 at 6:03 PM, Bond wrote: > I read > I was going through include/linux/kernel.h > encountered followin

Re: the first kernel code written by torvalds

2010-09-10 Thread Manohar Vanga
This is probably what you're looking for: http://www.kernel.org/pub/linux/kernel/Historic/ On Fri, Sep 10, 2010 at 2:16 PM, Tapas Mishra wrote: > Hi, > just Googled > > http://www.google.com/search?client=ubuntu&channel=fs&q=Linuses+kernels+first+code&ie=utf-8&oe=utf-8 > want to know if some one