Commit Graph
57 Commits
Author SHA1 Message Date
Joel Sherrill c893731d11 bsps/powerpc/include/bsp/VMEDMA.h: Address cast-function-type warning
This warning occurs when casting a function pointer to be a function
of a different type.
2026-02-09 16:59:41 -06:00
Joel Sherrill 9c7666ba2d bsps/powerpc: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This addresses warnings that only occurred on 64-bit targets.  For the
ones which only appeared on 64-bit targets, the cause was frequently
a mismatch when comparing a combination off_t, ssize_t, and int.
2026-02-05 23:17:46 +00:00
Joel Sherrill dcab8a9eac bsps/*: Review of Andy Dachs submissions for relicensing
Updates from verifying all of Andy Dachs submissions to see if
all had given permission to relicense.

Updates #3053.
2026-01-23 01:27:25 +00:00
Joel Sherrill 485e0b2b79 bsps/powerpc/include/bsp/VMEDMA.h: Fix function cast warnings.
This changes the signature of the VMEBus DMA IRQ Callback type
(BSP_VMEDmaIRQCallback) to match that expected by BSP_installVME_isr()
when the callback is installed.
2026-01-23 01:25:21 +00:00
Joel Sherrill 06e58ab5fa bsps: Address files with only Eric Valette's email address
Many files with Eric Valette as author only had his email address.
This led to them being missed in previous relicensing passes.
This effort relicensed where possible and made efforts to have the
file follow the RTEMS standard for top of files (SPDX, Doxygen,
and then copyright/license).

Closes #5418.
2026-01-16 09:12:24 -06:00
Ayush Daga 05629d07e2 bsps: Fix obsolete libbsp paths
Updated comments and documentation files across the bsps directory
to replace obsolete references to libbsp with their new locations
in the bsps directory.

Updates #5323
2025-12-11 12:03:56 -06:00
Joel Sherrill 888e5a5d25 bsps/*: Correct spelling of copyright
Multiple files had this spelled incorrectly.
2025-09-09 11:43:24 -05:00
Joel Sherrill 82de7c4daa bsps/powerpc/*: Add SPDX for RTEMS legacy license
These may still be relicensed but adding SPDX is needed.

Updates #4805.
2025-08-22 10:14:12 -05:00
Joel Sherrill b9b572335e bsps/powerpc/include/mpc8xx.h: Disable zero length array
A padding array ends up with a size of 0 which is illegal in newer
versions of C -- at least C17 and later.
2025-08-05 13:53:38 -05:00
Jeremy Lorelli 4b05acde6f bsps/mvme3100: Use standard C99 designated initializers 2025-06-30 16:25:03 -05:00
Joel Sherrill 9fea354de8 powerpc/ss555: Correct prototype of Clock_isr
The argument is now a void * and this was not reflected in the
prototype or implementation. The argument was unused so this
has no functional impact.
2025-03-13 06:27:35 +00:00
Gedare Bloom e463f8c968 powerpc: Relicense to 2-BSD
This batch of relicensing was enabled by the combination of Eric
Valette and Andy Dachs giving permission.

Updates #3053
2025-03-01 00:40:17 +00:00
Joel Sherrill bffc250688 General: Update Eric Valette's email address
Changing Eric's email from valette@crf.canon.frto eric.valette@free.fr
2025-02-04 12:41:08 -06:00
Gedare Bloom 203b08fa23 powerpc: remove unused file debugmod.h 2025-02-03 17:18:35 -07: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
Chris Johns 0bdeef72fe bsp/powerpc: Remove e500 machine state for asm functions
The e500 machine state was added when gcc 10 support appeared to deal with
the assembler's -many option being removed.

Close #5043
2024-06-18 04:27:46 +00:00
Sebastian Huber 65bfcc3944 bsp/qoriq: Remove <rtems/irq.h> in <bsp/irq.h>
The <rtems/irq.h> defines a legacy API.
2024-02-27 14:13:14 +01: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
Chris Johns 407c87cd88 bsps/powerpc: Fix warnings with PPC_SPECIAL_PURPOSE_REGISTER 2023-04-11 14:55:02 +10:00
Sebastian Huber 5810a08b57 Use __asm__ for standard C compatibility 2022-07-27 17:01:14 +02:00
Joel Sherrill 5ba0bb2afd bsps/powerpc/include: Change license to BSD-2
Updates #3053.
2022-07-12 08:15:41 -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 f0f6e88882 bsps/powerpc: Manual file header clean up
Updates #4625.
2022-03-10 09:15:19 +01:00
Joel Sherrill e560ee85cf bsps/powerpc/: Scripted embedded brains header file clean up
Updates #4625.
2022-03-10 08:43:50 +01:00
Sebastian Huber a286d28695 powerpc: Use .machine any for some inline asm 2022-02-26 07:40:17 +01:00
Sebastian Huber e10dec0fe7 bsps: Support RTEMS_NOINIT in linkcmds
Update #3866.
2021-05-02 18:41:21 +02:00
Chris Johns 6e3c6e044e powerpc/io: Make [out/in] le and be calls conditional
- 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
2021-02-16 09:40:15 +11:00
Chris Johns e1676c1a0d Update motorola_power to irq-generic interrupt management
- 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
2021-02-13 13:26:07 +11:00
Christian Mauderer 2f509b572f bsp/mpc83xx: Fix non-ASCII characters 2020-12-14 10:48:57 +01:00
Sebastian Huber e59cb6a2b2 bsps/powerpc: Remove __ppc_generic define
Do not force BSPs to define __ppc_generic.

This was probably the last command line define in the BSPs.
2020-09-20 17:45:11 +02:00
Chris Johns 3ec5f20484 powerpc/io: The eieio() function clashes with FreeBSD. Change. 2020-08-12 12:59:09 +10:00
Sebastian Huber 9b5af6a47f bsps/powerpc: Fix tlbie instruction usage
GCC 10 no longer passes -many to the assembler.  This enables more
checks in the assembler.

The 0 in the tlbie instruction is the L operand which selects a 4KiB
page size.
2020-07-05 12:56:01 +02:00
Sebastian Huber 9b3b33d91a bsps/powerpc: Fix inline assembly
GCC 10 no longer passes -many to the assembler.  This enables more
checks in the assembler.
2020-07-05 12:56:01 +02:00
Sebastian Huber be50969881 bsp/motorola_powerpc: Fix debug output
Update #3122.
2019-04-12 14:38:06 +02:00
Sebastian Huber 3fe215502a Remove superfluous <rtems/system.h> includes 2019-03-14 13:13:27 +01:00
Sebastian Huber 828276b081 bsps: Adjust shared Doxygen groups
Update #3706.
2019-03-08 07:42:54 +01:00
Sebastian Huber 3b68442f28 bsps/powerpc: Move mpc55xx header files
They are only used by this BSP.
2019-03-07 10:44:19 +01:00
Sebastian Huber 7604a13087 bsps: Move VME header files
They are only used by PowerPC BSPs.
2019-03-05 09:03:58 +01:00
Sebastian Huber 212663bede bsps: Adjust architecture Doxygen groups
- Use CamelCase as it is not used in our C code.  Enables simple search and
   replace.

 - Prefix with "RTEMS" to aid deployment and integration.  It aids
   searching and sorting.

Update #3706.
2019-03-04 07:51:38 +01:00
Sebastian Huber feea03b625 Remove explicit file names from @file
This makes the @file documentation independent of the actual file name.

Update #3707.
2019-02-28 11:47:33 +01:00
Sebastian Huber eec706e2bf bsps/powerpc: Fix small data area section
Fix small data area in case no fixed size is desired.  Rename
bsp_section_set_sdata_sbss_size into bsp_section_small_data_area_size
since this symbol reflects the overall small data area size (including
space for libdl).  Do not use bsp_section_sbss_size before definition in
linker command file.  Add new symbols to <bsp/linker-symbols.h>.

Update #3687.
2019-02-11 11:41:13 +01:00
Sebastian Huber 81aec18146 bsps/powerpc: Fix 64-bit issues in assembler files
We have to be careful with instructions which operate explicitly on
words or doublewords.

Update #3082.
2019-01-25 15:40:11 +01:00
Sebastian Huber ff081aee72 score: Rename interrupt stack symbols
Rename

  * _Configuration_Interrupt_stack_area_begin in _ISR_Stack_area_begin,
  * _Configuration_Interrupt_stack_area_end in _ISR_Stack_area_end, and
  * _Configuration_Interrupt_stack_size in _ISR_Stack_size.

Move definitions to <rtems/score/isr.h>.  The new names are considerable
shorter and in the right namespace.

Update #3459.
2018-11-08 08:09:20 +01:00
Sebastian Huber 688e101a65 bsp/tqm8xx: Fix polled vs. interrupt output
Update #3513.
2018-09-17 08:56:32 +02:00
Sebastian Huber 54d87f2e52 bsps/powerpc: Simplify ppc_exc_initialize()
Remove parameters from ppc_exc_initialize() since all BSPs passed the
same values.

Update #3459.
2018-09-06 07:04:28 +02:00
Joel Sherrill 3cff531fa0 bsps/powerpc/include/mpc83xx/mpc83xx.h: Fix nested comment warning 2018-08-10 08:24:28 -05:00
Joel Sherrill 5896da452c bsps/powerpc/include/bsp/tictac.h: Fix protototype warnings 2018-08-10 08:24:27 -05:00
Sebastian Huber caccc5bfc6 bsps: Fix function declaration warnings 2018-07-24 13:00:56 +02:00
Sebastian Huber 715d6167e0 bsps: Support .rtemsstack.* linker input sections
Use a dedicated memory region or place it between the BSS and workspace.

Update #3459.
2018-06-27 08:58:16 +02:00
Sebastian Huber 07c597636a bsps/powerpc: Hack to fix the build
The ppc405 define must be checked before the ppc403 define.  The ppc405
define is provided by <bspopts.h>.  The ppc403 define is provided by GCC
as a built-in define if no ppc* or mpc* define is set via the
command line (see GCC sources "gcc/config/rs6000/rtems.h").

Update #3425.
2018-06-07 07:00:34 +02:00