"Issue" in termiosinitialize.c
Smith, Gene
gene.smith at siemens.com
Fri Oct 15 21:09:16 UTC 2004
This may or may not arise to the level of a bug. The problem was that I
had forgotten to zero out bss section at startup. The function
cpukit/libcsupport/src/termiosinitialze.c
defines a global variable that, in the same file, is assumed to be zero
at startup. Since uninitialized data was not zero'd the termios init
failed for me.
If the variable rtems_termios_ttyMutex had been explicitly set to zero
when defined it would not have mattered if bss was zero'd.
Bug or not a bug?
Diff attached.
-gene
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: termiosinitialize.diff
URL: <http://lists.rtems.org/pipermail/users/attachments/20041015/92e9e567/attachment.ksh>
More information about the users
mailing list