This is the mail archive of the
mailing list for the eCos project.
Re: returning to RedBoot after executing ecos application
- From: Mark Salter <msalter at redhat dot com>
- To: stone_john at operamail dot com
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Sat, 10 Jan 2004 09:42:44 -0500 (EST)
- Subject: Re: [ECOS] returning to RedBoot after executing ecos application
- References: <firstname.lastname@example.org>
>>>>> John Stone writes:
> Hi all,
> I am trying ecos/Redboot to work with x86 pc platform that boots from floppy. I would like to return to redboot prompt without calling hal_pc_reset().
> Is there a way to call redboot entry points from ecos application ( e.g returning to do_go)? - i.e a mechanism to call return_to_redboot() from cyg_user_start(). One way is to write redboot.bin addresses of the entry points I am looking for in a header file and use them when my application terminates given that redboot code is not over-written by ecos app?
> I'll appreciate any help and thoughts about how to go about this?
#include <cyg/hal/hal_if.h> // ROM calling interface
should do it as long as the application doesn't do anything to
upset RedBoot while its running.
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss