This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: question of __RedBoot_IDLE_TAB__?
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Billking <wangziqing1984 at 163 dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Thu, 31 Jan 2008 10:00:49 +0100
- Subject: Re: [ECOS] question of __RedBoot_IDLE_TAB__?
- References: <15199840.post@talk.nabble.com>
On Thu, Jan 31, 2008 at 12:16:50AM -0800, Billking wrote:
>
> hello everybody:
> I port redboot to a board based ARM7TDMI architecture,but I found pretty
> confused about this classs struct "__RedBoot_IDLE_TAB__",because it have not
> been initialised.But when running redboot it pricesely pointer to
> net_io_test,how does redboot do it.
> any explanation apprieciate!
Its magic!
Well, its just not common C. It uses the GNU linker and some GNU
extensions in gcc.
Take a look at:
hal/common/current/include/hal_tables.h
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss