]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/pdk.git/commit
[OSAL] MISRAC fixes for OSAL module master
authorAsha <x1101668@ti.com>
Mon, 10 Apr 2023 08:39:36 +0000 (14:09 +0530)
committerAsha <x1101668@ti.com>
Wed, 31 May 2023 08:00:49 +0000 (13:30 +0530)
commitebecb03b4bf995787d2977093fa52431c2283ea2
treee67a1f2e1f2c3aa75fceb7935c165de4cba62712
parent2b485e0de1aeaf87c509f5bc674c17949636ef12
[OSAL] MISRAC fixes for OSAL module

Issues with following checker codes are fixed:
- MISRA.ETYPE.ASSIGN.2012
- LV_UNUSED.GEN
- MISRA.ETYPE.CATEGORY.DIFFERENT.2012
- MISRA.ETYPE.COMP.ASSIGN.2012
- MISRA.ETYPE.COMP.CAST.IMPL.WIDER.2012
- MISRA.ETYPE.COMP.CAST.EXPL.WIDER.2012
- MISRA.ETYPE.INAPPR.CAST.2012
- MISRA.EXPR.PARENS.2012
- MISRA.FUNC.MODIFIEDPAR.2012
- MISRA.FUNC.NO_PARAMS
- MISRA.FUNC.NOPROT.DEF.2012
- MISRA.IF.NO_ELSE
- MISRA.INCL.INSIDE
- MISRA.INCR_DECR.SIDEEFF.2012
- MISRA.INIT.PARTIAL.2012
- MISRA.LOGIC.SIDEEFF
- MISRA.STMT.COND.NOT_BOOLEAN.2012
- INVARIANT_CONDITION.UNREACH
- UNINIT.STACK.MIGHT
- UNINIT.STACK.MUST
- MISRA.PPARAM.NEEDS.CONST
- MISRA.ASM.ENCAPS
- MISRA.ETYPE.COMP.CAST.EXPL.WIDER.2012

