File tree Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Original file line number Diff line number Diff line change 229
229
#define xStreamBufferReceiveCompletedFromISR MPU_xStreamBufferReceiveCompletedFromISR
230
230
#endif /* #if ( configUSE_MPU_WRAPPERS_V1 == 0 ) */
231
231
232
- /* Remove the privileged function macro, but keep the PRIVILEGED_DATA
233
- * macro so applications can place data in privileged access sections
234
- * (useful when using statically allocated objects). */
235
- #define PRIVILEGED_FUNCTION
236
- #define PRIVILEGED_DATA __attribute__( ( section( "privileged_data" ) ) )
237
- #define FREERTOS_SYSTEM_CALL
238
-
239
-
240
232
#if ( ( configUSE_MPU_WRAPPERS_V1 == 0 ) && ( configENABLE_ACCESS_CONTROL_LIST == 1 ) )
241
233
242
234
#define vGrantAccessToTask ( xTask , xTaskToGrantAccess ) vGrantAccessToKernelObject( ( xTask ), ( int32_t ) ( xTaskToGrantAccess ) )
265
257
266
258
#endif /* #if ( ( configUSE_MPU_WRAPPERS_V1 == 0 ) && ( configENABLE_ACCESS_CONTROL_LIST == 1 ) ) */
267
259
268
- #else /* MPU_WRAPPERS_INCLUDED_FROM_API_FILE */
269
-
270
- /* Ensure API functions go in the privileged execution section. */
271
- #define PRIVILEGED_FUNCTION __attribute__( ( section( "privileged_functions" ) ) )
272
- #define PRIVILEGED_DATA __attribute__( ( section( "privileged_data" ) ) )
273
- #define FREERTOS_SYSTEM_CALL __attribute__( ( section( "freertos_system_calls" ) ) )
274
-
275
260
#endif /* MPU_WRAPPERS_INCLUDED_FROM_API_FILE */
276
261
262
+ #define PRIVILEGED_FUNCTION __attribute__( ( section( "privileged_functions" ) ) )
263
+ #define PRIVILEGED_DATA __attribute__( ( section( "privileged_data" ) ) )
264
+ #define FREERTOS_SYSTEM_CALL __attribute__( ( section( "freertos_system_calls" ) ) )
265
+
277
266
#else /* portUSING_MPU_WRAPPERS */
278
267
279
268
#define PRIVILEGED_FUNCTION
You can’t perform that action at this time.
0 commit comments