Normalize line endings and whitespace in source files

This commit is contained in:
Paul Bartell 2022-11-29 10:36:04 -08:00 committed by Paul Bartell
parent 151fb04ad1
commit 01820d3ed9
574 changed files with 162626 additions and 172362 deletions

2
.github/CODEOWNERS vendored
View file

@ -35,5 +35,3 @@
# directory in the root of your repository and any of its
# subdirectories.
# /docs/ @doctocat

View file

@ -3,4 +3,3 @@ contact_links:
- name: FreeRTOS Community Support Forum
url: https://forums.freertos.org/
about: Please ask and answer questions about FreeRTOS here.

View file

@ -60,4 +60,3 @@ function test {
}
test

View file

@ -4,4 +4,3 @@ new_text=$2
echo "Old text: ${old_text}"
echo "New text: ${new_text}"
grep -rl "${old_text}" . | xargs gsed -i -e '1h;2,$H;$!d;g' -e "s/${old_text}/${new_text}/g"

View file

@ -149,4 +149,3 @@ def main():
if __name__ == '__main__':
exit(main())

View file

@ -78,4 +78,3 @@ jobs:
- name: URL Checker
run: |
bash kernel/.github/actions/url_verifier.sh kernel

View file

@ -5,4 +5,3 @@ URL=https://github.com/FreeRTOS/FreeRTOS-Kernel
IconIndex=0
IDList=
HotKey=0

View file

@ -3051,6 +3051,3 @@ Changes between V1.00 and V1.01
+ Prevent the call to kbhit() in main.c for debug builds as the debugger
seems to have problems stepping over the call. This if for the PC port
only.

View file

@ -242,4 +242,3 @@ uint32_t ulTimerCount = ulClockFrequency / ulTickRateHz;
/*lint +e950 */

View file

@ -95,4 +95,3 @@ typedef unsigned short UBaseType_t;
#define portTASK_FUNCTION( vTaskFunction, vParameters ) void vTaskFunction( void *pvParameters )
#endif /* PORTMACRO_H */

View file

@ -286,4 +286,3 @@ const uint16_t us8254_CTR0_MODE3 = ( uint16_t ) 0x36;
/*lint +e950 */

View file

@ -95,4 +95,3 @@ typedef unsigned short UBaseType_t;
#define portTASK_FUNCTION( vTaskFunction, pvParameters ) void vTaskFunction( void *pvParameters )
#endif /* PORTMACRO_H */

View file

@ -85,4 +85,3 @@ debugger). The true stack pointer is then stored in the bp register. We add
#endif

View file

@ -118,4 +118,3 @@ StackType_t DS_Reg = 0;
return pxTopOfStack;
}
/*-----------------------------------------------------------*/

View file

@ -142,4 +142,3 @@ vPortStartFirstTask: .asmfunc
.endasmfunc
; -----------------------------------------------------------

View file

@ -169,4 +169,3 @@ vPortEnableVFP: .asmfunc
.end
; -----------------------------------------------------------

View file

@ -310,4 +310,3 @@ void vPortExitCritical( void )
#endif /* __TI_VFP_SUPPORT__ */
/*-----------------------------------------------------------*/

View file

@ -227,4 +227,3 @@ vPortInitialiseFPSCR:
pxCurrentTCBConst .word pxCurrentTCB
ulFPUContextConst .word ulTaskHasFPUContext
;-------------------------------------------------------------------------------

View file

@ -115,4 +115,3 @@ extern void vPortYield( void );
#define portTASK_FUNCTION_PROTO(vFunction, pvParameters) void vFunction(void *pvParameters)
#endif /* __PORTMACRO_H__ */

View file

@ -47,8 +47,3 @@
.define "call", call_x
.define "ret", ret_x
.endif

View file

@ -157,4 +157,3 @@ xPortStartScheduler: .asmfunc
;-----------------------------------------------------------
.end

View file

@ -141,4 +141,3 @@ run time stats information is to be displayed. */
#define portLU_PRINTF_SPECIFIER_REQUIRED
#endif /* PORTMACRO_H */

View file

@ -181,4 +181,3 @@ uint32_t ulSavedInterruptMask;
}
portCLEAR_INTERRUPT_MASK_FROM_ISR( ulSavedInterruptMask );
}

View file

@ -127,5 +127,3 @@ _vPortStartFirstTask:
portRESTORE_CONTEXT
.end

View file

@ -110,4 +110,3 @@ extern void vPortClearInterruptMaskFromISR( UBaseType_t );
#endif
#endif /* PORTMACRO_H */

