Commit Graph

127 Commits

Author SHA1 Message Date
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
Joel Sherrill
c1137c7f04 bsps/m68k/mvme162: Change license to BSD-2
Updates #3053.
2022-07-11 17:14:47 -05:00
Joel Sherrill
c669338a7e bsps/m68k/mvme147s: Change license to BSD-2
Updates #3053.
2022-07-11 17:14:47 -05:00
Joel Sherrill
b4c3de78ea bsps/m68k/mvme147: Change license to BSD-2
Updates #3053.
2022-07-11 17:14:47 -05:00
Joel Sherrill
35cfe73740 bsps/m68k/mrm332: Change license to BSD-2
Updates #3053.
2022-07-11 17:14:47 -05:00
Joel Sherrill
c46ec2b497 bsps/m68k/mcf5329: Change license to BSD-2
Updates #3053.
2022-07-11 17:14:47 -05:00
Joel Sherrill
e50bdda22c bsps/m68k/mvf5235: Change license to BSD-2
Updates #3053.
2022-07-11 17:14:47 -05:00
Joel Sherrill
eb7b866f51 bsps/m68k/mcf5225x: Change license to BSD-2
Updates #3053.
2022-07-11 17:14:47 -05:00
Joel Sherrill
8cc14e5a5e bsps/m68k/mcf52235: Change license to BSD-2
Updates #3053.
2022-07-11 17:14:47 -05:00
Joel Sherrill
5382615860 bsps/m68k/mcf5206elite: Change license to BSD-2
Updates #3053.
2022-07-11 17:14:47 -05:00
Joel Sherrill
62f31d05e5 bsps/m68k/include: Change license to BSD-2
Updates #3053.
2022-07-11 17:14:47 -05:00
Joel Sherrill
810bdeb34a bsps/m68k/genmcf548x: Change license to BSD-2
Updates #3053.
2022-07-11 17:14:47 -05:00
Joel Sherrill
cfadeccbfc bsps/m68k/gen68360: Change license to BSD-2
Updates #3053.
2022-07-11 17:14:47 -05:00
Joel Sherrill
f888837dd6 bsps/m68k/gen68340: Change license to BSD-2
Updates #3053.
2022-07-11 17:14:47 -05:00
Joel Sherrill
bdd4f6dcbc bsps/m68k/csv360: Change license to BSD-2
Updates #3053.
2022-07-11 17:14:47 -05:00
Joel Sherrill
cb4fdffe16 m68k/bsps/av5282: Change license to BSD-2
Updates #3053.
2022-07-11 17:14:47 -05:00
Joel Sherrill
753873e54b Update Eric Norum contact info and start to normalize file headers 2022-03-24 10:01:51 -05:00
Christian Mauderer
947c66456c bsps/m68k: Restore license file
Quite some files in the bsps/m68k/genmcf548x mention a
Freescale_license.txt file. The file has been accidentally removed
during the source reorganization in 2018. This commit restores it and
moves it to the right location for licenses.

Update #4625.
2022-03-10 09:15:19 +01:00
Christian Mauderer
98e43e833b bsps/m68k: Manual file header clean up
Updates #4625.
2022-03-10 09:15:19 +01:00
Joel Sherrill
099dda2df5 bsps/m68k/: Scripted embedded brains header file clean up
Updates #4625.
2022-03-10 08:43:50 +01:00
Joel Sherrill
9a9442e85c m68k/genmcf548x/: Manual file header clean up
Updates #4625.
2022-03-10 08:43:50 +01:00
Joel Sherrill
621ddfce91 m68k/genmcf548x: Manual file header clean up
Updates #4625.
2022-03-10 08:43:50 +01:00
Joel Sherrill
9a60aa72a7 bsps/m68k/gen68360/spi/m360_spi.h: Manual file header clean up
Updates #4625.
2022-03-10 08:43:50 +01:00
Joel Sherrill
3878b0107f m68k/genmcf548x/README: Manual file header clean up
Updates #4625.
2022-03-10 08:43:50 +01:00
Joel Sherrill
8c6bf983ba m68k/gen68360/spi/m360_spi.c: Manual file header clean up
Updates #4625.
2022-03-10 08:43:49 +01:00
Joel Sherrill
951fa14a1e bsps/m68k/genmcf548x/README: Manual cleanup of embedded brains File Headers
Updates #4625.
2022-03-10 08:43:49 +01:00
Sebastian Huber
18e47db518 bsp/mrm332: Fix TLS support in linker command file 2021-12-22 08:17:49 +01:00
Joel Sherrill
dd70c81699 bsp_specs: Delete last remnants of these.
Updates #3937.
2021-11-29 08:50:03 -06:00
Sebastian Huber
db8f598d56 build: Remove old build system
Close #3250.
Close #4081.
2021-09-21 07:39:09 +02:00
Sebastian Huber
e518323872 bsps/irq: Add rtems_interrupt_entry_install()
Add rtems_interrupt_entry_remove().  Split up irq-generic.c into several files.
In particular, place all functions which use dynamic memory into their own
file.

