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 229229 #define xStreamBufferReceiveCompletedFromISR MPU_xStreamBufferReceiveCompletedFromISR
230230 #endif /* #if ( configUSE_MPU_WRAPPERS_V1 == 0 ) */
231231
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-
240232 #if ( ( configUSE_MPU_WRAPPERS_V1 == 0 ) && ( configENABLE_ACCESS_CONTROL_LIST == 1 ) )
241233
242234 #define vGrantAccessToTask ( xTask , xTaskToGrantAccess ) vGrantAccessToKernelObject( ( xTask ), ( int32_t ) ( xTaskToGrantAccess ) )
265257
266258 #endif /* #if ( ( configUSE_MPU_WRAPPERS_V1 == 0 ) && ( configENABLE_ACCESS_CONTROL_LIST == 1 ) ) */
267259
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-
275260 #endif /* MPU_WRAPPERS_INCLUDED_FROM_API_FILE */
276261
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+
277266#else /* portUSING_MPU_WRAPPERS */
278267
279268 #define PRIVILEGED_FUNCTION
You can’t perform that action at this time.
0 commit comments