[ECOS] Hitachi SH3 port questions

Jonathan Larmour jlarmour@cygnus.co.uk
Thu Dec 7 18:02:00 GMT 2000

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

> 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);
> 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.
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

More information about the Ecos-discuss mailing list