This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RedBoot linux exec for i386


On Tue, 2003-10-28 at 10:05, Afchine Madjlessi wrote:
> Hi,
> I applied the redboot linux exec for i386 patch. It applies cleanly,
> but when I run the make I get this error in the file redboot_linux_exec.c:
> CYGHWR_REDBOOT_I386_TRAMPOLINE_ADDRESS undeclared
> 
> Could you explain me what I am missing?

The definition of CYGHWR_REDBOOT_I386_TRAMPOLINE_ADDRESS? :-)

It needs to be defined by the HAL. On my platforms I have (for example):
$ grep TRAMPOLINE packages/hal/i386/gizmo/current/cdl/hal_i386_gizmo.cdl
        puts $::cdl_header "#define CYGHWR_REDBOOT_I386_TRAMPOLINE_ADDRESS 0x7C000"

It's just a small area where a bit of code can be copied to then run. I
imagine 0x7c000 is safe for most platforms.

Ian.

-- 
Ian Campbell, Senior Design Engineer

Arcom, Clifton Road, 			Direct: +44 (0)1223 403 465
Cambridge CB1 7EA, United Kingdom	Phone:  +44 (0)1223 411 200


_____________________________________________________________________
The message in this transmission is sent in confidence for the attention of the addressee only and should not be disclosed to any other party. Unauthorised recipients are requested to preserve this confidentiality. Please advise the sender if the addressee is not resident at the receiving end.

This message has been checked for all viruses by MessageLabs Virus Control Centre.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]