View file

@ -145,4 +145,3 @@ uint32_t ulSavedInterruptMask;
portCLEAR_INTERRUPT_MASK_FROM_ISR( ulSavedInterruptMask );
}
/*-----------------------------------------------------------*/

View file

@ -127,5 +127,3 @@ _vPortStartFirstTask:
portRESTORE_CONTEXT
.end

View file

@ -109,4 +109,3 @@ extern void vPortClearInterruptMaskFromISR( UBaseType_t );
#endif
#endif /* PORTMACRO_H */

View file

@ -234,5 +234,3 @@ void interrupt vPortTickInterrupt( void )
}
#pragma CODE_SEG DEFAULT

View file

@ -200,4 +200,3 @@ typedef unsigned char UBaseType_t;
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )
#endif /* PORTMACRO_H */

View file

@ -236,4 +236,3 @@ volatile uint32_t ulDummy;
portTIMER_REG_BASE_PTR->TC_CCR = TC_SWTRG | TC_CLKEN;
}
/*-----------------------------------------------------------*/

View file

@ -231,4 +231,3 @@ void vPortExitCritical( void )
}
}
}

View file

@ -253,4 +253,3 @@ extern void vPortExitCritical( void );
#endif
#endif /* PORTMACRO_H */

View file

@ -48,4 +48,3 @@
//* \fn AT91F_AIC_ConfigureIt
//* \brief Interrupt Handler Initialization
//*----------------------------------------------------------------------------

File diff suppressed because it is too large Load diff

View file

@ -209,6 +209,3 @@ AT91PS_PITC pxPIT = AT91C_BASE_PITC;
AT91C_BASE_AIC->AIC_IECR = 0x1 << AT91C_ID_SYS;
}
/*-----------------------------------------------------------*/

View file

@ -225,4 +225,3 @@ void vPortExitCritical( void )
}
}
}

View file

@ -247,4 +247,3 @@ extern void vPortExitCritical( void );
#endif
#endif /* PORTMACRO_H */

View file

@ -217,6 +217,3 @@ extern void ( vTickISR )( void );
T0_TCR = portENABLE_TIMER;
}
/*-----------------------------------------------------------*/

View file

@ -224,4 +224,3 @@ extern void vPortExitCritical( void );
#endif
#endif /* PORTMACRO_H */

View file

@ -229,6 +229,3 @@ uint32_t ulCompareMatch;
T0TCR = portENABLE_TIMER;
}
/*-----------------------------------------------------------*/

View file

@ -247,4 +247,3 @@ extern void vPortExitCritical( void );
#endif
#endif /* PORTMACRO_H */

View file

@ -516,4 +516,3 @@ uint32_t ulReturn;
#endif /* configASSERT_DEFINED */
/*-----------------------------------------------------------*/

View file

@ -425,8 +425,3 @@ vApplicationIRQHandlerConst: .word vApplicationIRQHandler
.end

View file

@ -209,4 +209,3 @@ number of bits implemented by the interrupt controller. */
#define portMEMORY_BARRIER() __asm volatile( "" ::: "memory" )
#endif /* PORTMACRO_H */

View file

@ -456,4 +456,3 @@ uint64_t ullPMRValue;
#endif /* configASSERT_DEFINED */
/*-----------------------------------------------------------*/

View file

@ -194,4 +194,3 @@ number of bits implemented by the interrupt controller. */
#define portMEMORY_BARRIER() __asm volatile( "" ::: "memory" )
#endif /* PORTMACRO_H */

View file

@ -317,8 +317,3 @@ ulPortInterruptNestingConst: .word ulPortInterruptNesting
vApplicationFPUSafeIRQHandlerConst: .word vApplicationFPUSafeIRQHandler
.end

View file

@ -206,4 +206,3 @@ number of bits implemented by the interrupt controller. */
#define portMEMORY_BARRIER() __asm volatile( "" ::: "memory" )
#endif /* PORTMACRO_H */

View file

@ -311,8 +311,3 @@ ulPortInterruptNestingConst: .word ulPortInterruptNesting
vApplicationFPUSafeIRQHandlerConst: .word vApplicationFPUSafeIRQHandler
.end

View file

@ -316,5 +316,3 @@ uint32_t ulInitialFPSCR = 0;
__asm volatile ( "FMXR FPSCR, %0" :: "r" (ulInitialFPSCR) : "memory" );
}
/*-----------------------------------------------------------*/

View file

