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 0c7469d commit 3de11c4
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 @@ -142,6 +142,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 3de11c4

Please sign in to comment.