/*\r
- FreeRTOS V7.5.2 - Copyright (C) 2013 Real Time Engineers Ltd.\r
+ FreeRTOS V8.1.2 - Copyright (C) 2014 Real Time Engineers Ltd. \r
+ All rights reserved\r
\r
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.\r
\r
the terms of the GNU General Public License (version 2) as published by the\r
Free Software Foundation >>!AND MODIFIED BY!<< the FreeRTOS exception.\r
\r
- >>! NOTE: The modification to the GPL is included to allow you to distribute\r
- >>! a combined work that includes FreeRTOS without being obliged to provide\r
- >>! the source code for proprietary components outside of the FreeRTOS\r
- >>! kernel.\r
+ >>! NOTE: The modification to the GPL is included to allow you to !<<\r
+ >>! distribute a combined work that includes FreeRTOS without being !<<\r
+ >>! obliged to provide the source code for proprietary components !<<\r
+ >>! outside of the FreeRTOS kernel. !<<\r
\r
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY\r
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\r
\r
/* This variable is set in the exception entry code, before\r
vPortExceptionHandler is called. */\r
-unsigned long *pulStackPointerOnFunctionEntry = NULL;\r
+uint32_t *pulStackPointerOnFunctionEntry = NULL;\r
\r
/* This is the structure that is filled with the MicroBlaze context as it\r
existed immediately prior to the exception occurrence. A pointer to this\r
xRegisterDump.ulR29 = mfgpr( R29 );\r
xRegisterDump.ulR30 = mfgpr( R30 );\r
xRegisterDump.ulR31 = mfgpr( R31 );\r
- xRegisterDump.ulR1_SP = ( ( unsigned long ) pulStackPointerOnFunctionEntry ) + portexASM_HANDLER_STACK_FRAME_SIZE;\r
+ xRegisterDump.ulR1_SP = ( ( uint32_t ) pulStackPointerOnFunctionEntry ) + portexASM_HANDLER_STACK_FRAME_SIZE;\r
xRegisterDump.ulEAR = mfear();\r
xRegisterDump.ulESR = mfesr();\r
xRegisterDump.ulEDR = mfedr();\r
/* Also fill in a string that describes what type of exception this is.\r
The string uses the same ID names as defined in the MicroBlaze standard\r
library exception header files. */\r
- switch( ( unsigned long ) pvExceptionID )\r
+ switch( ( uint32_t ) pvExceptionID )\r
{\r
case XEXC_ID_FSL :\r
- xRegisterDump.pcExceptionCause = ( signed char * const ) "XEXC_ID_FSL";\r
+ xRegisterDump.pcExceptionCause = ( int8_t * const ) "XEXC_ID_FSL";\r
break;\r
\r
case XEXC_ID_UNALIGNED_ACCESS :\r
- xRegisterDump.pcExceptionCause = ( signed char * const ) "XEXC_ID_UNALIGNED_ACCESS";\r
+ xRegisterDump.pcExceptionCause = ( int8_t * const ) "XEXC_ID_UNALIGNED_ACCESS";\r
break;\r
\r
case XEXC_ID_ILLEGAL_OPCODE :\r
- xRegisterDump.pcExceptionCause = ( signed char * const ) "XEXC_ID_ILLEGAL_OPCODE";\r
+ xRegisterDump.pcExceptionCause = ( int8_t * const ) "XEXC_ID_ILLEGAL_OPCODE";\r
break;\r
\r
case XEXC_ID_M_AXI_I_EXCEPTION :\r
- xRegisterDump.pcExceptionCause = ( signed char * const ) "XEXC_ID_M_AXI_I_EXCEPTION or XEXC_ID_IPLB_EXCEPTION";\r
+ xRegisterDump.pcExceptionCause = ( int8_t * const ) "XEXC_ID_M_AXI_I_EXCEPTION or XEXC_ID_IPLB_EXCEPTION";\r
break;\r
\r
case XEXC_ID_M_AXI_D_EXCEPTION :\r
- xRegisterDump.pcExceptionCause = ( signed char * const ) "XEXC_ID_M_AXI_D_EXCEPTION or XEXC_ID_DPLB_EXCEPTION";\r
+ xRegisterDump.pcExceptionCause = ( int8_t * const ) "XEXC_ID_M_AXI_D_EXCEPTION or XEXC_ID_DPLB_EXCEPTION";\r
break;\r
\r
case XEXC_ID_DIV_BY_ZERO :\r
- xRegisterDump.pcExceptionCause = ( signed char * const ) "XEXC_ID_DIV_BY_ZERO";\r
+ xRegisterDump.pcExceptionCause = ( int8_t * const ) "XEXC_ID_DIV_BY_ZERO";\r
break;\r
\r
case XEXC_ID_STACK_VIOLATION :\r
- xRegisterDump.pcExceptionCause = ( signed char * const ) "XEXC_ID_STACK_VIOLATION or XEXC_ID_MMU";\r
+ xRegisterDump.pcExceptionCause = ( int8_t * const ) "XEXC_ID_STACK_VIOLATION or XEXC_ID_MMU";\r
break;\r
\r
#if XPAR_MICROBLAZE_0_USE_FPU == 1\r
\r
case XEXC_ID_FPU :\r
- xRegisterDump.pcExceptionCause = ( signed char * const ) "XEXC_ID_FPU see ulFSR value";\r
+ xRegisterDump.pcExceptionCause = ( int8_t * const ) "XEXC_ID_FPU see ulFSR value";\r
break;\r
\r
#endif /* XPAR_MICROBLAZE_0_USE_FPU */\r
\r
void vPortExceptionsInstallHandlers( void )\r
{\r
-static unsigned long ulHandlersAlreadyInstalled = pdFALSE;\r
+static uint32_t ulHandlersAlreadyInstalled = pdFALSE;\r
\r
if( ulHandlersAlreadyInstalled == pdFALSE )\r
{\r