nasa / osal

The Core Flight System (cFS) Operating System Abstraction Layer (OSAL)
Apache License 2.0
556 stars 217 forks source link

Permit stack allocation from alternative memory pool on VxWorks #1463

Open jphickey opened 5 months ago

jphickey commented 5 months ago

Is your feature request related to a problem? Please describe. VxWorks will invoke malloc() to obtain a stack for new tasks if the OS_TaskCreate() call is passed NULL for a stack pointer. This gets memory from the system heap which is not desirable for some users.

Describe the solution you'd like Allow customization of the pool from which this memory is derived.

Describe alternatives you've considered N/A

Additional context Stakeholder request/need.

Requester Info Joseph Hickey, Vantage Systems, Inc.