summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spcache01 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* testsuites/sptests/sp[a-f*]*: Change license to BSD-2Joel Sherrill2022-04-051-3/+22
| | | | Updates #3053.
* bsps/testsuites/: Scripted embedded brains header file clean upJoel Sherrill2022-03-101-6/+0
| | | | Updates #4625.
* Canonicalize config.h includeSebastian Huber2020-04-161-1/+1
| | | | | | | | Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
* score: Add _CPU_Instruction_no_operation()Sebastian Huber2018-07-201-5/+2
| | | | | This helps to reduce the use of architecture-specific defines throughout the code base.
* testsuite/sptests: Merged nested Makefile.am files into one Makefile.amChris Johns2018-04-101-19/+0
| | | | | | This change is part of the testsuite Makefile.am reorganization. Update #3382
* tests: Use simple console driverSebastian Huber2017-11-061-1/+1
| | | | | Update #3170. Update #3199.
* tests: Remove TEST_INITSebastian Huber2017-10-281-2/+0
| | | | | | | | The TEST_EXTERN is a used only by the system.h style tests and they use CONFIGURE_INIT appropriately. Update #3170. Update #3199.
* testsuite: Use printk for all test output where possible.Chris Johns2017-10-231-0/+2
| | | | | | | | | | - Remove the printf support leaving the direct printk support configured with TESTS_USE_PRINTK and all other output goes via a buffered vsniprintf call to printk. - Control the test's single init for functions and global data with TEST_INIT and not CONFIGURE_INIT. They are now separate. Updates #3170.
* sptests/spcache01: Use standard test IOSebastian Huber2017-07-191-1/+0
| | | | Update #3076.
* spcache01: Instruction cache invalidate workaroundSebastian Huber2017-04-051-4/+41
| | | | | On some systems, the instruction cache invalidation is not allowed by the MMU.
* tests: Fix warningsSebastian Huber2015-03-051-2/+2
|
* Delete CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEMSebastian Huber2014-12-161-2/+0
| | | | This define was superfluous, undocumented and used inconsistently.
* rtems: Add rtems_cache_coherent_allocate()Sebastian Huber2014-11-273-0/+51
| | | | Add rtems_cache_coherent_free() and rtems_cache_coherent_add_area().
* rtems: Move rtems_cache_aligned_malloc()Sebastian Huber2014-11-253-0/+33
| | | | | | Make sure also the size is cache aligned since otherwise we may have some overlap with the next allocation block. A cache invalidate on this area would be fatal.
* sptest/spcache01: New test casesSebastian Huber2014-11-251-0/+4
|
* sptests/spcache01: Make inline assembly conditional to account for OpenRISC ↵Hesham ALMatary2014-08-251-1/+5
| | | | l.nop instruction.
* tests/sptests: Use <rtems/test.h>Sebastian Huber2014-03-251-2/+6
|
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-211-1/+1
|
* score: Add SMP lock profiling supportSebastian Huber2014-03-141-2/+2
|
* score: Add function to destroy SMP locksSebastian Huber2014-03-111-0/+3
|
* score: Add local context to SMP lock APISebastian Huber2014-03-111-22/+25
| | | | | | | | | | | Add a local context structure to the SMP lock API for acquire and release pairs. This context can be used to store the ISR level and profiling information. It may be later used to enable more sophisticated lock algorithms, e.g. MCS locks. There is only one lock that cannot be used with a local context. This is the per-CPU lock since here we would have to transfer the local context through a context switch which is very complicated.
* rtems: Add cache size functionsSebastian Huber2014-02-282-4/+40
| | | | | Add rtems_cache_get_data_cache_size() and rtems_cache_get_instruction_cache_size().
* rtems: Use size_t for cache line sizeSebastian Huber2014-02-281-2/+2
| | | | A cache line cannot have a negative size.
* sptests/spcache01: Detect write-through cacheSebastian Huber2014-02-282-3/+15
|
* sptests/spcache01: New testSebastian Huber2014-02-244-0/+424