Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#63 closed defect (fixed)

Problem using fcntl in ppc405 platform

Reported by: leonidas.kosmidis@… Owned by: developers
Priority: trivial Component: platforms
Keywords: iFKVNKiMHMZiVkyojV Cc:

Description

Dear developers,

I use the platform you can see in topcell_configuration.TIF and I try to run a simple program which opens a file (test_file) and prints its descriptor (soft/main.c). The execution never reaches the printf as you can see in output file. If I put the line

putchar('\n'); before while (soclib_io_get(base(FD), FD_ACCESS_OP));

in the implementatin of open in fcntl.c it works fine but I then have the same problem if I use read or write. It seems that the processor is polling FD_ACCESS_OP register for ever. Any idea?

Regards, Leonidas

Attachments (2)

fcntl_error_ppc405.zip (12.4 KB) - added by leonidas.kosmidis@… 14 years ago.
fcntl_error_ppc405.tar.gz (11.2 KB) - added by leonidas.kosmidis@… 14 years ago.
updated version

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by leonidas.kosmidis@…

Attachment: fcntl_error_ppc405.zip added

Changed 14 years ago by leonidas.kosmidis@…

Attachment: fcntl_error_ppc405.tar.gz added

updated version

comment:1 Changed 14 years ago by Nicolas Pouillon

Priority: criticaltrivial
Resolution: fixed
Status: newclosed

Thanks for noticing, fixed in [1721].

comment:2 Changed 13 years ago by Chris

Keywords: iFKVNKiMHMZiVkyojV added

Cheers pal. I do aprpecitae the writing.

Note: See TracTickets for help on using tickets.