Signed-off-by: Asha <x1101668@ti.com>
96 files changed:
packages/ti/board/src/j7200_evm/board_clock.c
packages/ti/board/src/j721e_evm/board_clock.c
packages/ti/drv/udma/include/udma_osal.h
packages/ti/drv/udma/unit_test/udma_ut/src/udma_test_misc.c
packages/ti/osal/CacheP.h
packages/ti/osal/ClockP.h
packages/ti/osal/CycleprofilerP.h
packages/ti/osal/EventCombinerP.h
packages/ti/osal/EventP.h
packages/ti/osal/HwiP.h
packages/ti/osal/MutexP.h
packages/ti/osal/RegisterIntr.h
packages/ti/osal/SafeRTOS_MPU.h
packages/ti/osal/SemaphoreP.h
packages/ti/osal/TimerP.h
packages/ti/osal/arch/core/Core_utils.c
packages/ti/osal/arch/core/a53/Arch_util.c
packages/ti/osal/arch/core/a53/CacheP_nonos.c
packages/ti/osal/arch/core/c6x/Arch_util.c
packages/ti/osal/arch/core/c6x/CacheP_nonos.c
packages/ti/osal/arch/core/c7x/Arch_util.c
packages/ti/osal/arch/core/c7x/CacheP_nonos.c
packages/ti/osal/arch/core/m4/Arch_util.c
packages/ti/osal/arch/core/m4/CacheP_nonos.c
packages/ti/osal/arch/core/r5/Arch_util.c
packages/ti/osal/arch/core/r5/CacheP_nonos.c
packages/ti/osal/osal.h
packages/ti/osal/soc/j7200/TimerP_default_a72.c
packages/ti/osal/soc/j7200/TimerP_default_r5f.c
packages/ti/osal/soc/j7200/osal_soc.h
packages/ti/osal/soc/j721e/TimerP_default.c
packages/ti/osal/soc/j721e/freertos_mmu.c
packages/ti/osal/soc/j721e/osal_soc.h
packages/ti/osal/soc/j721s2/TimerP_default.c
packages/ti/osal/soc/j721s2/freertos_mmu.c
packages/ti/osal/soc/j721s2/osal_soc.h
packages/ti/osal/soc/j784s4/TimerP_default.c
packages/ti/osal/soc/j784s4/freertos_mmu.c
packages/ti/osal/soc/j784s4/osal_soc.h
packages/ti/osal/src/freertos/CacheP_freertos_c7x.c
packages/ti/osal/src/freertos/ClockP_freertos.c
packages/ti/osal/src/freertos/EventP_freertos.c
packages/ti/osal/src/freertos/HeapP_freertos.c
packages/ti/osal/src/freertos/HeapP_freertos_internal.c
packages/ti/osal/src/freertos/HwiP_freertos.c
packages/ti/osal/src/freertos/HwiP_freertos_c7x.c
packages/ti/osal/src/freertos/LoadP_freertos.c
packages/ti/osal/src/freertos/MailboxP_freertos.c
packages/ti/osal/src/freertos/MemoryP_freertos.c
packages/ti/osal/src/freertos/MutexP_freertos.c
packages/ti/osal/src/freertos/SemaphoreP_freertos.c
packages/ti/osal/src/freertos/TaskP_freertos.c
packages/ti/osal/src/freertos/Utils_freertos.c
packages/ti/osal/src/linux/HwiP_linux.c
packages/ti/osal/src/linux/SemaphoreP_linux.c
packages/ti/osal/src/nonos/DebugP_nonos.c
packages/ti/osal/src/nonos/EventCombinerP_nonos.c
packages/ti/osal/src/nonos/HwiP_nonos.c
packages/ti/osal/src/nonos/MutexP_nonos.c
packages/ti/osal/src/nonos/Nonos_config.h
packages/ti/osal/src/nonos/QueueP_nonos.c
packages/ti/osal/src/nonos/RegisterIntr_nonos.c
packages/ti/osal/src/nonos/SemaphoreP_nonos.c
packages/ti/osal/src/nonos/Utils_nonos.c
packages/ti/osal/src/nonos/delay/v4/delay.c
packages/ti/osal/src/nonos/timer/v1/TimerP_nonos.c
packages/ti/osal/src/qnx/CacheP_qnx.c
packages/ti/osal/src/qnx/DebugP_qnx.c
packages/ti/osal/src/qnx/HwiP_qnx.c
packages/ti/osal/src/qnx/MutexP_qnx.c
packages/ti/osal/src/qnx/QueueP_qnx.c
packages/ti/osal/src/qnx/RegisterIntr_qnx.c
packages/ti/osal/src/qnx/SemaphoreP_qnx.c
packages/ti/osal/src/qnx/TaskP_qnx.c
packages/ti/osal/src/safertos/ClockP_safertos.c
packages/ti/osal/src/safertos/EventP_safertos.c
packages/ti/osal/src/safertos/HwiP_safertos.c
packages/ti/osal/src/safertos/HwiP_safertos_c7x.c
packages/ti/osal/src/safertos/MailboxP_safertos.c
packages/ti/osal/src/safertos/MutexP_safertos.c
packages/ti/osal/src/safertos/SafeRTOS_aborts_r5f.c
packages/ti/osal/src/safertos/SafeRTOS_config.c
packages/ti/osal/src/safertos/SafeRTOS_config_c66.c
packages/ti/osal/src/safertos/SafeRTOS_config_c7x.c
packages/ti/osal/src/safertos/SafeRTOS_config_r5f.c
packages/ti/osal/src/safertos/SafeRTOS_mpu_r5f.c
packages/ti/osal/src/safertos/SafeRTOS_priv.h
packages/ti/osal/src/safertos/SafeRTOS_utils_j7200_r5f.asm
packages/ti/osal/src/safertos/SafeRTOS_utils_r5f.asm
packages/ti/osal/src/safertos/Safertos_Aborts.h [new file with mode: 0644]
packages/ti/osal/src/safertos/SemaphoreP_SafeRTOS.c
packages/ti/osal/src/safertos/TaskP_SafeRTOS.c
packages/ti/osal/src/safertos/Utils_SafeRTOS.c
packages/ti/osal/src/src_common_safertos.mk
packages/ti/osal/test/src/OSAL_board.h
packages/ti/osal/test/src/main_osal_test.c