[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
C++ ctors, cdtest.exe, printf and termios oh my!
- Date: Thu, 5 Aug 1999 13:52:29 -0700 (PDT)
- From: tonya at ece.ubc.ca (Tony R. Ambardar)
- Subject: C++ ctors, cdtest.exe, printf and termios oh my!
This is what I originally suspected. However, I believe Rosimildo and Erik
have both successfully run cdtest.exe using interrupt-driven console I/O.
Hence my confusion...
Is this true, Erik, Rosimildo?
I haven't looked closely before, so how does one turn on polling for
general I/O in the x86 BSP's?
Joel, why don't we just change the printf's in cdtest.exe to printk's and
not worry about this any more?
Another place where polling I/O is required is for the various timing
tests. Would using printk in these cases be alright?
____________________________________________________________
/ \
| Tony R. Ambardar | Department of Electrical & |
| M.Sc., M.Eng. | Computer Engineering |
| Email: tonya at ece.ubc.ca | University of British Columbia |
| Ph: (604) 822-2872 | 2356 Main Mall, Vancouver B.C. |
| Fax:(604) 822-5949 | V6T 1Z4 CANADA |
\____________________________________________________________/
On Thu, 5 Aug 1999 joel at OARcorp.com wrote:
>
> You almost answered the question yourself. :)
>
> Your console device driver is interrupt driven. The constructurs are
> being run long before interrupts are enabled at the system level -- even
> before tasking is initiated. If you run the test with polled console
> output, it will avoid this problem.
>
> As has been noted before, most of the RTEMS tests behave best when using
> polled console IO.
>
> Try it again with polled IO
>
> --joel