where can I find the function "_start"

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

where can I find the function "_start"

ソリューションへジャンプ
1,302件の閲覧回数
chengxiaowei
Contributor I

Hi all!

I'd like to know a simple question about the MQX RTOS Initialization.

At the end of  "boot" function , the code is as follow:

     

       /* Jump to the main process */

           jmp _start

   

  where can I find the definition of "_start' ? I have search all the file in the project, but failed.

0 件の賞賛
返信
1 解決策
1,088件の閲覧回数
JuroV
NXP Employee
NXP Employee

The _start is part of standard library startup block. The library delivered with CodeWarrior.

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,089件の閲覧回数
JuroV
NXP Employee
NXP Employee

The _start is part of standard library startup block. The library delivered with CodeWarrior.

0 件の賞賛
返信
1,088件の閲覧回数
deekay
Contributor I

You can also find the source code for that library, located in the cw dir somewhere. I took the source of the needed thumb code only and skipped the unnecessaryparts for my rtos project . Compiled with gcc in eclipse. Works like a charm.

0 件の賞賛
返信