[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
removing taskvares (was Re: rtems_filesystem_current issues)
- Date: Sun, 27 Oct 2002 11:32:04 +1100
- From: cjohns at cybertec.com.au (Chris Johns)
- Subject: removing taskvares (was Re: rtems_filesystem_current issues)
Till Straumann wrote:
>
> Absolutely - one obvious solution would be attaching something like
>
> struct reent_rtems {
> struct _reent _reent;
> /* could have some padding here *7
> struct userenv uenv;
> }
>
> to the _REENT pointer.
>
I sort of agree. The introduction of a rtems_reent and a rtems_REENT
variable was something I was also considering. We need to keep the code
in the context switcher for the _REENT (_Thread_Set_libc_reent), and add
new code for rtems_REENT (_Thread_Set_rtems_reent). I do not think you
can change the meaning of _REENT without newlib being effected.
It maybe a good time to look at the other uses of taskvars and remove
them. The C++ wrappers, shell, and RPC code.
--
Chris Johns, cjohns at cybertec.com.au