Skip to content

Commit

Permalink
Merge branch 'main' into ARMv8-M-port-optimised-task-selection
Browse files Browse the repository at this point in the history
  • Loading branch information
aggarg committed Jul 19, 2023
2 parents c11fab3 + 0d03a93 commit 2d50d8c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
7 changes: 6 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,12 @@ target_compile_options(freertos_kernel PRIVATE
$<$<COMPILE_LANG_AND_ID:C,Clang,GNU>:-Werror>
$<$<COMPILE_LANG_AND_ID:C,Clang>:-Weverything>

# TODO: Add in other Compilers here.
# Suppressions required to build clean with clang.
$<$<COMPILE_LANG_AND_ID:C,Clang>:-Wno-unused-macros>
$<$<COMPILE_LANG_AND_ID:C,Clang>:-Wno-padded>
$<$<COMPILE_LANG_AND_ID:C,Clang>:-Wno-missing-variable-declarations>
$<$<COMPILE_LANG_AND_ID:C,Clang>:-Wno-covered-switch-default>
$<$<COMPILE_LANG_AND_ID:C,Clang>:-Wno-cast-align>
)


Expand Down
12 changes: 6 additions & 6 deletions croutine.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@


/* Lists for ready and blocked co-routines. --------------------*/
static List_t pxReadyCoRoutineLists[ configMAX_CO_ROUTINE_PRIORITIES ]; /*< Prioritised ready co-routines. */
static List_t xDelayedCoRoutineList1; /*< Delayed co-routines. */
static List_t xDelayedCoRoutineList2; /*< Delayed co-routines (two lists are used - one for delays that have overflowed the current tick count. */
static List_t * pxDelayedCoRoutineList = NULL; /*< Points to the delayed co-routine list currently being used. */
static List_t * pxOverflowDelayedCoRoutineList = NULL; /*< Points to the delayed co-routine list currently being used to hold co-routines that have overflowed the current tick count. */
static List_t xPendingReadyCoRoutineList; /*< Holds co-routines that have been readied by an external event. They cannot be added directly to the ready lists as the ready lists cannot be accessed by interrupts. */
static List_t pxReadyCoRoutineLists[ configMAX_CO_ROUTINE_PRIORITIES ]; /**< Prioritised ready co-routines. */
static List_t xDelayedCoRoutineList1; /**< Delayed co-routines. */
static List_t xDelayedCoRoutineList2; /**< Delayed co-routines (two lists are used - one for delays that have overflowed the current tick count. */
static List_t * pxDelayedCoRoutineList = NULL; /**< Points to the delayed co-routine list currently being used. */
static List_t * pxOverflowDelayedCoRoutineList = NULL; /**< Points to the delayed co-routine list currently being used to hold co-routines that have overflowed the current tick count. */
static List_t xPendingReadyCoRoutineList; /**< Holds co-routines that have been readied by an external event. They cannot be added directly to the ready lists as the ready lists cannot be accessed by interrupts. */

/* Other file private variables. --------------------------------*/
CRCB_t * pxCurrentCoRoutine = NULL;
Expand Down
6 changes: 3 additions & 3 deletions portable/ThirdParty/GCC/Posix/utils/wait_for_event.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
*
*/

#ifndef _WAIT_FOR_EVENT_H_
#define _WAIT_FOR_EVENT_H_
#ifndef WAIT_FOR_EVENT_H_
#define WAIT_FOR_EVENT_H_

#include <stdbool.h>
#include <time.h>
Expand All @@ -43,4 +43,4 @@ void event_signal( struct event * ev );



#endif /* ifndef _WAIT_FOR_EVENT_H_ */
#endif /* ifndef WAIT_FOR_EVENT_H_ */

0 comments on commit 2d50d8c

Please sign in to comment.