@ -258,8 +258,3 @@ ulPortInterruptNestingConst: .word ulPortInterruptNesting
ulPortYieldRequiredConst: .word ulPortYieldRequired
.end

View file

@ -179,4 +179,3 @@ void vPortTaskUsesFPU( void );
#endif /* PORTMACRO_H */

View file

@ -107,4 +107,3 @@ extern void vPortYield( void ) __attribute__ ( ( naked ) );
#endif
#endif /* PORTMACRO_H */

View file

@ -127,9 +127,3 @@ uint32_t ulSavedInterruptMask;
vTaskSwitchContext();
portCLEAR_INTERRUPT_MASK_FROM_ISR( ulSavedInterruptMask );
}

View file

@ -117,5 +117,3 @@ vPortStartFirstTask:
portRESTORE_CONTEXT
.end

View file

@ -109,4 +109,3 @@ extern void vPortClearInterruptMaskFromISR( UBaseType_t );
#endif
#endif /* PORTMACRO_H */

View file

@ -299,6 +299,3 @@ const uint32_t ulCompareMatch = ( configCPU_CLOCK_HZ / configTICK_RATE_HZ ) / po
TSTR |= portTIMER_CHANNEL;
}
/*-----------------------------------------------------------*/

View file

@ -136,4 +136,3 @@ extern void* pxCurrentTCB; \
#endif
#endif /* PORTMACRO_H */

View file

@ -235,4 +235,3 @@ void vPortTickInterrupt( void )
portISR_TAIL();
}

View file

@ -244,4 +244,3 @@ typedef unsigned char UBaseType_t;
#endif
#endif /* PORTMACRO_H */

View file

@ -671,17 +671,3 @@ void vGenerateYieldInterrupt( void )
{
__asm volatile( portYIELD_INTERRUPT );
}

View file

@ -266,10 +266,3 @@ vPortAPICSpuriousHandler:
.endfunc
.end

View file

@ -289,4 +289,3 @@ above the max system call interrupt priority. */
#endif
#endif /* PORTMACRO_H */

View file

@ -125,4 +125,3 @@ extern void vPortYield( void ) __attribute__ ( ( naked ) );
#endif
#endif /* PORTMACRO_H */

View file

@ -192,7 +192,3 @@ vStartFirstTask:
portRESTORE_CONTEXT

View file

@ -124,4 +124,3 @@ void vTaskSwitchContext();
#endif
#endif /* PORTMACRO_H */

View file

@ -278,6 +278,3 @@ static uint32_t ulHandlersAlreadyInstalled = pdFALSE;
exceptions, or the application defined configuration item
configINSTALL_EXCEPTION_HANDLERS is not set to 1. */
#endif /* ( MICROBLAZE_EXCEPTIONS_ENABLED == 1 ) && ( configINSTALL_EXCEPTION_HANDLERS == 1 ) */

View file

@ -324,6 +324,3 @@ vPortExceptionHandlerEntry:
or r0, r0, r0
#endif /* ( MICROBLAZE_EXCEPTIONS_ENABLED == 1 ) && ( configINSTALL_EXCEPTION_HANDLERS == 1 ) */

View file

@ -367,4 +367,3 @@ void vApplicationExceptionRegisterDump( xPortRegisterDump *xRegisterDump );
#endif
#endif /* PORTMACRO_H */

View file

@ -278,6 +278,3 @@ static uint32_t ulHandlersAlreadyInstalled = pdFALSE;
exceptions, or the application defined configuration item
configINSTALL_EXCEPTION_HANDLERS is not set to 1. */
#endif /* ( MICROBLAZE_EXCEPTIONS_ENABLED == 1 ) && ( configINSTALL_EXCEPTION_HANDLERS == 1 ) */

View file

@ -371,6 +371,3 @@ vPortExceptionHandlerEntry:
or r0, r0, r0
#endif /* ( MICROBLAZE_EXCEPTIONS_ENABLED == 1 ) && ( configINSTALL_EXCEPTION_HANDLERS == 1 ) */

View file

@ -372,4 +372,3 @@ void vApplicationExceptionRegisterDump( xPortRegisterDump *xRegisterDump );
#endif
#endif /* PORTMACRO_H */

View file

@ -206,4 +206,3 @@ int _alt_ic_isr_register(alt_u32 ic_id, alt_u32 irq, alt_isr_func isr,
return rc;
}
/*-----------------------------------------------------------*/

View file

@ -137,4 +137,3 @@ call_scheduler:
.section .exceptions.unknown.user
exceptions_unknown_user:

