Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FreeRTOS/FreeRTOS-Kernel-Partner-Supported-Ports.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--GCC/AVR_AVRDx/port.c14
-rw-r--r--GCC/AVR_AVRDx/portmacro.h2
2 files changed, 0 insertions, 16 deletions
diff --git a/GCC/AVR_AVRDx/port.c b/GCC/AVR_AVRDx/port.c
index fd3e293..3dcceb8 100644
--- a/GCC/AVR_AVRDx/port.c
+++ b/GCC/AVR_AVRDx/port.c
@@ -159,20 +159,6 @@ void vPortYield( void )
/*-----------------------------------------------------------*/
/*
- * Manual context switch callable from ISRs. The first thing
- * we do is save the registers so we can use a naked attribute.
- */
-void vPortYieldFromISR( void ) __attribute__( ( naked ) );
-void vPortYieldFromISR( void )
-{
- portSAVE_CONTEXT();
- vTaskSwitchContext();
- portRESTORE_CONTEXT();
- asm volatile ( "reti" );
-}
-/*-----------------------------------------------------------*/
-
-/*
* Context switch function used by the tick. This must be identical to
* vPortYield() from the call to vTaskSwitchContext() onwards. The only
* difference from vPortYield() is the tick count is incremented as the
diff --git a/GCC/AVR_AVRDx/portmacro.h b/GCC/AVR_AVRDx/portmacro.h
index 7879b64..e5cb655 100644
--- a/GCC/AVR_AVRDx/portmacro.h
+++ b/GCC/AVR_AVRDx/portmacro.h
@@ -95,8 +95,6 @@ typedef unsigned char UBaseType_t;
extern void vPortYield( void ) __attribute__( ( naked ) );
#define portYIELD() vPortYield()
-extern void vPortYieldFromISR( void ) __attribute__( ( naked ) );
-#define portYIELD_FROM_ISR() vPortYieldFromISR()
/*-----------------------------------------------------------*/
/* Task function macros as described on the FreeRTOS.org WEB site. */