summaryrefslogtreecommitdiffstats
path: root/bsps (follow)
Commit message (Collapse)AuthorAgeFilesLines
* grcan.c: Fix Unused value (CID #1437613)Ryan Long2021-03-051-1/+1
| | | | | | | CID 1437613: Unused value in grcan_set_filter(). This fix was recommended by Daniel Hellstrom (daniel@gaisler.com). Closes #4301
* b1553brm.c: Fix Unsigned compared against 0 (CID #1399773)Ryan Long2021-03-051-1/+1
| | | | | | CID 1399773: Unsigned compared against 0 in brm_write(). Closes #4295
* satcan.c: Fix Unsigned compared against 0 (CID #1399768)Ryan Long2021-03-051-12/+4
| | | | | | CID 1399768: Unsigned compared against 0 in satcan_ioctl(). Closes #4294
* gr_cpci_gr740.c: Unchecked return value from library (CID #1437630)Ryan Long2021-03-051-1/+3
| | | | | | CID 1437630: Unchecked return value from library in gr_cpci_gr740_init1(). Closes #4290
* gr_tmtc_1553.c: Unchecked return value from library (CID #1399785)Ryan Long2021-03-051-1/+3
| | | | | | CID 1399785: Unchecked return value from library in gr_tmtc_1553_init1(). Closes #4289
* gr_701.c: Unchecked return value from library (CID #1399783)Ryan Long2021-03-051-1/+3
| | | | | | CID 1399783: Unchecked return value from library in gr701_init1(). Closes #4288
* gr_rasta_adcdac.c: Fix Unchecked return value from library (CID #1399780)Ryan Long2021-03-051-1/+3
| | | | | | CID 1399780: Unchecked return value from library in gr_rasta_adcdac_init1(). Closes #4287
* gr_rasta_tmtc.c: Fix Unchecked return value from library (CID #1399771)Ryan Long2021-03-051-1/+3
| | | | | | CID 1399771: Unchecked return value from library in gr_rasta_tmtc_init1(). Closes #4286
* gr_leon4_n2x.c: Fix Unchecked return value from library (CID #1399767)Ryan Long2021-03-051-1/+3
| | | | | | CID 1399767: Unchecked return value error from library in gr_cpci_leon4_n2x_init1(). Closes #4285
* gr_rasta_io.c: Fix Unchecked return value from library (CID #1399763)Ryan Long2021-03-051-1/+3
| | | | | | CID 1399763: Unchecked return value from library in gr_rasta_io_init1(). Closes #4284
* gr_rasta_spw_router.c: Fix Unchecked return value from library (CID #1399760)Ryan Long2021-03-051-1/+3
| | | | | | CID 1399760: Unchecked return value from library in gr_rasta_spw_router_init1(). Closes #4283
* grtc.c: Fix four Missing break in switch Coverity errorsRyan Long2021-03-051-0/+4
| | | | | | | | | CID 1399761: Missing break in switch in process_dma(). CID 1399765: Missing break in switch in process_dma(). CID 1399766: Missing break in switch in process_dma(). CID 1399777: Missing break in switch in process_dma(). Closes #4277
* grspw.c: Fix Unchecked return value (CID #1399781)Ryan Long2021-03-051-2/+5
| | | | | | CID 1399781: Unchecked return value in grspw_device_init(). Closes #4259
* bsps/shared: Allow setting baud rate for zynq uartJan Sommer2021-03-051-5/+16
|
* bsps/aarch64: Add support for EL2 startKinsey Moore2021-03-051-0/+25
| | | | | Add the stub necessary to boot on AArch64 under EL2 and drop to EL1 for normal operation.
* bsps/aarch64: RTEMS_DEBUG stack alignment faultsKinsey Moore2021-03-051-0/+8
| | | | | | Run with stack alignment faults enabled under RTEMS_DEBUG to catch any stack misalignments early. This makes it easier to track them down should they ever occur.
* bsps: Allow override of ARM TM27 IRQsKinsey Moore2021-03-052-0/+12
| | | | | | ZynqMP hardware appears to have an odd hard-wired SGI implementation in which the SGIs are permanently set as enabled or disabled. Allow the TM27 IRQs to be overridden as necessary.
* bsps/aarch64: Resolve usage of SUBALIGN()Kinsey Moore2021-03-051-4/+2
| | | | | | | | Remove usage of SUBALIGN() in aarch64 linkcmds which works around a difference in behavior on AArch64 platforms. This is no longer necessary since alignment is now enforced explicitly. Closes #4178.
* bsps/beagle: Updating licences to latest BSD 2 clauseJames Fitzsimons2021-03-026-29/+146
|
* bsps/beagle: Adding QEP driver support to BeagleBoneBlack BSPJames Fitzsimons2021-03-027-69/+949
|
* powerpc/motorola_power: Place any common data in the .bss sectionChris Johns2021-02-281-1/+7
| | | | | | | - It seems the compiler how defaults to -fcommon and this means some uninitialised data is ignored. Closes #4266
* powerpc/motorola_power: Link all text sections into the executable imageChris Johns2021-02-281-1/+1
| | | | | | | | - The change to building all code with code and data sections means we have a section per function. Make sure all functions are placed in the text section. Closes #4266
* bsps: Fix legacy buildSebastian Huber2021-02-265-20/+0
|
* bsps: Add default rtems_get_target_hash()Sebastian Huber2021-02-261-0/+66
| | | | Update #4267.
* bsps: Change license to BSD-2-Clause of some filesSebastian Huber2021-02-245-37/+167
| | | | | | | Change license to BSD-2-Clause according to file histories and re-licensing agreement. Update #3899.
* grspw_pkt.c: Fix Dereference before null check (CID #1399846)Ryan Long2021-02-191-1/+3
| | | | | | CID 1399846: Dereference before null check in grspw_addr_ctrl(). Closes #4253
* grtc.c: Fix Dereference before null check (CID #1399840)Ryan Long2021-02-191-1/+3
| | | | | | CID 1399840: Dereference before null check in grtc_ioctl(). Closes #4252
* b1553rt.c: Fix Deference before null check (CID #1399830)Ryan Long2021-02-191-1/+3
| | | | | | CID 1399830: Dereference before null check in rt_control(). Closes #4251
* b1553brm.c: Fix Dereference before null check (CID #1399829)Ryan Long2021-02-191-2/+5
| | | | | | CID 1399829: Dereference before null check in brm_control(). Closes #4250
* powerpc/motorola_powerpc: Add cache coherent memory to the allocatorChris Johns2021-02-161-0/+6
| | | | | Updates #4245 Updates #4243
* powerpc/motorola_powerpc: Enable bus PCI support in LibBSDChris Johns2021-02-161-0/+4
| | | | Updates #4245
* powerpc/io: Make [out/in] le and be calls conditionalChris Johns2021-02-161-0/+8
| | | | | | | | - These calls clash with the Linux IO header in LibBSD. Making these conditional here means BSPs build and the imported Linux header is untouched. Updates #4245
* powerpc/shared: Fix warnings in i8259 PIC code.Chris Johns2021-02-161-6/+0
|
* powerpc/shared: Fix warningsChris Johns2021-02-163-10/+16
|
* powerpc/motorola_powerpc: Fix tm27 warningsChris Johns2021-02-161-8/+16
|
* Update motorola_power to irq-generic interrupt managementChris Johns2021-02-137-55/+283
| | | | | | | | | | | | | | - Add support to the BSP to enable irq-generic management - Update the powerpc shared irq code to support irq-generic. This is an opt in option for existing powerpc bsps. This change should be simpler now - Fix a number of issues in ISA IRQ controller handling by porting fixes from the i386 (PC) BSP Closes #4238 Closes #4239
* bsp/riscv: Re-license to BSD-2-ClauseSebastian Huber2021-02-091-10/+37
| | | | | | Change license to BSD-2-Clause according to file history. Update #3053.
* bsps/shared/ofw: Bug fixesG S Niteesh Babu2021-02-081-3/+3
| | | | | Fixed bugs in rtems_ofw_get_prop, rtems_ofw_get_prop_len and removed hardcoded value.
* bsps/shared/ofw: Make rtems_ofw_get_effective_phandle iterativeG S Niteesh Babu2021-02-081-4/+5
| | | | | Refactored recursive rtems_ofw_get_effective_phandle into a iterative function.
* bsps/shared/ofw: Use strlcpy instead of strncpyG S Niteesh Babu2021-02-081-1/+9
| | | | | Changed rtems_ofw_get_prop to use strlcpy instead of strncpy to ensure the buffer is null terminated incase of overflow.
* bsps/shared/ofw: Fix coverity reported defectsG S Niteesh Babu2021-02-081-5/+5
| | | | | | | | | | | | | | | Fixed use after free and null pointer dereference defects FIXES: 1) CID 1472601 (NULL_RETURNS) 2) CID 1472600 (USE_AFTER_FREE) 3) CID 1472599 (USE_AFTER_FREE) 4) CID 1472598 (USE_AFTER_FREE) 5) CID 1472596 (USE_AFTER_FREE) The below two defects have to marked false positive 1) CID 1472597 (ARRAY_VS_SINGLETON) 2) CID 1472595 (ARRAY_VS_SINGLETON)
* bsp/motorola_powerp: Print RTEMS_VERSION from the bootloaderChris Johns2021-02-081-1/+3
|
* powerpc/shared: ISA bus bridge fails to enable the openpic irqChris Johns2021-02-082-2/+2
| | | | | | | | | | - The call to enable the openpic irq for the ISA bridge fails because the IRQ used is offset by the ISA bus signals and the openpic call expects an IRQ relative to its signals. - Add the MVME 2600/2700 to the list of boards with an ISA bridge. Closes #4231
* bsp/leon3: Improve printk() supportSebastian Huber2021-02-011-40/+52
| | | | | | | | Use the idle stack to buffer early uses of printk(). Print the buffered characters during initialization when the UART is available and before the idle stack is used normally. This fix relates to a Coverity issue (PW.SET_BUT_NOT_USED).
* bsp/leon3: Fix incompatible function typesSebastian Huber2021-02-011-4/+6
| | | | This fix relates to a Coverity issue (PW.INCOMPATIBLE_PARAM).
* bsp/leon3: Fix bsp_fatal_extension) indentationSebastian Huber2021-02-011-15/+13
| | | | | | Remove superfluous include. Fix comment formatting. This fix relates to a Coverity issue (NESTING_INDENT_MISMATCH).
* bsps/aarch64: Add missing includeSebastian Huber2021-01-281-0/+1
| | | | | | | | | Fixes: bsps/shared/dev/irq/arm-gicv2.c:53:6: warning: no previous prototype for 'bsp_interrupt_dispatch' [-Wmissing-prototypes] Close #4227.
* bsp/leon3: Simplify bsp_interrupt_is_valid_vector()Sebastian Huber2021-01-281-5/+5
| | | | | | | There is not need to check that vector >= BSP_INTERRUPT_VECTOR_MIN since BSP_INTERRUPT_VECTOR_MIN is zero and vector is unsigned. This fix relates to CID 1399742 (NO_EFFECT).
* bsps: Replace bsp_specs with an empty fileSebastian Huber2021-01-2885-772/+0
| | | | | | | This fixes an issue with the latest tool chain which adds the default linker script in the endfile specification. Update #3250.
* cacheimpl.h: Avoid potential dead codeSebastian Huber2021-01-271-12/+11
| | | | | | | If CPU_DATA_CACHE_ALIGNMENT == CPU_INSTRUCTION_CACHE_ALIGNMENT we had dead code with the previous implementation. This fix relates to CID 1399776 (DEADCODE).