This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: How to Change Location of "hal_vsr_table"
- To: song x <xsong at hotmail dot com>
- Subject: Re: [ECOS] How to Change Location of "hal_vsr_table"
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Tue, 31 Jul 2001 18:37:21 +0100
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <F75S31mOBO9vw1FYATU0000a97e@hotmail.com>
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