-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cFE Integration candidate: Equuleus-rc1+dev7 #2526
Conversation
Update CFE_ES_CreateChildTask to propagate the user-supplied stack pointer to the underlying OS_TaskCreate call. Also adds a functional test to check that the memory address of a local variable within a child task resides within the expected stack buffer. NOTE: this requires an additional fix to POSIX OSAL to make it work on that platform.
Fix #2516, propagate stack pointer for child tasks
CFE_ES_ExitChildTask(); | ||
} | ||
|
||
void TestCreateChildWithStack(void) |
Check notice
Code scanning / CodeQL
Long function without assertion Note test
#define UT_LOCAL_STACK_SIZE 4096 | ||
static unsigned long UT_LOCAL_STACK[UT_LOCAL_STACK_SIZE]; | ||
|
||
void TestCheckStackPointer(void) |
Check notice
Code scanning / CodeQL
Long function without assertion Note test
* NOTE: The custom stack does not work on RTEMS, test is disabled on that platform | ||
* for the time being (custom stack may be deprecated in future CFE release). | ||
*/ | ||
#ifndef _RTEMS_OS_ |
Check notice
Code scanning / CodeQL
Conditional compilation Note test
Correct two cases where struct variables on the stack were not being properly cleared before use.
Hotfix #2526, add missing memset() for stack variables
Checklist (Please check before submitting)
Describe the contribution
Testing performed
cFS Bundle Checks
cFE Checks
Expected behavior changes
See PRs
System(s) tested on
Ubuntu 20.04
Additional context
Add any other context about the contribution here.
Third party code
If included, identify any third party code and provide text file of license
Contributor Info - All information REQUIRED for consideration of pull request
@jphickey