Skip to content

Commit

Permalink
Fix nasa#274, Cleanup and add doxygen for cfe_psp.h
Browse files Browse the repository at this point in the history
  • Loading branch information
thnkslprpt committed Feb 27, 2023
1 parent 6fceb13 commit 9d3eb05
Show file tree
Hide file tree
Showing 26 changed files with 1,247 additions and 2,090 deletions.
887 changes: 693 additions & 194 deletions fsw/inc/cfe_psp.h

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions fsw/mcp750-vxworks/src/cfe_psp_exception.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,13 +152,12 @@ void CFE_PSP_ExceptionHook(TASK_ID task_id, int vector, void *vpEsf)
}
}

/*
**
** Purpose: This function sets a default exception environment that can be used
**
** Notes: The exception environment is local to each task Therefore this must be
** called for each task that that wants to do floating point and catch exceptions
*/
/*----------------------------------------------------------------
*
* Implemented per public API
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
void CFE_PSP_SetDefaultExceptionEnvironment(void)
{
vxMsrSet(vxMsrGet() | _PPC_MSR_EE | /* enable the external interrupt */
Expand Down
Loading

0 comments on commit 9d3eb05

Please sign in to comment.