> -----Original Message----- > From: kernelnewbies-bounce@xxxxxxxxxxxx [mailto:kernelnewbies- > bounce@xxxxxxxxxxxx] On Behalf Of Himanshu Chauhan > Sent: Wednesday, October 06, 2010 11:50 PM > To: Sri Ram Vemulpali > Cc: Kernel-newbies > Subject: Re: Kernel start code > > On Thursday 07 October 2010 04:28 AM, Sri Ram Vemulpali wrote: > > Hi all, > > > > Can anyone, please help me on pointing to kernel boot code > after > > grubs loads the kernel and transfers control to it. > > I want in which files this resides, location. Any explanation > on the > > code or any link would be helpful to me. > > I know this is kind of lousy question, but entry.S is where I > looked > > at. It is overwhelming for me where to start in that file. > > Thanks in advance. > > > > > Hi Sri, > > Use cscope and search for "kernel_entry" symbol. I think its in > arch/$ARCH/boot/head.S or may in in kernel directory. I would recommend refer Linux Kernel Primer- it explains boot process line-by-line for X86 and PPC. http://www.amazon.com/Linux-Kernel-Primer-Top-Down-Architectures/dp/0131181637 > > - Himanshu > -- Thanks, Nilesh ÿô.nÇ·®+%˱éw¦j)pغ{.nÇ·¤z¹Þw°n'¬þÚqªíçbì¸æ·vضm§ÿÿêYÞ¸³ú