Add optional macros to let the BSP customize the vector installation after
installing the first entry and the vector removal before removing the last
entry:

* bsp_interrupt_vector_install()

* bsp_interrupt_vector_remove()

Use these new customization options in the m68k/genmcf548x BSP so re-use the
generic interrupt controller support.

Update #3269.
2021-07-26 19:57:31 +02:00
Sebastian Huber
32f5a195d7 bsps/irq: bsp_interrupt_vector_disable()
Return a status code for bsp_interrupt_vector_disable().

Update #3269.
2021-07-26 19:57:31 +02:00
Sebastian Huber
bc86a5fa84 bsps/irq: bsp_interrupt_vector_enable()
Return a status code for bsp_interrupt_vector_enable().

Update #3269.
2021-07-26 19:57:30 +02:00
Sebastian Huber
deb5afb2f2 bsps/irq: Add rtems_interrupt_is_pending()
Add a default implementation which just returns RTEMS_UNSATISFIED.

Update #3269.
2021-07-26 17:08:42 +02:00
Sebastian Huber
eebecd09fa bsps/irq: Add rtems_interrupt_get_attributes()
Add a default implementation which clears the attributes to zero and
just returns RTEMS_SUCCESSFUL for valid parameters.

Update #3269.
2021-07-26 17:08:42 +02:00
Sebastian Huber
9832652c53 bsps/irq: Add rtems_interrupt_raise()
Add rtems_interrupt_raise_on() and rtems_interrupt_clear().

Add a default implementation which just returns RTEMS_UNSATISFIED for
valid parameters.

Update #3269.
2021-07-26 07:54:25 +02:00
Sebastian Huber
781213f9ec bsps/irq: Add rtems_interrupt_vector_is_enabled()
Add a default implementation which just returns RTEMS_UNSATISFIED for
valid parameters.

Update #3269.
2021-07-26 07:54:25 +02:00
Gedare Bloom
24e8ddca5c m68k/uC5282: linkcmds KEEP and SORT sections
Fixes a problem with bad epilog code in _fini and to keep sections
necessary with the -ffunction/data-sections.
2021-07-01 13:01:30 -06:00
Sebastian Huber
94cf67ca66 bsps/irq: Remove BSP_INTERRUPT_VECTOR_MAX
This define is no longer used.

Update #3269.
2021-06-24 11:36:27 +02:00
Sebastian Huber
3fee662093 bsps/irq: Use BSP_INTERRUPT_VECTOR_COUNT
Use BSP_INTERRUPT_VECTOR_COUNT instead of BSP_INTERRUPT_VECTOR_MAX.

Update #3269.
2021-06-24 11:36:25 +02:00
Sebastian Huber
cd5573c09d bsps/irq: Add BSP_INTERRUPT_VECTOR_COUNT
Assert BSP_INTERRUPT_VECTOR_MAX + 1 == BSP_INTERRUPT_VECTOR_COUNT.

After building all BSPs with this patch, BSP_INTERRUPT_VECTOR_MAX can be
removed and replaced by BSP_INTERRUPT_VECTOR_COUNT.  The
BSP_INTERRUPT_VECTOR_COUNT allows a default implementation which supports no
interrupt vector at all.  Using COUNT instead of MAX may avoid some
interpretation issues, for example is the maximum value a valid vector number
or not.

Update #3269.
2021-06-24 11:35:49 +02:00
Sebastian Huber
af73b7b64b bsps/irq: Remove BSP_INTERRUPT_VECTOR_MIN
Remove BSP_INTERRUPT_VECTOR_MIN and unconditionally let interrupt vector
numbers start with zero.

The BSP_INTERRUPT_VECTOR_MIN == 0 invariant was tested by the previous commit
and building all BSPs.

Update #3269.
2021-06-24 11:35:49 +02:00
Sebastian Huber
4146d3948d bsp/genmcf548x: Change BSP_INTERRUPT_VECTOR_MIN
This BSP uses a customized implementation of the interrupt extension API.  It
was the only BSP which defined BSP_INTERRUPT_VECTOR_MIN to a value other than
zero.  Define it to zero and use a custom bsp_interrupt_is_valid_vector()
function instead.

Update #3269.
2021-06-24 11:35:03 +02:00
Sebastian Huber
e10dec0fe7 bsps: Support RTEMS_NOINIT in linkcmds
Update #3866.
2021-05-02 18:41:21 +02:00