Commit Graph

169 Commits

Author SHA1 Message Date
Joel Sherrill
58795be2cb bsps/m68k/genmcf548x/console/console.c: Fix misleading indentation
Added braces and corrected indentation to reflect intent.
2025-07-24 18:36:27 -05:00
Joel Sherrill
e856c4b985 bsps/m68k/genmcf548x/start/bspstart.c: Fix negative array subsscript
GCC warned that the pointer magic was resulting in an array bounds
violation. The solution is to use uintptr_t when doing abusive
pointer math.
2025-07-24 18:31:11 -05:00
Joel Sherrill
f95385da23 m68k/genmcf548x/start/init548x.c: Fix warning for comparing two arrays
GCC warnings when comparing the starting addresses of two arrays when
using just the name of the array. Changes to use the address of
element 0 which resolved the warning.
2025-07-24 18:29:51 -05:00
Joel Sherrill
262cbd69f3 bsps/m68k/mcf5329/start/init5329.c: Address comparison of arrays
GCC warned about comparing arrays by name. Changed to casting all
array names to (uintptr_t).
2025-07-24 18:28:56 -05:00
Sunil-Hegde
ecab84ce29 bsps/m68k: removed set_vector() prototypes
removed all set_vector() function prototypes from
all the respective bsp.h header files and removed
bsps/shared/start/setvec.c from respective .yml files.
2025-07-24 17:29:55 -05:00
Sunil Hegde
e9cb088995 bsps/m68k: removed uses of set_vector()
removed uses of set_vector() accross all the files.
Changes were introduced in all tm27.h and clock.c
files.
2025-07-24 17:29:55 -05:00
Jeremy Lorelli
2ec78303eb uC5282/console/console.c: Fix misleading indentation warning
The rtems_interrupt_disable macros expand to some code that
is indented. GCC sees this as misleading indentation next
to the while loop without braces.
2025-07-16 12:15:47 -07:00
Kinsey Moore
4f5723e125 bsps: Remove post-link config files
These files are not currently useful in the tree and will be replaced by
a different post-link tool.

Updates rtems/programs/gsoc#74
2025-07-09 21:05:37 -05:00
Jeremy Lorelli
f354bfc07f m68k/uC5282/bspstart.c: Refactor/cleanup of some bsp start code
* Cleaned up the uC5282 ISR stuff to make the casts and whatnot more
  readable. Also made the offsets relative to the VBR (which is at 0x0
  for this BSP) to silence a GCC warning.

* Refactored the default exception handler to map a struct to the stack
  instead of taking the address of pc and under-indexing it. The
  compiler was not particularly happy about the previous implementation.
2025-06-10 17:55:04 +00:00
Joel Sherrill
44b61ba51f m68k/uC5282/bspstart.c: Minimum fixes for lines > 80 columns
The file uses tabs and that was not addressed.
2025-05-06 17:35:58 +00:00
Joel Sherrill
497af62f84 uC5282/start/bspstart.c: Correct printk() specifier
printk() specifier was for unsigned long but the number was just an
unsigned int.
2025-05-06 17:35:58 +00:00
Joel Sherrill
9e05cd72c5 mvme147s: Remove as obsoleted
Updates #5031
2025-03-13 06:12:15 +00:00
Kinsey Moore
ece058c6a3 bsps/m68k/shared: Remove unreferenced gdb stub
Closes #5213
2025-03-10 22:32:30 +00:00
Gedare Bloom
0149e6e749 spdx: add 2-BSD SPDX tags on relicensed files
Updates the recently merged relicensed files with the 2-Clause BSD
SPDX annotation.

Closes #5208.
2025-03-01 04:14:54 +00:00
Joel Sherrill
330d011318 m68k/shared/cache/cache-*.c: Remove unused variants
With the removal of multiple m68k and Coldfire BSPs, these cache
implementatoin variants were no longer referenced.

