summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* cpukit: Add timespecisnonnegative to Makefile.amHEADmasterRyan Long7 hours1-0/+1
|
* cpu/armv7m: Fix initialization of MPU regionsChristian Mauderer12 hours1-1/+1
| | | | | | | | | | | The write to RBAR didn't have the valid flag set. Therefore the write to RASR had an influence on the previously set region. That means for example that if Region 0 had been enabled but 1 should be disabled due to a size of 0, the previous code would have disabled region 0 instead. This patch fixes that behaviour. Close #4450
* cpu/armv7m: Avoid regions with negative sizeChristian Mauderer12 hours1-1/+1
| | | | | | | Don't initialze regions that have a negative size (for example due to a wrong calculation). Update #4450
* bsps/i386: Update calibration of TSC to be more accurateJan Sommer19 hours1-33/+38
| | | | Closes #4455
* bsps/irq: Change license to BSD-2-ClauseSebastian Huber4 days11-97/+242
| | | | | | | Change license to BSD-2-Clause according to file history and re-licensing agreement. Update #3053.
* rtems: Fix rtems_task_set_affinity() docsSebastian Huber5 days1-1/+1
|
* grlib: Simplify apbuart_inbyte_nonblocking()Sebastian Huber5 days1-5/+5
|
* grlib: Fix apbuart_outbyte_polled() prototypeSebastian Huber5 days2-2/+2
| | | | Callers usually want to output a character.
* grlib: Add apbuart_outbyte_wait()Sebastian Huber5 days6-24/+24
|
* grlib: Remove NL -> CR in apbuart_outbyte_polled()Sebastian Huber5 days6-12/+4
| | | | This is already done in rtems_putc().
* bsps/leon3: Auto initialization for printk()Sebastian Huber5 days1-28/+14
| | | | | | Get rid of the hack to output into the idle stack during the early system initialization. This fixes also a couple of test program failures which fail due to missing output.
* grlib: Add ambapp_plb()Sebastian Huber5 days19-63/+96
| | | | | Replace the global variable ambapp_plb with a function to allow an automatic on demand initialization.
* grlib: Customizable allocation in ambapp_scan()Sebastian Huber5 days2-26/+42
| | | | | Make the memory allocations in ambapp_scan() customizable via the new struct ambapp_context parameter which generalizes the memory copy handler.
* arm: Fix parameter use in AARCH32_PMSA_MEM_ATTR()Sebastian Huber5 days1-1/+1
| | | | Update #4202.
* score: Comment _Thread_queue_Surrender_sticky()Sebastian Huber6 days1-1/+7
| | | | | The change also helps to avoid reports from static analysers since most callers of _Thread_queue_Make_ready_again() check the unblock status.
* Use a common phrase for pointer parametersSebastian Huber7 days14-181/+180
| | | | | | | Mention the type of the pointer in the parameter description. Use the more general term "object" instead of "variable". Update #3993.
* score: Add PER_CPU_DATA_NEED_INITIALIZATION()Sebastian Huber12 days8-55/+118
| | | | | | | | | Make the initialization of the per-CPU data optional. Change license to BSD-2-Clause according to file history and re-licensing agreement. Update #3053.
* splinkersets01: Test linker sets in librarySebastian Huber12 days7-7/+66
| | | | | Make sure that the linker sets work if placed in a library (this is how they are used in RTEMS).
* bsps/sparc: Simplify memory initializationSebastian Huber12 days2-34/+39
| | | | | | | | | | | | | Directly initialize the memory in the start sequence defined by start.S instead of using a system initialization handler. This avoids using the global variable rdb_start which used a memory location which was shared with _ERC32_MEC_Timer_Control_Mirror. This change makes it possible to use _Memory_Allocate() even before the system initialization is started. Change license to BSD-2-Clause according to file history and re-licensing agreement. Update #3053.
* bsps/sparc: Simplify stack initializationSebastian Huber12 days1-28/+21
| | | | | | Initialize the stacks for all processors in one place. Do not rely on Per_CPU_Control::interrupt_stack_high and directly use the statically allocated interrupt stack area.
* bsps/sparc: Unify stack initializationSebastian Huber12 days1-8/+6
| | | | | Initialize the stacks in start.S in one place and identical to _CPU_Context_Initialize().
* bsps/sparc: Remove support to load data sectionSebastian Huber12 days1-32/+4
| | | | | | | | | | | | | | | | | | Remove the support to load the data section and rely on the boot loader. The code is an artifact from the old erc32 days, when we would boot and execute from ROM and the .data had to be copied over to RAM. With leon1/2/3, this is not used anymore as a boot loader is made from the RAM image using a custom tool (mkprom). In SMP configurations, this support was also broken since LEON3_Boot_Cpu (in the data section due to the -1 initialization value) was used quite early in the start sequence. If the data copy is really necessary, then an application can still add this step as a very early system initialization step, since boot_card() and the system initialization loop does not use initialized read-write data (only read-only and BSS data). However, the SMP startup would still not work in this case. A boot loader is a better place to load the sections.
* bsps/sparc: Remove unused __bsp_mem_init symbolSebastian Huber12 days1-1/+1
|
* score: Fix initialization of thread queue contextSebastian Huber12 days6-9/+15
| | | | | | | Set Thread_queue_Context::timeout_absolute in _Thread_queue_Context_set_timeout_argument() to avoid using it uninitialized. The bug was introduced by a89ecaa1a94d49ddae7753d6b83923e9d2a00486.
* sysconf: Remove sysconf(515)Ryan Long12 days2-12/+0
| | | | | | | GCC originally needed this 20 years ago. No longer needed, so it is being removed. Closes #4391
* main_edit.c: get rid of malloc warningRyan Long12 days1-8/+8
| | | | | | A warning was present when building RTEMS that stated that the argument for malloc() exceeded the maximum object size. To get rid of this, I changed many places where 'int' was being used to 'size_t'.
* aarch64: add qemu bsps for cortex-a72Gedare Bloom12 days18-0/+749
| | | | The a72 BSPs are identical to the a53 BSPs just changing a53 to a72.
* futimens.c, utime.c: Remove unnecessary include of <sys/stat.h>.Joel Sherrill12 days2-2/+0
|
* fsnofs01/init.c: Check for ENOENT from utime().Joel Sherrill13 days1-3/+6
| | | | | | The addition of the entire *utime*() family of functions resulted in this call returning ENOENT not ENXIO. This is better aligned with the POSIX definition of the methods.
* score: Remove unused _Per_CPU_Initialize() declSebastian Huber14 days1-7/+0
|
* arm/fvp: Fix integer from pointer without a castSebastian Huber2021-06-071-1/+1
| | | | Update #4202.
* arm/fvp: Remove unused GICv2 BSP optionSebastian Huber2021-06-072-6/+1
| | | | Update #4202.
* cpukit/libdebugger: Fix for sockaddr_in not being initializedHarrison Edward Gerber2021-06-021-1/+1
| | | | | | See also CID 1468684 Closes #4445
* cpukit/libmisc/monitor: Fix src/dest overlap of strcpy in mon-editor.cHarrison Edward Gerber2021-05-281-1/+11
| | | | | | See also CID 1399727 Closes #4444
* Change filesystem utime_h handler to utimens_hRyan Long2021-05-2820-180/+295
| | | | | | | Also updated licenses. Closes #4400 Updates #3899
* psx13: Added tests for utimensat() and futimens()Ryan Long2021-05-282-22/+482
| | | | | | Improved tests for utime() and utimes() and update license. Close #4399
* libcsupport: Implement utimes() in terms of utimensat()Ryan Long2021-05-281-14/+49
| | | | | | | | | utimes() now calls utimensat() to update file access and modification timestamps. Updated license. Closes #4398
* libcsupport: Implement utime() in terms of utimensat()Ryan Long2021-05-281-32/+40
| | | | | | | | | utime() now calls utimensat() to update file access and modification timestamps. Updated license. Closes #4397
* libcsupport: Added futimens() and utimensat()Ryan Long2021-05-287-15/+494
| | | | | | | | | | Created futimens.c and utimensat.c to add support for the POSIX methods futimens() and utimensat(). utime() and utimes() are considered obsolote by POSIX, but RTEMS will continue to support them. Closes #4396
* main_help.c: Do not care what char is returned by getchar()Ryan Long2021-05-281-1/+1
| | | | | | CID 1437650: Unchecked return value from library in rtems_shell_help(). Closes #4291
* main_cp.c: Ignore return value from stat()Ryan Long2021-05-281-0/+6
| | | | | | CID 26051: Unchecked return value from library in main_cp(). Closes #4365
* gen_uuid.c: Ignore return values from fcntl()Ryan Long2021-05-281-0/+6
| | | | | | | CID 1049146: Unchecked return value from library in get_clock(). CID 1049147: Unchecked return value from library in get_random_fd(). Closes #4280
* thread-API: Add rtems_*mutex_try_lockChristian Mauderer2021-05-282-0/+91
| | | | | | This adds a rtems_mutex_try_lock and a rtems_recursive_mutex_try_lock. Update #4440.
* cpukit: Add description of release version numbersChristian Mauderer2021-05-281-0/+21
| | | | | The release version in the git sources doesn't change. Add a note why that is the case.
* score: Add RTEMS_UNREACHABLE() to a groupSebastian Huber2021-05-281-0/+2
|
* spec/aarch64: Add BSPs for real ZynqMP hardwareKinsey Moore2021-05-277-2/+85
| | | | | | | Add the BSPs for running on the ZU3EG Ultrascale+ Zynq MPSoC and alter the option defaults necessary for them to run properly using the standard BOOT.BIN configured for PetaLinux that comes in the Out-of-Box package.
* bsps/aarch64: Add MMU driver to relax alignmentKinsey Moore2021-05-2711-20/+603
| | | | | | | | | | | | | | | Currently, the AArch64 BSPs have a hard time running on real hardware without building the toolchain and the bsps with -mstrict-align in multiple places. Configuring the MMU on these chips allows for unaligned memory accesses for non-device memory which avoids requiring strict alignment in the toolchain and in the BSPs themselves. In writing this driver, it was found that the synchronous exception handling code needed to be rewritten since it relied on clearing SCTLR_EL1 to avoid thread stack misalignments in RTEMS_DEBUG mode. This is now avoided by exactly preserving thread mode stack and flags and the new implementation is compatible with the draft information provided on the mailing list covering the Exception Management API.
* bsps/a53: Increase available RAMKinsey Moore2021-05-271-1/+1
| | | | | | | The default available RAM on the A53 BSP is quite small at 8MB. This bumps that to 128MB to avoid allocation failures in tmcontext01 caused by large allocations on a cache size of 16MB reported by the system registers in QEMU.
* bsps/aarch64: Advertise cache function supportKinsey Moore2021-05-271-0/+10
| | | | | Ensure that cache functions are flagged as usable by the generic cache implementation code.
* bsps/aarch64: Align MVAs consistentlyKinsey Moore2021-05-271-8/+5
| | | | | | This fixes a bug where addresses were not being aligned correctly. Addresses used in cache functions are now aligned consistently using RTEMS_ALIGN_DOWN.