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: Hitachi SH3 port questions


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

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