Updates #5031
2025-02-12 22:09:41 +00:00
Joel Sherrill
807584adfd m68k/shared/fpsp: Remove obsolete m68040 FP Support Code
The Motorola MC68040 did not completely implement IEEE754 in hardware.
The FPSP code was required to complete the support. With no more
MC68040 BSPs in RTEMS, this code can be removed.

Updates #5031
2025-02-12 12:51:58 -06:00
Gedare Bloom
8e6ded473c rtems: update licenses to 2BSD
This is an update of many lingering embedded brains GmbH licenses from
the RTEMS License to the 2-BSD license where possible depending on the
joint copyrights.

Updates #3053.
2025-02-10 15:44:09 +00:00
Joel Sherrill
5a9484e6cb m68k/mvme147: Remove obsolete BSP family
Updates #5031
2025-02-10 08:49:24 -06:00
Gedare Bloom
613f701b8c m68k: Relicense mcf3272.h to 2BSD
Update license for contributions from Jay Monkman in MIPS BSPs.

Updates #3053.
2025-02-07 14:57:34 +00:00
Joel Sherrill
b30d88cb87 m68k/mcf5225x: Remove obsolete BSP family
Updates #5031
2025-02-07 14:19:00 +00:00
Joel Sherrill
46e90be362 m68k/mrm332: Remove obsolete BSP family
Confirmed with Robominds

Updates #5031
2025-02-07 14:15:27 +00:00
Joel Sherrill
2188c428fb m68k/mvme167: Remove obsolete BSP family
Updates #5031
2025-02-07 14:13:06 +00:00
Joel Sherrill
17ae630e9a m68k/mvme162: Remove obsolete BSP family
Updates #5031
2025-02-07 14:10:41 +00:00
Joel Sherrill
6cdc09c48a m68k/mcf52235: Remove obsolete BSP family
Updates #5031
2025-02-07 01:21:36 +00:00
Joel Sherrill
23a4dc74cd m68k/mcf5206elite: Remove obsolete BSP family
Updates #5031
2025-02-07 01:21:00 +00:00
Joel Sherrill
7f86974bf3 m68k/gen68360: Remove obsolete BSP family
Updates #5031
2025-02-07 01:20:24 +00:00
Joel Sherrill
552e481699 m68k/gen68340: Remove obsolete BSP
Updates #5031
2025-02-07 01:19:44 +00:00
Joel Sherrill
0316b3c322 m68k/csb360: Remove obsolete BSP
Updates #5031
2025-02-07 01:18:30 +00:00
Sebastian Huber
f43042cd06 bsps: Move <bsp/linker-symbols.h> to shared
Move architecture-independent items to a shared <bsp/linker-symbols.h>.
Allow architectures to customize it through <bsp/linker-symbols-arch.h>.
2024-10-11 01:27:48 +02:00
Sebastian Huber
9b7d36c6db bsp/mcf5225x: Remove unused file
Update #5067.
2024-08-23 14:54:37 +00:00
Sebastian Huber
450f0d7e90 bsp/mrm332: Remove unused file
Update #5067.
2024-08-23 14:54:37 +00:00
Sebastian Huber
002c6067ba bsps: Add fatal source/code to bsp_reset()
Mark bsp_reset() as no-return.  Use default BSP fatal handler in lm32 and m68k
BSPs.  Remove empty bsp_reset() implementation.

