mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-10 16:17:44 -04:00
Merge branch 'main' into blocking_buffer
This commit is contained in:
commit
49d9b84803
24 changed files with 174 additions and 31 deletions
|
@ -60,6 +60,12 @@
|
||||||
#if ( configTOTAL_MPU_REGIONS == 16 )
|
#if ( configTOTAL_MPU_REGIONS == 16 )
|
||||||
#error 16 MPU regions are not yet supported for this port.
|
#error 16 MPU regions are not yet supported for this port.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef configENABLE_MVE
|
||||||
|
#define configENABLE_MVE 0
|
||||||
|
#elif( configENABLE_MVE != 0 )
|
||||||
|
#error configENABLE_MVE must be left undefined, or defined to 0 for the Cortex-M23.
|
||||||
|
#endif
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -60,6 +60,12 @@
|
||||||
#if ( configTOTAL_MPU_REGIONS == 16 )
|
#if ( configTOTAL_MPU_REGIONS == 16 )
|
||||||
#error 16 MPU regions are not yet supported for this port.
|
#error 16 MPU regions are not yet supported for this port.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef configENABLE_MVE
|
||||||
|
#define configENABLE_MVE 0
|
||||||
|
#elif( configENABLE_MVE != 0 )
|
||||||
|
#error configENABLE_MVE must be left undefined, or defined to 0 for the Cortex-M23.
|
||||||
|
#endif
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -57,6 +57,13 @@
|
||||||
#include "portmacrocommon.h"
|
#include "portmacrocommon.h"
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
|
#ifndef configENABLE_MVE
|
||||||
|
#define configENABLE_MVE 0
|
||||||
|
#elif( configENABLE_MVE != 0 )
|
||||||
|
#error configENABLE_MVE must be left undefined, or defined to 0 for the Cortex-M33.
|
||||||
|
#endif
|
||||||
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Critical section management.
|
* @brief Critical section management.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -57,6 +57,13 @@
|
||||||
#include "portmacrocommon.h"
|
#include "portmacrocommon.h"
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
|
#ifndef configENABLE_MVE
|
||||||
|
#define configENABLE_MVE 0
|
||||||
|
#elif( configENABLE_MVE != 0 )
|
||||||
|
#error configENABLE_MVE must be left undefined, or defined to 0 for the Cortex-M33.
|
||||||
|
#endif
|
||||||
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Critical section management.
|
* @brief Critical section management.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -57,6 +57,13 @@
|
||||||
#include "portmacrocommon.h"
|
#include "portmacrocommon.h"
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
|
#ifndef configENABLE_MVE
|
||||||
|
#define configENABLE_MVE 0
|
||||||
|
#elif( configENABLE_MVE != 0 )
|
||||||
|
#error configENABLE_MVE must be left undefined, or defined to 0 for the Cortex-M35.
|
||||||
|
#endif
|
||||||
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Critical section management.
|
* @brief Critical section management.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -60,6 +60,12 @@
|
||||||
#if ( configTOTAL_MPU_REGIONS == 16 )
|
#if ( configTOTAL_MPU_REGIONS == 16 )
|
||||||
#error 16 MPU regions are not yet supported for this port.
|
#error 16 MPU regions are not yet supported for this port.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef configENABLE_MVE
|
||||||
|
#define configENABLE_MVE 0
|
||||||
|
#elif( configENABLE_MVE != 0 )
|
||||||
|
#error configENABLE_MVE must be left undefined, or defined to 0 for the Cortex-M23.
|
||||||
|
#endif
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -60,6 +60,12 @@
|
||||||
#if ( configTOTAL_MPU_REGIONS == 16 )
|
#if ( configTOTAL_MPU_REGIONS == 16 )
|
||||||
#error 16 MPU regions are not yet supported for this port.
|
#error 16 MPU regions are not yet supported for this port.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef configENABLE_MVE
|
||||||
|
#define configENABLE_MVE 0
|
||||||
|
#elif( configENABLE_MVE != 0 )
|
||||||
|
#error configENABLE_MVE must be left undefined, or defined to 0 for the Cortex-M23.
|
||||||
|
#endif
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -62,6 +62,13 @@
|
||||||
#include "portmacrocommon.h"
|
#include "portmacrocommon.h"
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
|
#ifndef configENABLE_MVE
|
||||||
|
#define configENABLE_MVE 0
|
||||||
|
#elif( configENABLE_MVE != 0 )
|
||||||
|
#error configENABLE_MVE must be left undefined, or defined to 0 for the Cortex-M33.
|
||||||
|
#endif
|
||||||
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Critical section management.
|
* @brief Critical section management.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -60,6 +60,13 @@
|
||||||
#if ( configTOTAL_MPU_REGIONS == 16 )
|
#if ( configTOTAL_MPU_REGIONS == 16 )
|
||||||
#error 16 MPU regions are not yet supported for this port.
|
#error 16 MPU regions are not yet supported for this port.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef configENABLE_MVE
|
||||||
|
#define configENABLE_MVE 0
|
||||||
|
#elif( configENABLE_MVE != 0 )
|
||||||
|
#error configENABLE_MVE must be left undefined, or defined to 0 for the Cortex-M33.
|
||||||
|
#endif
|
||||||
|
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -60,6 +60,12 @@
|
||||||
#if ( configTOTAL_MPU_REGIONS == 16 )
|
#if ( configTOTAL_MPU_REGIONS == 16 )
|
||||||
#error 16 MPU regions are not yet supported for this port.
|
#error 16 MPU regions are not yet supported for this port.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef configENABLE_MVE
|
||||||
|
#define configENABLE_MVE 0
|
||||||
|
#elif( configENABLE_MVE != 0 )
|
||||||
|
#error configENABLE_MVE must be left undefined, or defined to 0 for the Cortex-M35.
|
||||||
|
#endif
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -60,6 +60,12 @@
|
||||||
#if ( configTOTAL_MPU_REGIONS == 16 )
|
#if ( configTOTAL_MPU_REGIONS == 16 )
|
||||||
#error 16 MPU regions are not yet supported for this port.
|
#error 16 MPU regions are not yet supported for this port.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef configENABLE_MVE
|
||||||
|
#define configENABLE_MVE 0
|
||||||
|
#elif( configENABLE_MVE != 0 )
|
||||||
|
#error configENABLE_MVE must be left undefined, or defined to 0 for the Cortex-M23.
|
||||||
|
#endif
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -60,6 +60,12 @@
|
||||||
#if ( configTOTAL_MPU_REGIONS == 16 )
|
#if ( configTOTAL_MPU_REGIONS == 16 )
|
||||||
#error 16 MPU regions are not yet supported for this port.
|
#error 16 MPU regions are not yet supported for this port.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef configENABLE_MVE
|
||||||
|
#define configENABLE_MVE 0
|
||||||
|
#elif( configENABLE_MVE != 0 )
|
||||||
|
#error configENABLE_MVE must be left undefined, or defined to 0 for the Cortex-M23.
|
||||||
|
#endif
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -57,6 +57,13 @@
|
||||||
#include "portmacrocommon.h"
|
#include "portmacrocommon.h"
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
|
#ifndef configENABLE_MVE
|
||||||
|
#define configENABLE_MVE 0
|
||||||
|
#elif( configENABLE_MVE != 0 )
|
||||||
|
#error configENABLE_MVE must be left undefined, or defined to 0 for the Cortex-M33.
|
||||||
|
#endif
|
||||||
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Critical section management.
|
* @brief Critical section management.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -57,6 +57,13 @@
|
||||||
#include "portmacrocommon.h"
|
#include "portmacrocommon.h"
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
|
#ifndef configENABLE_MVE
|
||||||
|
#define configENABLE_MVE 0
|
||||||
|
#elif( configENABLE_MVE != 0 )
|
||||||
|
#error configENABLE_MVE must be left undefined, or defined to 0 for the Cortex-M33.
|
||||||
|
#endif
|
||||||
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Critical section management.
|
* @brief Critical section management.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -57,6 +57,13 @@
|
||||||
#include "portmacrocommon.h"
|
#include "portmacrocommon.h"
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
|
#ifndef configENABLE_MVE
|
||||||
|
#define configENABLE_MVE 0
|
||||||
|
#elif( configENABLE_MVE != 0 )
|
||||||
|
#error configENABLE_MVE must be left undefined, or defined to 0 for the Cortex-M35.
|
||||||
|
#endif
|
||||||
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Critical section management.
|
* @brief Critical section management.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -57,6 +57,13 @@
|
||||||
#include "portmacrocommon.h"
|
#include "portmacrocommon.h"
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
|
#ifndef configENABLE_MVE
|
||||||
|
#define configENABLE_MVE 0
|
||||||
|
#elif( configENABLE_MVE != 0 )
|
||||||
|
#error configENABLE_MVE must be left undefined, or defined to 0 for the Cortex-M35.
|
||||||
|
#endif
|
||||||
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Critical section management.
|
* @brief Critical section management.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -60,6 +60,12 @@
|
||||||
#if ( configTOTAL_MPU_REGIONS == 16 )
|
#if ( configTOTAL_MPU_REGIONS == 16 )
|
||||||
#error 16 MPU regions are not yet supported for this port.
|
#error 16 MPU regions are not yet supported for this port.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef configENABLE_MVE
|
||||||
|
#define configENABLE_MVE 0
|
||||||
|
#elif( configENABLE_MVE != 0 )
|
||||||
|
#error configENABLE_MVE must be left undefined, or defined to 0 for the Cortex-M23.
|
||||||
|
#endif
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -60,6 +60,12 @@
|
||||||
#if ( configTOTAL_MPU_REGIONS == 16 )
|
#if ( configTOTAL_MPU_REGIONS == 16 )
|
||||||
#error 16 MPU regions are not yet supported for this port.
|
#error 16 MPU regions are not yet supported for this port.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef configENABLE_MVE
|
||||||
|
#define configENABLE_MVE 0
|
||||||
|
#elif( configENABLE_MVE != 0 )
|
||||||
|
#error configENABLE_MVE must be left undefined, or defined to 0 for the Cortex-M23.
|
||||||
|
#endif
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -62,6 +62,13 @@
|
||||||
#include "portmacrocommon.h"
|
#include "portmacrocommon.h"
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
|
#ifndef configENABLE_MVE
|
||||||
|
#define configENABLE_MVE 0
|
||||||
|
#elif( configENABLE_MVE != 0 )
|
||||||
|
#error configENABLE_MVE must be left undefined, or defined to 0 for the Cortex-M33.
|
||||||
|
#endif
|
||||||
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Critical section management.
|
* @brief Critical section management.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -60,6 +60,13 @@
|
||||||
#if ( configTOTAL_MPU_REGIONS == 16 )
|
#if ( configTOTAL_MPU_REGIONS == 16 )
|
||||||
#error 16 MPU regions are not yet supported for this port.
|
#error 16 MPU regions are not yet supported for this port.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef configENABLE_MVE
|
||||||
|
#define configENABLE_MVE 0
|
||||||
|
#elif( configENABLE_MVE != 0 )
|
||||||
|
#error configENABLE_MVE must be left undefined, or defined to 0 for the Cortex-M33.
|
||||||
|
#endif
|
||||||
|
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -60,6 +60,12 @@
|
||||||
#if ( configTOTAL_MPU_REGIONS == 16 )
|
#if ( configTOTAL_MPU_REGIONS == 16 )
|
||||||
#error 16 MPU regions are not yet supported for this port.
|
#error 16 MPU regions are not yet supported for this port.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef configENABLE_MVE
|
||||||
|
#define configENABLE_MVE 0
|
||||||
|
#elif( configENABLE_MVE != 0 )
|
||||||
|
#error configENABLE_MVE must be left undefined, or defined to 0 for the Cortex-M35.
|
||||||
|
#endif
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -60,6 +60,12 @@
|
||||||
#if ( configTOTAL_MPU_REGIONS == 16 )
|
#if ( configTOTAL_MPU_REGIONS == 16 )
|
||||||
#error 16 MPU regions are not yet supported for this port.
|
#error 16 MPU regions are not yet supported for this port.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef configENABLE_MVE
|
||||||
|
#define configENABLE_MVE 0
|
||||||
|
#elif( configENABLE_MVE != 0 )
|
||||||
|
#error configENABLE_MVE must be left undefined, or defined to 0 for the Cortex-M35.
|
||||||
|
#endif
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
40
portable/ThirdParty/GCC/ATmega/port.c
vendored
40
portable/ThirdParty/GCC/ATmega/port.c
vendored
|
@ -100,11 +100,11 @@ extern volatile TCB_t * volatile pxCurrentTCB;
|
||||||
{
|
{
|
||||||
__asm__ __volatile__ (
|
__asm__ __volatile__ (
|
||||||
"in __tmp_reg__,__SREG__" "\n\t"
|
"in __tmp_reg__,__SREG__" "\n\t"
|
||||||
"cli" "\n\t"
|
"cli" "\n\t"
|
||||||
"wdr" "\n\t"
|
"wdr" "\n\t"
|
||||||
"out %0, %1" "\n\t"
|
"out %0, %1" "\n\t"
|
||||||
"out __SREG__,__tmp_reg__" "\n\t"
|
"out __SREG__,__tmp_reg__" "\n\t"
|
||||||
"out %0, %2" "\n\t"
|
"out %0, %2" "\n\t"
|
||||||
: /* no outputs */
|
: /* no outputs */
|
||||||
: "I" ( _SFR_IO_ADDR( _WD_CONTROL_REG ) ),
|
: "I" ( _SFR_IO_ADDR( _WD_CONTROL_REG ) ),
|
||||||
"r" ( ( uint8_t ) ( _BV( _WD_CHANGE_BIT ) | _BV( WDE ) ) ),
|
"r" ( ( uint8_t ) ( _BV( _WD_CHANGE_BIT ) | _BV( WDE ) ) ),
|
||||||
|
@ -117,11 +117,11 @@ extern volatile TCB_t * volatile pxCurrentTCB;
|
||||||
{
|
{
|
||||||
__asm__ __volatile__ (
|
__asm__ __volatile__ (
|
||||||
"in __tmp_reg__,__SREG__" "\n\t"
|
"in __tmp_reg__,__SREG__" "\n\t"
|
||||||
"cli" "\n\t"
|
"cli" "\n\t"
|
||||||
"wdr" "\n\t"
|
"wdr" "\n\t"
|
||||||
"sts %0, %1" "\n\t"
|
"sts %0, %1" "\n\t"
|
||||||
"out __SREG__,__tmp_reg__" "\n\t"
|
"out __SREG__,__tmp_reg__" "\n\t"
|
||||||
"sts %0, %2" "\n\t"
|
"sts %0, %2" "\n\t"
|
||||||
: /* no outputs */
|
: /* no outputs */
|
||||||
: "n" ( _SFR_MEM_ADDR( _WD_CONTROL_REG ) ),
|
: "n" ( _SFR_MEM_ADDR( _WD_CONTROL_REG ) ),
|
||||||
"r" ( ( uint8_t ) ( _BV( _WD_CHANGE_BIT ) | _BV( WDE ) ) ),
|
"r" ( ( uint8_t ) ( _BV( _WD_CHANGE_BIT ) | _BV( WDE ) ) ),
|
||||||
|
@ -167,11 +167,11 @@ extern volatile TCB_t * volatile pxCurrentTCB;
|
||||||
{
|
{
|
||||||
__asm__ __volatile__ (
|
__asm__ __volatile__ (
|
||||||
"in __tmp_reg__,__SREG__" "\n\t"
|
"in __tmp_reg__,__SREG__" "\n\t"
|
||||||
"cli" "\n\t"
|
"cli" "\n\t"
|
||||||
"wdr" "\n\t"
|
"wdr" "\n\t"
|
||||||
"out %0, %1" "\n\t"
|
"out %0, %1" "\n\t"
|
||||||
"out __SREG__,__tmp_reg__" "\n\t"
|
"out __SREG__,__tmp_reg__" "\n\t"
|
||||||
"out %0, %2" "\n\t"
|
"out %0, %2" "\n\t"
|
||||||
: /* no outputs */
|
: /* no outputs */
|
||||||
: "I" ( _SFR_IO_ADDR( _WD_CONTROL_REG ) ),
|
: "I" ( _SFR_IO_ADDR( _WD_CONTROL_REG ) ),
|
||||||
"r" ( ( uint8_t ) ( _BV( _WD_CHANGE_BIT ) | _BV( WDE ) ) ),
|
"r" ( ( uint8_t ) ( _BV( _WD_CHANGE_BIT ) | _BV( WDE ) ) ),
|
||||||
|
@ -184,11 +184,11 @@ extern volatile TCB_t * volatile pxCurrentTCB;
|
||||||
{
|
{
|
||||||
__asm__ __volatile__ (
|
__asm__ __volatile__ (
|
||||||
"in __tmp_reg__,__SREG__" "\n\t"
|
"in __tmp_reg__,__SREG__" "\n\t"
|
||||||
"cli" "\n\t"
|
"cli" "\n\t"
|
||||||
"wdr" "\n\t"
|
"wdr" "\n\t"
|
||||||
"sts %0, %1" "\n\t"
|
"sts %0, %1" "\n\t"
|
||||||
"out __SREG__,__tmp_reg__" "\n\t"
|
"out __SREG__,__tmp_reg__" "\n\t"
|
||||||
"sts %0, %2" "\n\t"
|
"sts %0, %2" "\n\t"
|
||||||
: /* no outputs */
|
: /* no outputs */
|
||||||
: "n" ( _SFR_MEM_ADDR( _WD_CONTROL_REG ) ),
|
: "n" ( _SFR_MEM_ADDR( _WD_CONTROL_REG ) ),
|
||||||
"r" ( ( uint8_t ) ( _BV( _WD_CHANGE_BIT ) | _BV( WDE ) ) ),
|
"r" ( ( uint8_t ) ( _BV( _WD_CHANGE_BIT ) | _BV( WDE ) ) ),
|
||||||
|
|
22
portable/ThirdParty/GCC/ATmega/portmacro.h
vendored
22
portable/ThirdParty/GCC/ATmega/portmacro.h
vendored
|
@ -73,20 +73,20 @@ typedef uint8_t UBaseType_t;
|
||||||
|
|
||||||
/* Critical section management. */
|
/* Critical section management. */
|
||||||
|
|
||||||
#define portENTER_CRITICAL() \
|
#define portENTER_CRITICAL() \
|
||||||
__asm__ __volatile__ ( \
|
__asm__ __volatile__ ( \
|
||||||
"in __tmp_reg__, __SREG__" "\n\t" \
|
"in __tmp_reg__, __SREG__" "\n\t" \
|
||||||
"cli" "\n\t" \
|
"cli" "\n\t" \
|
||||||
"push __tmp_reg__" "\n\t" \
|
"push __tmp_reg__" "\n\t" \
|
||||||
::: "memory" \
|
::: "memory" \
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
#define portEXIT_CRITICAL() \
|
#define portEXIT_CRITICAL() \
|
||||||
__asm__ __volatile__ ( \
|
__asm__ __volatile__ ( \
|
||||||
"pop __tmp_reg__" "\n\t" \
|
"pop __tmp_reg__" "\n\t" \
|
||||||
"out __SREG__, __tmp_reg__" "\n\t" \
|
"out __SREG__, __tmp_reg__" "\n\t" \
|
||||||
::: "memory" \
|
::: "memory" \
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue