Custom RTEMS task stack location?
gedare at gwmail.gwu.edu
Wed Nov 17 14:06:15 CST 2010
I think this can be done with the User_extensions_thread_create_extension.
How you do it I'm not sure exactly.
With the Class API task create, I don't think that it can be done directly.
However, the functionality is certainly supported from some other
174 status = _Thread_Initialize(
181 _Modes_Is_preempt(initial_modes) ? true : false,
182 _Modes_Is_timeslice(initial_modes) ?
183 THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE :
185 NULL, /* no budget algorithm callout */
187 (Objects_Name) name
The third argument to _Thread_Initialize is interpreted as an initial stack
location, but the classic API does not use the field (POSIX does I believe).
On Wed, Nov 17, 2010 at 2:23 PM, Cudmore, Alan P. (GSFC-5820) <
alan.p.cudmore at nasa.gov> wrote:
> When creating a task, can the stack be allocated from an absolute address
> rather than having RTEMS allocate it from the workspace?
> rtems-users mailing list
> rtems-users at rtems.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rtems-users