This is the mail archive of the ecos-discuss@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]

Re: How to Change Location of "hal_vsr_table"


song x wrote:
> 
> Hi,
> 
> I try to port ecos to Dreamcast. I begin it from cq7750 platform with
> RAM startup mode and without ROM monitor. After building finish, I
> disassemble the test program to check. I find that the location of
> hal_vsr_table is 0x08000000. Dreamcast box don't has memory at this
> area. So I need modify it.
> 
> But I can't find any code that allocate memory for hal_vsr_table or define
> value for it.

It's created in the sh.ld linker script:

CYG_LABEL_DEFN(hal_vsr_table) = CYGHWR_HAL_VSR_TABLE;

and each platform defines CYGHWR_HAL_VSR_TABLE in its CDL.

But in any case, have you seen the Dreamcast port mentioned at
http://sources.redhat.com/ecos/contrib.html ? We are in the process of
incorporating it into our sources right now, and it should be publically
available soon.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine


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