View file

@ -107,4 +107,3 @@ extern void vTaskExitCritical( void );
#endif
#endif /* PORTMACRO_H */

View file

@ -43,4 +43,3 @@ load the flop context from the buffer. */
extern void vPortRestoreFPURegisters( void * ); \
vPortRestoreFPURegisters( ( void * ) ( pxCurrentTCB->pxTaskTag ) ); \
}

View file

@ -379,5 +379,3 @@ vPortRestoreFPURegisters:
blr
#endif /* configUSE_FPU. */

View file

@ -116,4 +116,3 @@ BaseType_t xPortInstallInterruptHandler( uint8_t ucInterruptID, XInterruptHandle
#endif
#endif /* PORTMACRO_H */

View file

@ -43,4 +43,3 @@ load the flop context from the buffer. */
extern void vPortRestoreFPURegisters( void * ); \
vPortRestoreFPURegisters( ( void * ) ( pxCurrentTCB->pxTaskTag ) ); \
}

View file

@ -379,5 +379,3 @@ vPortRestoreFPURegisters:
blr
#endif /* configUSE_FPU. */

View file

@ -116,4 +116,3 @@ BaseType_t xPortInstallInterruptHandler( uint8_t ucInterruptID, XInterruptHandle
#endif
#endif /* PORTMACRO_H */

View file

@ -124,4 +124,3 @@
POP AX
.endm

View file

@ -209,4 +209,3 @@ const uint16_t usCompareMatch = ( usClockHz / configTICK_RATE_HZ ) + 1UL;
#endif
}
/*-----------------------------------------------------------*/

View file

@ -78,4 +78,3 @@ _vPortTickISR:
reti
.end

View file

@ -119,4 +119,3 @@ extern volatile uint16_t usCriticalNesting; \
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )
#endif /* PORTMACRO_H */

View file

@ -698,4 +698,3 @@ static void prvSetupTimerInterrupt( void )
}
#endif /* configUSE_TICKLESS_IDLE */

View file

@ -147,4 +147,3 @@ void vPortSetIPL( uint32_t ulNewIPL ) __attribute__((naked));
#endif
#endif /* PORTMACRO_H */

View file

@ -69,4 +69,3 @@ It contains two definitions of interrupt priority like the following.
For more information about Renesas RX MCUs, please visit the following URL:
https://www.renesas.com/products/microcontrollers-microprocessors/rx.html

View file

@ -142,4 +142,3 @@ void vPortSetIPL( uint32_t ulNewIPL ) __attribute__((naked));
#endif
#endif /* PORTMACRO_H */

View file

@ -142,4 +142,3 @@ void vPortSetIPL( uint32_t ulNewIPL ) __attribute__((naked));
#endif
#endif /* PORTMACRO_H */

View file

@ -69,4 +69,3 @@ It contains two definitions of interrupt priority like the following.
For more information about Renesas RX MCUs, please visit the following URL:
https://www.renesas.com/products/microcontrollers-microprocessors/rx.html

View file

@ -142,4 +142,3 @@ void vPortSetIPL( uint32_t ulNewIPL ) __attribute__((naked));
#endif
#endif /* PORTMACRO_H */

View file

@ -69,4 +69,3 @@ It contains two definitions of interrupt priority like the following.
For more information about Renesas RX MCUs, please visit the following URL:
https://www.renesas.com/products/microcontrollers-microprocessors/rx.html

View file

@ -69,4 +69,3 @@ It contains two definitions of interrupt priority like the following.
For more information about Renesas RX MCUs, please visit the following URL:
https://www.renesas.com/products/microcontrollers-microprocessors/rx.html

View file

@ -189,10 +189,3 @@ TB_InitTypeDef TB_InitStructure;
TB_Cmd(ENABLE);
}
/*-----------------------------------------------------------*/

View file

@ -176,8 +176,3 @@ void vPortExitCritical( void )
}
}
}

View file

@ -138,5 +138,3 @@ extern void vTaskSwitchContext( void ); \
#endif
#endif /* PORTMACRO_H */

View file

@ -538,5 +538,3 @@ uint32_t uxReturn = 0UL;
return ( uxReturn & portCCPN_MASK );
}
/*-----------------------------------------------------------*/

View file

@ -223,4 +223,3 @@ static void prvSetupTimerInterrupt( void )
TS0 |= 0x0020;
}
/*-----------------------------------------------------------*/

Some files were not shown because too many files have changed in this diff Show more