Hi

On 10/23/06 14:16, Ashok Kumar wrote:
Hi,

can you tell me the name of the file, which are involved in booting from
"grub" to "startup.c"(now this is well know file for me, that is why i am
preferring this)?

We can start you in the right place and you can use cvs.opensolaris.org
to see who calls what etc.

The start point for Solaris, which the boot load process will jump to
is _start in i86pc/ml/locore.s (assembler - has to be at this point).
_start performs a bunch of hackery to try to work out what variant
of chip it is on, and finishes first by calling mlsetup() and then
main() - there should be no return from main().  main() is in
common/os/main.c and it will call startup() in startup.c as well
as a bunch of other things before creating the initial system and
user processes (among which is init which will perform the higher
level system startup in terms of services).

Hope that helps.

Gavin
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to