mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-05-23 21:49:03 -04:00
General maintenance - changing comments and correcting spellings only.
This commit is contained in:
parent
60538c7480
commit
162448f06b
|
@ -89,6 +89,10 @@
|
||||||
#define configINCLUDE_TRACE_RELATED_CLI_COMMANDS 0
|
#define configINCLUDE_TRACE_RELATED_CLI_COMMANDS 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* The function that registers the commands that are defined within this file.
|
||||||
|
*/
|
||||||
|
void vRegisterSampleCLICommands( void );
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Implements the task-stats command.
|
* Implements the task-stats command.
|
||||||
|
|
|
@ -322,7 +322,7 @@ to find the path to the correct portmacro.h file. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if portBYTE_ALIGNMENT == 8
|
#if portBYTE_ALIGNMENT == 8
|
||||||
#define portBYTE_ALIGNMENT_MASK ( 0x0007 )
|
#define portBYTE_ALIGNMENT_MASK ( 0x0007U )
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if portBYTE_ALIGNMENT == 4
|
#if portBYTE_ALIGNMENT == 4
|
||||||
|
|
|
@ -72,7 +72,7 @@
|
||||||
*/
|
*/
|
||||||
typedef void (*TaskFunction_t)( void * );
|
typedef void (*TaskFunction_t)( void * );
|
||||||
|
|
||||||
/* Converts a time in miliseconds to a time in ticks. */
|
/* Converts a time in milliseconds to a time in ticks. */
|
||||||
#define pdMS_TO_TICKS( xTimeInMs ) ( ( ( TickType_t ) xTimeInMs * configTICK_RATE_HZ ) / ( TickType_t ) 1000 )
|
#define pdMS_TO_TICKS( xTimeInMs ) ( ( ( TickType_t ) xTimeInMs * configTICK_RATE_HZ ) / ( TickType_t ) 1000 )
|
||||||
|
|
||||||
#define pdFALSE ( ( BaseType_t ) 0 )
|
#define pdFALSE ( ( BaseType_t ) 0 )
|
||||||
|
|
|
@ -90,6 +90,9 @@ FreeRTOS_SWI_Handler
|
||||||
; vPortRestoreTaskContext is used to start the scheduler.
|
; vPortRestoreTaskContext is used to start the scheduler.
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
vPortRestoreTaskContext
|
vPortRestoreTaskContext
|
||||||
|
|
||||||
|
PRESERVE8
|
||||||
|
|
||||||
; Switch to system mode
|
; Switch to system mode
|
||||||
CPS #SYS_MODE
|
CPS #SYS_MODE
|
||||||
portRESTORE_CONTEXT
|
portRESTORE_CONTEXT
|
||||||
|
@ -99,6 +102,8 @@ vPortRestoreTaskContext
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
FreeRTOS_IRQ_Handler
|
FreeRTOS_IRQ_Handler
|
||||||
|
|
||||||
|
PRESERVE8
|
||||||
|
|
||||||
; Return to the interrupted instruction.
|
; Return to the interrupted instruction.
|
||||||
SUB lr, lr, #4
|
SUB lr, lr, #4
|
||||||
|
|
||||||
|
|
|
@ -2151,11 +2151,13 @@ void vTaskSwitchContext( void )
|
||||||
}
|
}
|
||||||
#endif /* configGENERATE_RUN_TIME_STATS */
|
#endif /* configGENERATE_RUN_TIME_STATS */
|
||||||
|
|
||||||
|
/* Check for stack overflow, if configured. */
|
||||||
taskFIRST_CHECK_FOR_STACK_OVERFLOW();
|
taskFIRST_CHECK_FOR_STACK_OVERFLOW();
|
||||||
taskSECOND_CHECK_FOR_STACK_OVERFLOW();
|
taskSECOND_CHECK_FOR_STACK_OVERFLOW();
|
||||||
|
|
||||||
|
/* Select a new task to run using either the generic C or port
|
||||||
|
optimised asm code. */
|
||||||
taskSELECT_HIGHEST_PRIORITY_TASK();
|
taskSELECT_HIGHEST_PRIORITY_TASK();
|
||||||
|
|
||||||
traceTASK_SWITCHED_IN();
|
traceTASK_SWITCHED_IN();
|
||||||
|
|
||||||
#if ( configUSE_NEWLIB_REENTRANT == 1 )
|
#if ( configUSE_NEWLIB_REENTRANT == 1 )
|
||||||
|
|
Loading…
Reference in a new issue