summaryrefslogtreecommitdiffstats
path: root/bsps/powerpc/shared (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* bsps/powerpc: Initialize stack earlierSebastian Huber2019-03-151-9/+9
| | | | | | The __eabi() call may use the stack. Update #3459.
* Remove superfluous <rtems/system.h> includesSebastian Huber2019-03-143-3/+0
|
* bsps: Adjust shared Doxygen groupsSebastian Huber2019-03-086-13/+15
| | | | Update #3706.
* bsps: Adjust bsp.h Doxygen groupsSebastian Huber2019-03-081-1/+1
| | | | Update #3706.
* libdl: Add small data support to the remaining PowerPC BSPs.Chris Johns2019-03-071-1/+23
| | | | Updates #3687
* bsps/powerpc: Move .rtemstack sectionSebastian Huber2019-03-041-4/+3
| | | | | Move the .rtemsstack section from a read-only to a read-write area, see page table setup in __BSP_default_pgtbl_setup().
* bsps/powerpc: Fix PAGE_ALIGN() macrosSebastian Huber2019-03-041-1/+1
| | | | | Previous warning fixes which include <sys/param.h> broke this macro. The definition of PAGE_MASK changed.
* bsps: Adjust architecture Doxygen groupsSebastian Huber2019-03-042-10/+8
| | | | | | | | | | - 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.
* bsps/powerpc: Fix small data area sectionSebastian Huber2019-02-111-8/+12
| | | | | | | | | | 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.
* libdl: Add powerpc large memory and small data support.Chris Johns2019-02-091-0/+13
| | | | | | | | | | | | | | | | | - Add support for architecure sections that can be handled by the architecture back end. - Add trampoline/fixup support for PowerPC. This means the PowerPC now supports large memory loading of applications. - Add a bit allocator to manage small block based regions of memory. - Add small data (sdata/sbss) support for the PowerPC. The support makes the linker allocated small data region of memory a global resource available to libdl loaded object files. Updates #3687 Updates #3685
* bsps/powerpc: Fix warningsSebastian Huber2019-01-251-2/+2
|
* bsps/powerpc: Fix 64-bit issues in assembler filesSebastian Huber2019-01-252-8/+8
| | | | | | | We have to be careful with instructions which operate explicitly on words or doublewords. Update #3082.
* Spelling and grammar fixes in source code comments (GCI 2018)Marçal Comajoan Cara2018-12-041-1/+1
|
* bsps/powerpc: Use interrupt stack for init stackSebastian Huber2018-11-192-21/+9
| | | | | | Move start.o to separate file. Update #3459.
* Include missing <rtems/score/thread.h>Sebastian Huber2018-11-092-0/+2
| | | | Update #3598.
* bsp/beatnik: Fix warningsSebastian Huber2018-11-091-0/+1
|
* Use rtems_task_exit()Sebastian Huber2018-10-021-2/+2
| | | | | Update #3530. Update #3533.
* network: Use kernel/user space header filesSebastian Huber2018-09-101-1/+1
| | | | | | | | | | Add and use <machine/rtems-bsd-kernel-space.h> and <machine/rtems-bsd-user-space.h> similar to the libbsd to avoid command line defines and defines scattered throught the code base. Simplify cpukit/libnetworking/Makefile.am. Update #3375.
* bsps/powerpc: Simplify ppc_exc_initialize()Sebastian Huber2018-09-062-4/+2
| | | | | | | Remove parameters from ppc_exc_initialize() since all BSPs passed the same values. Update #3459.