This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Hitachi SH3 port questions
- To: Brian dot Danilko at instech dot com dot au
- Subject: Re: [ECOS] Hitachi SH3 port questions
- From: Jonathan Larmour <jlarmour at cygnus dot co dot uk>
- Date: Fri, 08 Dec 2000 02:01:53 +0000
- CC: ecos-discuss at sourceware dot cygnus dot com
- Organization: Red Hat UK Ltd.
- References: <14896.11566.873375.609226@elrond.instech.com.au>
Brian.Danilko@instech.com.au wrote:
>
> 1) In packages/hal/sh/arch/current/src/vectors.S there is a reference
> to the symbol cyg_scheduler_sched_lock that always comes up undefined
> in my links. I have to change it to _cyg_scheduler_sched_lock
> (Note the leading underscore) to get it to link. Is this normal?
You're using anoncvs I guess? Try updating your sources to the latest
version.
> 2) In packages/io/serial/current/src/common/serial.c there is check to
> see if some flow control fields should be present in a structure:
>
> static void serial_data_xmt_done(serial_channel *chan, int chars_sent);
> # ifdef CYGOPT_IO_SERIAL_FLOW_CONTROL_HW
> SERIAL_CALLBACKS(cyg_io_serial_callbacks,
> serial_init,
> serial_xmt_char,
>
> My compiler doesn't recognise CYGOPT_IO_SERIAL_FLOW_CONTROL_HW and so
> I ended up replacing it with CYGOPT_IO_SERIAL_SUPPORT_LINE_STATUS
> (which seemed to make more sense and be more consistent anyway).
> Have I missed something?
Nope you're right, it was a typo. I've fixed that in the internal sources
and it will be in the next anoncvs release.
Jifl
--
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow." || These opinions are all my own fault