how does crt0.base move to c_start.S. I did not find any reference to
c_start.S from crt0.base or any other .inc files included in crt0.base

-Shubhangi

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Steve Gehlbach
Sent: Saturday, March 15, 2003 10:44 PM
To: Shubhangi Jadhav
Cc: [EMAIL PROTECTED]
Subject: Re: Help needed to understand code


Shubhangi Jadhav wrote:
> Hi,
>
>       Could anyone tell me what are the .inc files found in the LinuxBIOS
source?
>       Are these generated from the C code (for the sdram code I could see an
> association between the .c and corresponding .inc) and how ?
>

The .inc files are assembly language files that "stack up" or include,
in order, on top of crt0.base.  These execute first, and eventually move
the C-code (and decompress it if necessary) to RAM, ending at c_start.S,
which jumps to the C-code.  The .inc files do things that are necessary
as a prelude to running C, which needs RAM (ie, a stack).

Each .inc file must jump around its data, it is expected to execute top
to bottom and flow to the next file included below it.

-Steve

_______________________________________________
Linuxbios mailing list
[EMAIL PROTECTED]
http://www.clustermatic.org/mailman/listinfo/linuxbios

_______________________________________________
Linuxbios mailing list
[EMAIL PROTECTED]
http://www.clustermatic.org/mailman/listinfo/linuxbios

Reply via email to