Update #5067.
2024-08-23 14:54:37 +00:00
Amar Takhar
5eaf65953c bsps: Convert README and other file to MarkDown
These were missed in the last pass.
2024-08-08 23:31:51 +00:00
Joel Sherrill
7109dfdea1 bsps/m68k/uC5282/README.md: Delete timing results
Closes #5096.
2024-08-05 22:00:58 +00:00
the-m3chanic
56158c1cb4 m68k: modified BSP specific linker scripts 2024-08-05 21:29:58 +00:00
the-m3chanic
2ba6a3bbda m68k: modified linkcmds.base to add new section for GDB pretty-printing 2024-08-05 21:29:58 +00:00
Amar Takhar
9b4ac0aa64 bsps: Fold external documentation into README.md 2024-08-02 21:21:42 +00:00
Amar Takhar
52a9fdec5c Convert various files to README.md MarkDown 2024-08-02 21:13:35 +00:00
Amar Takhar
4c2e5ad988 bsps: Convert README to MarkDown 2024-07-29 13:07:51 -04:00
Sebastian Huber
ab8817ca03 rtems: Add get/set interrupt priorities
Add directives to get and set the priority of an interrupt vector.

Implement the directives for the following BSP families:

* arm/lpc24xx
* arm/lpc32xx
* powerpc/mpc55xxevb
* powerpc/qoriq

Implement the directives for the following interrupt controllers:

* GICv2 and GICv3 (arm and aarch64)
* NVIC (arm)
* PLIC (riscv)

Update #5002.
2024-05-10 13:26:22 +00:00
Sebastian Huber
1eed6f8bfc bsps: Avoid unused argument in clock interrupt
Pass the parameter of the clock interrupt handler to
Clock_driver_support_at_tick() and Clock_driver_timecounter_tick().  This makes
it possible to use the interrupt handler argument in clock drivers.

Use the interrupt handler provided by Clock_driver_support_install_isr() to
avoid local delarations of Clock_isr().

Update #4862.
2024-03-20 16:34:09 +01:00
Kinsey Moore
150dcf5e47 libio: Clean up usage of rtems_termios_device_mode
This cleans up outputUsesInterrupts usage with rtems_termios_device_mode
enum values. The outputUsesInterrupts member was typed as an int, named
as if it were a boolean value, and used as if it were a
rtems_termios_device_mode enum. In this patch, values assigned to
outputUsesInterrupts have been converted to the corresponding
rtems_termios_device_mode enum value, conversions from
deviceOutputUsesInterrupts have been made explicit, and uses of
rtems_termios_device_mode enum values with deviceOutputUsesInterrupts
have been converted to booleans.
2024-01-10 14:43:53 -06:00
Sebastian Huber
bcef89f236 Update company name
The embedded brains GmbH & Co. KG is the legal successor of embedded
brains GmbH.
2023-05-20 11:05:26 +02:00
Sebastian Huber
bb465c8548 doxygen: Add Doxygen files to a group
Update #3707.
2023-02-16 08:27:09 +01:00
Sebastian Huber
10ee41a8a3 tm27: Avoid function pointer casts
Add TM27_USE_VECTOR_HANDLER to select the interrupt handler type used by
the <tm27.h> implementation.

Close #4820.
2023-01-24 09:56:53 +01:00
Sebastian Huber
a660e9dc47 Do not use RTEMS_INLINE_ROUTINE
Directly use "static inline" which is available in C99 and later.  This brings
the RTEMS implementation closer to standard C.

Close #3935.
2022-09-19 09:09:22 +02:00
Sebastian Huber
21a36ed19b bsps: Fix .data.rel.ro placement
The .data.rel.ro* linker input section pattern accidentally matches with
writeable data those symbol name starts with "ro".

Close #4701.
2022-08-12 10:10:17 +02:00
Sebastian Huber
5ed0035377 bsps: Sort .noinit* sections
Sort the .noinit* input sections by name first, then by alignment if two
sections have the same name.  This allows the placement of begin/end symbols to
initialize some areas with a special value.

Update #4678.
2022-07-15 10:46:02 +02:00
Joel Sherrill
1be68d8093 bsps/m68k/uC5282: Change license to BSD-2
Updates #3053.
2022-07-11 17:14:47 -05:00
Joel Sherrill
a9a9916471 bsps/m68k/shared: Change license to BSD-2
Updates #3053.
2022-07-11 17:14:47 -05:00