Skip to content

Commit

Permalink
Fix nasa#170, set exception context size
Browse files Browse the repository at this point in the history
Store the size of the stored data into the exception record on
mcp750-vxworks platform.
  • Loading branch information
jphickey committed Jun 16, 2020
1 parent 4703df2 commit 637d1fa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions fsw/mcp750-vxworks/src/cfe_psp_exception.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,12 @@ void CFE_PSP_ExceptionHook (TASK_ID task_id, int vector, void* vpEsf )
*/
fppSave(&Buffer->context_info.fp);

/*
* Save total size of context info.
* (This PSP always fills the entire structure)
*/
Buffer->context_size = sizeof(Buffer->context_info);

CFE_PSP_Exception_WriteComplete();
}

Expand Down

0 comments on commit 637d1fa

Please sign in to comment.