Ralf wrote, in response to Tom's question
> > Where is the start of the kernel...
> >
> > I thought it was in mips/arch/kernel/head.S (kernel_entry)
> >
> > The reason I'm confused is that mips/arch/kernel/decstation.S (dec_entry)
> > jumps to kernel_entry.... implying that it should run first....
> > and understandably, it probably should, since all it is, is something
> > that updates variables.
> >
> > So what is the real entry point, if not one of the these two.
>
> kernel_entry in head.S is the real entry point for all machines except
> DECstations which use dec_entry. The trick is just that some additional
> setup has to be done for the DECstations before they can use the normal
> startup routine. Not very nice and will be cleaned up.
Yeah - though I think the change in entry point is handled reasonably
cleanly by using the link script provided in arch/mips/ld.script.dec
Paul
_______________________________________________________________________________
Paul M. Antoine, Net: paul@sw.oz.au
Softway Pty Ltd WWW: www.softway.com.au
PO Box 305, Strawberry Hills, NSW 2012, Australia Tel: +61 2 698 2322
Level 2, 79 Myrtle St, Chippendale, NSW 2008, Australia Fax: +61 2 699 9174
"It is the lack of acceptance of diversity which threatens to
destroy society, NOT the free expression of it." - Me.
|