Guilherme Giácomo Simões
e81ad46b0e
refactor: change methods ENTER|EXIT critical ( #1140 )
...
refactor: change methods ENTER|EXIT critical
The read and write of BaseType_t are atomic for a number of ports
and therefore, do not require taskENTER_CRITICAL/taskEXIT_CRITICAL.
This PR introduces portBASE_TYPE_ENTER_CRITICAL and
portBASE_TYPE_EXIT_CRITICAL which default to taskENTER_CRITICAL
and taskEXIT_CRITICAL. The APIs that read/write BaseType_t are updated
to use these new macros.
The next change would to be to define portBASE_TYPE_ENTER_CRITICAL and
portBASE_TYPE_EXIT_CRITICAL to nothing for ports where BaseType_t
read and write are atomic.
Signed-off-by: guilherme giacomo simoes <trintaeoitogc@gmail.com>
2024-10-07 10:37:50 +05:30
chinglee-iot
fdf4695c1e
Adding SMP coverity example ( #1039 )
...
* Adding SMP coverity example
* Add coverity scan flow
* Fix format
* Update README.md
* Code review suggestions
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
---------
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: Ubuntu <ubuntu@ip-172-31-34-245.ap-northeast-1.compute.internal>
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
2024-04-19 10:18:00 +05:30
chinglee-iot
ccbbf04e5b
Update coverity example README ( #1020 )
...
* Update coverity example README
* Update main.c for comment
---------
Co-authored-by: Ubuntu <ubuntu@ip-172-31-34-245.ap-northeast-1.compute.internal>
2024-04-04 11:59:36 +05:30
chinglee-iot
5dbfd380f0
Add coverity example ( #870 )
...
* Add coverity example
* Update for CI
* Fix for CI 2
* Update kernel_misra.config
* Rename coverity example to coverity
* Update FreeRTOSConfig.h for coverity project
* Update MISRA.md
* Move coverity config to coverity_misra.config
* Update coverity misra config
* Add README.md file
* Update FreeRTOSConfig.h for coverity
* Fix uncrustify and spell
* Update README.md for relative link path
Update README.md for relative link path
* Update README.md for relative link 2
* Update MISRA.md for relateive path
* Fix for format
* Update coverity_misra.config
* Update configuration folder
* Update README.md for link
* Code review suggestions
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
---------
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: Ubuntu <ubuntu@ip-172-31-34-245.ap-northeast-1.compute.internal>
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
Co-authored-by: Soren Ptak <ptaksoren@gmail.com>
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
2023-12-08 00:54:20 +05:30