This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
not able to find the serial_DSR and serial_init functions..
- To: ecos-discuss at sources dot redhat dot com
- Subject: [ECOS] not able to find the serial_DSR and serial_init functions..
- From: Arif dot Abbas at combitechsystems dot com
- Date: Wed, 4 Jul 2001 15:59:26 +0200
Hi again everyone!
I want to add a semaphore that get's incremented for each byte written to my
serialport.
I want this to be able to use the cyg_io_read(), which needs a certain
length of data to
read. And this is where the semaphore comes in the picture.
The read process looks at the semaphore and does cyg_semaphore_trywait() and
increments
one local counter. Thus it gets the number of bytes to read.
To get a semaphore that is encremented for each byte written to the port, I
declare
a semaphore in the serialio.h file.
But what I want to do next is to initialize the semaphore in the serial_init
function and
to increment it in a serial_DSR function.
The problem is that I can't find the serial_init or the serial_DSR
procedures...
I am using a the templates for a nanoEngine, StrongArm CPU. I used the CVS
to
update the repository, and now I can't find the above mentioned functions
for my board/CPU...
Does anyone know where they are? Or if the names of them are changed, what
the new
names are??
Thanks in advance!
Best regards
Arif