summaryrefslogtreecommitdiffstats
path: root/bsps/powerpc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsps/irq: Remove BSP_INTERRUPT_VECTOR_MAXSebastian Huber2021-06-2411-12/+0
| | | | | | This define is no longer used. Update #3269.
* bsps/irq: Use BSP_INTERRUPT_VECTOR_COUNTSebastian Huber2021-06-241-3/+3
| | | | | | Use BSP_INTERRUPT_VECTOR_COUNT instead of BSP_INTERRUPT_VECTOR_MAX. Update #3269.
* bsps/irq: Add BSP_INTERRUPT_VECTOR_COUNTSebastian Huber2021-06-2411-0/+12
| | | | | | | | | | | | | 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.
* bsps/irq: Remove BSP_INTERRUPT_VECTOR_MINSebastian Huber2021-06-2412-21/+3
| | | | | | | | | | 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.
* bsps/irq: Remove BSP_INTERRUPT_NO_HEAP_USAGESebastian Huber2021-06-241-1/+0
| | | | | | | Remove the support for BSP_INTERRUPT_NO_HEAP_USAGE. This was only used by one BSP and provides no real benefit. Update #3269.
* bsps/powerpc, bsps/shared: Move remaining legacy networking header filesVijay Kumar Banerjee2021-06-234-481/+0
|
* 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-0210-0/+39
| | | | 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-0751-60502/+0
| | | | Update #3850
* powerpc/motorola_power: Place any common data in the .bss sectionChris Johns2021-02-281-1/+7
| | | | | | | - It seems the compiler how defaults to -fcommon and this means some uninitialised data is ignored. Closes #4266
* powerpc/motorola_power: Link all text sections into the executable imageChris Johns2021-02-281-1/+1
| | | | | | | | - The change to building all code with code and data sections means we have a section per function. Make sure all functions are placed in the text section. Closes #4266
* bsps: Fix legacy buildSebastian Huber2021-02-262-8/+0
|
* bsps: Change license to BSD-2-Clause of some filesSebastian Huber2021-02-242-19/+63
| | | | | | | Change license to BSD-2-Clause according to file histories and re-licensing agreement. Update #3899.
* powerpc/motorola_powerpc: Add cache coherent memory to the allocatorChris Johns2021-02-161-0/+6
| | | | | Updates #4245 Updates #4243
* powerpc/motorola_powerpc: Enable bus PCI support in LibBSDChris Johns2021-02-161-0/+4
| | | | Updates #4245
* powerpc/io: Make [out/in] le and be calls conditionalChris Johns2021-02-161-0/+8
| | | | | | | | - 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
* powerpc/shared: Fix warnings in i8259 PIC code.Chris Johns2021-02-161-6/+0
|
* powerpc/shared: Fix warningsChris Johns2021-02-163-10/+16
|
* powerpc/motorola_powerpc: Fix tm27 warningsChris Johns2021-02-161-8/+16
|
* Update motorola_power to irq-generic interrupt managementChris Johns2021-02-137-55/+283
| | | | | | | | | | | | | | - 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
* bsp/motorola_powerp: Print RTEMS_VERSION from the bootloaderChris Johns2021-02-081-1/+3
|
* 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: Replace bsp_specs with an empty fileSebastian Huber2021-01-2818-167/+0
| | | | | | | This fixes an issue with the latest tool chain which adds the default linker script in the endfile specification. Update #3250.
* bsps: Add missing DWARF 5 sectionsSebastian Huber2021-01-262-6/+10
| | | | Sort alphabetically.
* bsps: Support DWARF 5 sectionsSebastian Huber2021-01-252-16/+26
| | | | GCC 11 uses DWARF 5 by default.
* bsp/mpc83xx: Fix non-ASCII charactersChristian Mauderer2020-12-141-1/+1
|
* rtems: Improve RTEMS_NO_RETURN attributeSebastian Huber2020-10-101-3/+3
| | | | | | | | | | | Provide RTEMS_NO_RETURN also in case RTEMS_DEBUG is defined to prevent errors like this: error: no return statement in function returning non-void [-Werror=return-type] Use C11 and C++11 standard means to declare a no-return function. Close #4122.
* Misc: Correct spelling of occurredJoel Sherrill2020-10-071-1/+1
|
* bsps/powerpc: Remove __ppc_generic defineSebastian Huber2020-09-201-6/+0
| | | | | | Do not force BSPs to define __ppc_generic. This was probably the last command line define in the BSPs.
* bsps: Always install IPI in SMP configsSebastian Huber2020-08-311-16/+14
| | | | | | | The inter-processor interrupt (IPI) may be used to process per-CPU jobs. See for example the blocked handler in T_interrupt_test(). Update #3199.
* powerpc/io: The eieio() function clashes with FreeBSD. Change.Chris Johns2020-08-121-4/+4
|
* 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: Remove obsolete BSPsSebastian Huber2020-07-056-70/+0
| | | | Update #3951.
* bsps/powerpc: Remove SPE enabled variantsSebastian Huber2020-07-0525-168/+4
| | | | | | The PowerPC SPE support was removed from GCC. Update #3951.
* bsps/powerpc: Remove __atexit form start.oSebastian Huber2020-07-052-28/+0
| | | | | | | | | | | Remove superflous __atexit stuff in start.o. It is no longer required by GCC and may cause linker problems. See GCC commit: commit 362c63a5e8b5aacfff3e5af0911e42ba7c775042 Author: Geoff Keating <geoffk@cygnus.com> Date: Fri Apr 14 23:16:25 2000 +0000
* bsps/powerpc: Fix tlbie instruction usageSebastian Huber2020-07-058-13/+14
| | | | | | | | 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-055-47/+114
| | | | | GCC 10 no longer passes -many to the assembler. This enables more checks in the assembler.
* bsp/qoriq: Fix tlbwe sequenceSebastian Huber2020-07-051-1/+1
|
* testsuite: Add expected-fail to psimChris Johns2020-05-061-0/+22
| | | | Updates #2962
* Use rtems_get_version_string()Sebastian Huber2020-05-064-4/+4
| | | | Update #3970.
* tests: Exclude record02 for some BSPsSebastian Huber2020-04-061-0/+1
| | | | Update #3938.
* bsp/qoriq: Fix off by one error in clock initSebastian Huber2020-04-021-1/+1
| | | | Close #3921.
* psim: Rework device tree so devices do not conflict with 256MB RAMJoel Sherrill2020-03-054-15/+12
| | | | updates #3849.
* bsp/mpc5643l_*: Exclude some testsSebastian Huber2020-02-272-0/+4
| | | | These tests do not fit into the available memory.
* bsps: Rework work area initializationSebastian Huber2020-02-045-45/+128
| | | | | | | | | | | | | | | | | | | | 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-045-38/+48
| | | | | | | Add new BSP system initialization step for work to be performed before the work areas are initialized. Update #3838.