File tree 3 files changed +21
-4
lines changed
3 files changed +21
-4
lines changed Original file line number Diff line number Diff line change 117
117
#if ( configUSE_C_RUNTIME_TLS_SUPPORT == 1 )
118
118
119
119
#ifndef configTLS_BLOCK_TYPE
120
- #error Missing definition: configTLS_BLOCK_TYPE must be defined in FreeRTOSConfig.h when configUSE_C_RUNTIME_TLS_SUPPORT is set to 1.
120
+ #error Missing definition: configTLS_BLOCK_TYPE must be defined when configUSE_C_RUNTIME_TLS_SUPPORT is set to 1.
121
121
#endif
122
122
123
123
#ifndef configINIT_TLS_BLOCK
124
- #error Missing definition: configINIT_TLS_BLOCK must be defined in FreeRTOSConfig.h when configUSE_C_RUNTIME_TLS_SUPPORT is set to 1.
124
+ #error Missing definition: configINIT_TLS_BLOCK must be defined when configUSE_C_RUNTIME_TLS_SUPPORT is set to 1.
125
125
#endif
126
126
127
127
#ifndef configSET_TLS_BLOCK
128
- #error Missing definition: configSET_TLS_BLOCK must be defined in FreeRTOSConfig.h when configUSE_C_RUNTIME_TLS_SUPPORT is set to 1.
128
+ #error Missing definition: configSET_TLS_BLOCK must be defined when configUSE_C_RUNTIME_TLS_SUPPORT is set to 1.
129
+ #endif
130
+
131
+ #ifndef configRESET_TLS_BLOCK
132
+ #error Missing definition: configRESET_TLS_BLOCK must be defined when configUSE_C_RUNTIME_TLS_SUPPORT is set to 1.
129
133
#endif
130
134
131
135
#ifndef configDEINIT_TLS_BLOCK
132
- #error Missing definition: configDEINIT_TLS_BLOCK must be defined in FreeRTOSConfig.h when configUSE_C_RUNTIME_TLS_SUPPORT is set to 1.
136
+ #error Missing definition: configDEINIT_TLS_BLOCK must be defined when configUSE_C_RUNTIME_TLS_SUPPORT is set to 1.
133
137
#endif
134
138
#endif /* if ( configUSE_C_RUNTIME_TLS_SUPPORT == 1 ) */
135
139
Original file line number Diff line number Diff line change 65
65
while( 0 )
66
66
#endif /* configSET_TLS_BLOCK */
67
67
68
+ #ifndef configRESET_TLS_BLOCK
69
+ #define configRESET_TLS_BLOCK () \
70
+ do \
71
+ { \
72
+ _impure_ptr = _global_impure_ptr; \
73
+ } \
74
+ while( 0 )
75
+ #endif /* configRESET_TLS_BLOCK */
76
+
68
77
#ifndef configDEINIT_TLS_BLOCK
69
78
#define configDEINIT_TLS_BLOCK ( xTLSBlock ) \
70
79
do \
Original file line number Diff line number Diff line change 92
92
#define configSET_TLS_BLOCK ( xTLSBlock ) _set_tls( xTLSBlock )
93
93
#endif /* configSET_TLS_BLOCK */
94
94
95
+ #ifndef configRESET_TLS_BLOCK
96
+ #define configRESET_TLS_BLOCK ( xTLSBlock )
97
+ #endif /* configRESET_TLS_BLOCK */
98
+
95
99
#ifndef configDEINIT_TLS_BLOCK
96
100
#define configDEINIT_TLS_BLOCK ( xTLSBlock )
97
101
#endif /* configDEINIT_TLS_BLOCK */
You can’t perform that action at this time.
0 commit comments