summaryrefslogtreecommitdiffstats
path: root/bsps/powerpc/shared (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsps/powerpc: Fix include orderSebastian Huber2024-03-111-1/+1
| | | | | The <rtems/irq.h> header file depends on the BSP-provided define BSP_SHARED_HANDLER_SUPPORT.
* bsps/powerpc: Include missing <rtems/irq.h>Sebastian Huber2024-02-271-0/+1
| | | | The <rtems/irq.h> defines a legacy API.
* bsp/qoriq: Remove <rtems/irq.h> in <bsp/irq.h>Sebastian Huber2024-02-271-0/+1
| | | | The <rtems/irq.h> defines a legacy API.
* Update company nameSebastian Huber2023-05-2018-18/+18
| | | | | The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
* bsps/powerpc: Fix warnings with PPC_SPECIAL_PURPOSE_REGISTERChris Johns2023-04-111-10/+15
|
* bsps/motorola_powerpc: Change defines from BSP names to avoid clashChris Johns2023-04-113-7/+7
| | | | | | - Change mvme2100 to mot_pcc_mvme2100 to avoid clashing with the RTEMS_BSP value for the BSP. You cannot have a define that is the BSP name.
* bsps/vme: Remove quirkSebastian Huber2023-04-051-5/+1
| | | | printk() supports long long integers.
* bsps/vme: Include missing header fileSebastian Huber2023-04-051-0/+1
|
* doxygen: Add Doxygen files to a groupSebastian Huber2023-02-162-0/+16
| | | | Update #3707.
* score: Add CPU_THREAD_LOCAL_STORAGE_VARIANTSebastian Huber2022-10-141-1/+1
| | | | Update #3835.
* powerpc: Add support for VRSAVESebastian Huber2022-09-082-8/+337
| | | | | | | | | | | | | | The VRSAVE feature of the Altivec unit can be used to reduce the amount of Altivec registers which need to be saved/restored during interrupt processing and context switches. In order to use the VRSAVE optimization a corresponding multilib (-mvrsave) is required, see GCC configuration. The -mvrsave option must be added to the ABI_FLAGS of the BSP. Currently only the -mcpu=e6500 based QorIQ BSP support this optimization. Update #4712.
* bsps: Fix .data.rel.ro placementSebastian Huber2022-08-121-1/+1
| | | | | | | The .data.rel.ro* linker input section pattern accidentally matches with writeable data those symbol name starts with "ro". Close #4701.
* bsps: Sort .noinit* sectionsSebastian Huber2022-07-152-2/+2
| | | | | | | | 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.
* bsps/powerpc/shared: Change license to BSD-2Joel Sherrill2022-07-1218-54/+396
| | | | Updates #3053.
* bsps: Automated IMD header file clean upChristian Mauderer2022-03-101-1/+1
| | | | | | Use the same form of IMD in all copyright lines Update #4625.
* bsps/powerpc/: Scripted embedded brains header file clean upJoel Sherrill2022-03-1013-79/+3
| | | | Updates #4625.
* powerpc: Use .machine any for some inline asmSebastian Huber2022-02-262-3/+26
|
* bsps/powerpc: Do no use Newlib internalsSebastian Huber2022-02-253-3/+6
| | | | The struct _reent::__sdidinit member was renamed in a recent Newlib.
* build: Remove old build systemSebastian Huber2021-09-213-23/+0
| | | | | Close #3250. Close #4081.
* bsps/irq: bsp_interrupt_facility_initialize()Sebastian Huber2021-07-271-2/+1
| | | | | | Do not return a status code in bsp_interrupt_facility_initialize() since this leads to unreachable code in bsp_interrupt_initialize(). Use RTEMS_DEBUG assertions in bsp_interrupt_facility_initialize() if necessary.
* bsps/irq: bsp_interrupt_vector_disable()Sebastian Huber2021-07-261-1/+2
| | | | | | Return a status code for bsp_interrupt_vector_disable(). Update #3269.
* bsps/irq: bsp_interrupt_vector_enable()Sebastian Huber2021-07-261-1/+2
| | | | | | Return a status code for bsp_interrupt_vector_enable(). Update #3269.
* bsps/irq: Add rtems_interrupt_is_pending()Sebastian Huber2021-07-261-0/+11
| | | | | | Add a default implementation which just returns RTEMS_UNSATISFIED. Update #3269.
* bsps/irq: Add rtems_interrupt_get_attributes()Sebastian Huber2021-07-261-0/+8
| | | | | | | Add a default implementation which clears the attributes to zero and just returns RTEMS_SUCCESSFUL for valid parameters. Update #3269.
* bsps/irq: Add rtems_interrupt_raise()Sebastian Huber2021-07-261-0/+12
| | | | | | | | | Add rtems_interrupt_raise_on() and rtems_interrupt_clear(). Add a default implementation which just returns RTEMS_UNSATISFIED for valid parameters. Update #3269.
* bsps/irq: Add rtems_interrupt_vector_is_enabled()Sebastian Huber2021-07-261-0/+11
| | | | | | | Add a default implementation which just returns RTEMS_UNSATISFIED for valid parameters. Update #3269.
* powerpc/.../sbrk.c: Do not reference errno.Joel Sherrill2021-05-251-2/+12
| | | | Closes #4r37.
* ppc-irq-legacy.c: Use rtems_malloc() instead of malloc().Joel Sherrill2021-05-251-10/+11
| | | | Closes #4438.
* score: Add _CPU_Context_switch_no_return()Sebastian Huber2021-05-181-0/+2
| | | | | | | | | | | The __builtin_unreachable() cannot be used with current GCC versions to tell the compiler that a function does not return to the caller, see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99151 Add a no return variant of _CPU_Context_switch() to avoid generation of dead code in _Thread_Start_multitasking() if RTEMS was built with SMP support enabled.
* bsps: Support RTEMS_NOINIT in linkcmdsSebastian Huber2021-05-022-0/+10
| | | | Update #3866.
* powerpc/shared/console: "termios" first open sets console baud to 9600Peter Dufault2021-04-271-0/+4
| | | | | When the PowerPC shared console baud rate starts at anything other than 9600 the termios code will set it to 9600 at the first open.
* powerpc/shared/console: Make console baud rate configurable.Peter Dufault2021-04-272-3/+3
| | | | | | | | | | | The "powerpc/shared/console" code has the start-up console value fixed at 9600 baud. This changes the hard-wired constant "9600" in the code to the configuration setting "BSP_CONSOLE_BAUD" and adds configuration support in both the "waf" and the legacy configuration systems. Note that the VME BSPs beatnik, mvme3100, and mve5100 can be improved by adding a "mvmexxxx" BSP family. This configuration change, as well as future configuration changes, could then be made in a "grp.yml" file.
* bsps: Remove networking driversVijay Kumar Banerjee2021-04-071-1936/+0
| | | | Update #3850
* powerpc/shared: Fix warnings in i8259 PIC code.Chris Johns2021-02-161-6/+0
|
* powerpc/shared: Fix warningsChris Johns2021-02-163-10/+16
|
* Update motorola_power to irq-generic interrupt managementChris Johns2021-02-134-50/+261
| | | | | | | | | | | | | | - 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
* 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
* bsps: Add missing DWARF 5 sectionsSebastian Huber2021-01-261-3/+5
| | | | Sort alphabetically.
* bsps: Support DWARF 5 sectionsSebastian Huber2021-01-251-8/+13
| | | | GCC 11 uses DWARF 5 by default.
* bsps/clock: Fix fast idle clock tick supportSebastian Huber2020-07-231-3/+9
| | | | | | If we interrupt a thread dispatch critical section (thread dispatch disable level != ISR nest level), then we should not do the fast idle mode since this may delay an ongoing system call forever.
* bsps/powerpc: Fix tlbie instruction usageSebastian Huber2020-07-052-6/+7
| | | | | | | | 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.
* bsps/powerpc: Fix inline assemblySebastian Huber2020-07-052-41/+35
| | | | | GCC 10 no longer passes -many to the assembler. This enables more checks in the assembler.
* bsps: Rework work area initializationSebastian Huber2020-02-042-20/+73
| | | | | | | | | | | | | | | | | | | | The work area initialization was done by the BSP through bsp_work_area_initialize(). This approach predated the system initialization through the system initialization linker set. The workspace and C program heap were unconditionally initialized. The aim is to support RTEMS application configurations which do not need the workspace and C program heap. In these configurations, the workspace and C prgram heap should not get initialized. Change all bsp_work_area_initialize() to implement _Memory_Get() instead. Move the dirty memory, sbrk(), per-CPU data, workspace, and malloc() heap initialization into separate system initialization steps. This makes it also easier to test the individual initialization steps. This change adds a dependency to _Heap_Extend() to all BSPs. This dependency will be removed in a follow up change. Update #3838.
* bsps: Add RTEMS_SYSINIT_BSP_EARLYSebastian Huber2020-02-041-16/+0
| | | | | | | Add new BSP system initialization step for work to be performed before the work areas are initialized. Update #3838.
* bsps: Add RamEnd to linker command filesSebastian Huber2020-02-041-0/+1
| | | | Update #3838.
* bsps/powerpc: Fix warningSebastian Huber2020-01-021-3/+1
| | | | Update #3834.
* clock: Simplify driver initializationSebastian Huber2019-12-113-22/+3
| | | | | | Use a system initialization handler instead of a legacy IO driver. Update #3834.
* clock: Remove Clock_exit() from APISebastian Huber2019-12-113-21/+1
| | | | | | | This function is no longer supported by the standard clock driver implementation (clockimpl.h). Update #3436.
* bsps/powerpc: Fix constructors with prioritySebastian Huber2019-05-071-19/+8
| | | | Update #3339.
* bsps/powerpc: Fix C++ exception handlingSebastian Huber2019-05-071-2/+3
| | | | Close #3736.