This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
What is RedBoot_INIT_TAB,
- To: "'ecos-discuss at sources dot redhat dot com'" <ecos-discuss at sources dot redhat dot com>
- Subject: [ECOS] What is RedBoot_INIT_TAB,
- From: "Narayana, Venkat A." <NarayVA at nsc-msg01 dot network dot com>
- Date: Thu, 31 May 2001 10:35:54 -0500
Hi,
I am trying to make a ROM startup for my XScale based board
and i am getting an error, while single-stepping this code, which is in
main.c/cyg_start fucn:
for (init_entry = __RedBoot_INIT_TAB__; init_entry !=
&__RedBoot_INIT_TAB_END__; init_entry++) {
(*init_entry->fun)();
}
I found that RedBoot_INIT_TAB is defined, in CYG_HAL_TABLE_BEGIN macro,
but by the time i reach the above point, i.e cyg_start function, i haven't
seen anything
which is poulating this Table. So the question is, if no one is putting some
data(actual a
function pointer), the why is it that we are calling init_entry->fun,
function?
Is there something i didn't understood or missed?
Could i choose to call this guy, only when the board is ' warm_reset'?
Your help is greatly appreciated.
Thanks in Advance,
Venkat N.