mirror of
				https://github.com/FreeRTOS/FreeRTOS-Kernel.git
				synced 2025-11-03 18:22:45 -05:00 
			
		
		
		
	Align some Linux and RL78 port types with other ports (#727)
This commit is contained in:
		
							parent
							
								
									3786856b72
								
							
						
					
					
						commit
						785250de45
					
				
					 2 changed files with 9 additions and 9 deletions
				
			
		| 
						 | 
				
			
			@ -136,7 +136,7 @@ uint32_t *pulLocal;
 | 
			
		|||
}
 | 
			
		||||
/*-----------------------------------------------------------*/
 | 
			
		||||
 | 
			
		||||
portBASE_TYPE xPortStartScheduler( void )
 | 
			
		||||
BaseType_t xPortStartScheduler( void )
 | 
			
		||||
{
 | 
			
		||||
    /* Setup the hardware to generate the tick.  Interrupts are disabled when
 | 
			
		||||
    this function is called. */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										10
									
								
								portable/ThirdParty/GCC/Posix/port.c
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								portable/ThirdParty/GCC/Posix/port.c
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -100,10 +100,10 @@ static pthread_once_t hSigSetupThread = PTHREAD_ONCE_INIT;
 | 
			
		|||
static sigset_t xAllSignals;
 | 
			
		||||
static sigset_t xSchedulerOriginalSignalMask;
 | 
			
		||||
static pthread_t hMainThread = ( pthread_t ) NULL;
 | 
			
		||||
static volatile portBASE_TYPE uxCriticalNesting;
 | 
			
		||||
static volatile BaseType_t uxCriticalNesting;
 | 
			
		||||
/*-----------------------------------------------------------*/
 | 
			
		||||
 | 
			
		||||
static portBASE_TYPE xSchedulerEnd = pdFALSE;
 | 
			
		||||
static BaseType_t xSchedulerEnd = pdFALSE;
 | 
			
		||||
/*-----------------------------------------------------------*/
 | 
			
		||||
 | 
			
		||||
static void prvSetupSignalsAndSchedulerPolicy( void );
 | 
			
		||||
| 
						 | 
				
			
			@ -131,7 +131,7 @@ void prvFatalError( const char * pcCall,
 | 
			
		|||
/*
 | 
			
		||||
 * See header file for description.
 | 
			
		||||
 */
 | 
			
		||||
portSTACK_TYPE * pxPortInitialiseStack( StackType_t * pxTopOfStack,
 | 
			
		||||
StackType_t * pxPortInitialiseStack( StackType_t * pxTopOfStack,
 | 
			
		||||
                                     StackType_t * pxEndOfStack,
 | 
			
		||||
                                     TaskFunction_t pxCode,
 | 
			
		||||
                                     void * pvParameters )
 | 
			
		||||
| 
						 | 
				
			
			@ -147,7 +147,7 @@ portSTACK_TYPE * pxPortInitialiseStack( StackType_t * pxTopOfStack,
 | 
			
		|||
     * Store the additional thread data at the start of the stack.
 | 
			
		||||
     */
 | 
			
		||||
    thread = ( Thread_t * ) ( pxTopOfStack + 1 ) - 1;
 | 
			
		||||
    pxTopOfStack = ( portSTACK_TYPE * ) thread - 1;
 | 
			
		||||
    pxTopOfStack = ( StackType_t * ) thread - 1;
 | 
			
		||||
    ulStackSize = ( size_t )( pxTopOfStack + 1 - pxEndOfStack ) * sizeof( *pxTopOfStack );
 | 
			
		||||
 | 
			
		||||
    #ifdef __APPLE__
 | 
			
		||||
| 
						 | 
				
			
			@ -197,7 +197,7 @@ void vPortStartFirstTask( void )
 | 
			
		|||
/*
 | 
			
		||||
 * See header file for description.
 | 
			
		||||
 */
 | 
			
		||||
portBASE_TYPE xPortStartScheduler( void )
 | 
			
		||||
BaseType_t xPortStartScheduler( void )
 | 
			
		||||
{
 | 
			
		||||
    int iSignal;
 | 
			
		||||
    sigset_t xSignals;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue