Help needed to understand code

Shubhangi Jadhav shubhangi.jadhav at patni.com
Sun Mar 23 23:36:01 CET 2003


Hi,

	Could you please explain to me the complete flow, right from the beginning
of execution of the assembly code. How does the assembly code jump to the C
code ? which is the jump instruction in crt0.base that makes it jump to
c_start.S

Thanks,
Shubhangi

-----Original Message-----
From: Steve Gehlbach [mailto:steve at nexpath.com]
Sent: Monday, March 17, 2003 11:57 PM
To: Shubhangi Jadhav
Cc: linuxbios at clustermatic.org
Subject: Re: Help needed to understand code


Shubhangi Jadhav wrote:
> 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
>

The bottom of crt0.base jumps to c_start.S using loader "magic".
c_start.S runs in ram in the C code address space.  crt0.base runs in rom.

-Steve






More information about the coreboot mailing list