mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-20 05:21:59 -04:00
Revert the CM0 port layer exception handler names to the traditional FreeRTOS names as there seem to be two forms of the CMSIS names.
This commit is contained in:
parent
ec18d06ab1
commit
b3a894ca72
|
@ -87,9 +87,9 @@ static void prvSetupTimerInterrupt( void );
|
||||||
/*
|
/*
|
||||||
* Exception handlers.
|
* Exception handlers.
|
||||||
*/
|
*/
|
||||||
void PendSV_Handler( void ) __attribute__ (( naked ));
|
void xPortPendSVHandler( void ) __attribute__ (( naked ));
|
||||||
void SysTick_Handler( void );
|
void xPortSysTickHandler( void );
|
||||||
void SVCall_Handler( void ) __attribute__ (( naked ));
|
void vPortSVCHandler( void ) __attribute__ (( naked ));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Start first task is a separate function so it can be tested in isolation.
|
* Start first task is a separate function so it can be tested in isolation.
|
||||||
|
@ -117,7 +117,7 @@ portSTACK_TYPE *pxPortInitialiseStack( portSTACK_TYPE *pxTopOfStack, pdTASK_CODE
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void SVCall_Handler( void )
|
void vPortSVCHandler( void )
|
||||||
{
|
{
|
||||||
__asm volatile (
|
__asm volatile (
|
||||||
" ldr r3, pxCurrentTCBConst2 \n" /* Restore the context. */
|
" ldr r3, pxCurrentTCBConst2 \n" /* Restore the context. */
|
||||||
|
@ -213,7 +213,7 @@ void vPortExitCritical( void )
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void PendSV_Handler( void )
|
void xPortPendSVHandler( void )
|
||||||
{
|
{
|
||||||
/* This is a naked function. */
|
/* This is a naked function. */
|
||||||
|
|
||||||
|
@ -261,7 +261,7 @@ void PendSV_Handler( void )
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void SysTick_Handler( void )
|
void xPortSysTickHandler( void )
|
||||||
{
|
{
|
||||||
unsigned long ulDummy;
|
unsigned long ulDummy;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue