summaryrefslogtreecommitdiffstats
path: root/bsps/powerpc/motorola_powerpc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsps/motorola_powerpc: Change defines from BSP names to avoid clashChris Johns2023-04-116-12/+12
| | | | | | - 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/mvme2700: Add MVME2700 BSPChris Johns2023-04-061-4/+4
|
* tm27: Avoid function pointer castsSebastian Huber2023-01-241-2/+2
| | | | | | | Add TM27_USE_VECTOR_HANDLER to select the interrupt handler type used by the <tm27.h> implementation. Close #4820.
* Do not use RTEMS_INLINE_ROUTINESebastian Huber2022-09-191-1/+1
| | | | | | | Directly use "static inline" which is available in C99 and later. This brings the RTEMS implementation closer to standard C. Close #3935.
* bsp_specs: Delete last remnants of these.Joel Sherrill2021-11-291-0/+0
| | | | Updates #3937.
* build: Remove old build systemSebastian Huber2021-09-211-11/+0
| | | | | Close #3250. Close #4081.
* powerpc/motorola_powerpc: Map LibBSD bus space to the PCI base addressChris Johns2021-09-191-3/+29
|
* bsps/irq: Remove BSP_INTERRUPT_VECTOR_MAXSebastian Huber2021-06-241-1/+0
| | | | | | This define is no longer used. Update #3269.
* bsps/irq: Add BSP_INTERRUPT_VECTOR_COUNTSebastian Huber2021-06-241-0/+1
| | | | | | | | | | | | | 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-241-1/+0
| | | | | | | | | | 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.
* 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
* 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/motorola_powerpc: Fix tm27 warningsChris Johns2021-02-161-8/+16
|
* Update motorola_power to irq-generic interrupt managementChris Johns2021-02-132-5/+17
| | | | | | | | | | | | | | - 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
|
* bsps: Replace bsp_specs with an empty fileSebastian Huber2021-01-281-9/+0
| | | | | | | This fixes an issue with the latest tool chain which adds the default linker script in the endfile specification. Update #3250.
* bsps/powerpc: Fix tlbie instruction usageSebastian Huber2020-07-052-3/+3
| | | | | | | | 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.
* Use rtems_get_version_string()Sebastian Huber2020-05-061-1/+1
| | | | Update #3970.
* bsps: Add RTEMS_SYSINIT_BSP_EARLYSebastian Huber2020-02-041-7/+12
| | | | | | | Add new BSP system initialization step for work to be performed before the work areas are initialized. Update #3838.
* bsp/motorola_powerpc: Fix linker command fileSebastian Huber2019-06-271-1/+2
| | | | | | | | Fix the __size symbol value to reflect the total size of the bootloader. This prevents a bootloader crash with application images above a certain threshold (e.g. fileio sample program). Update #3727.
* bsps/powerpc: Adjust ppcboot.ldsSebastian Huber2019-05-271-10/+14
| | | | | | | | | | | | | | | | The GNU ld had a couple of changes which resulted in a broken bootloader image generation. Recent linker versions tie assignments to their nearest output section statement. Place all absolute symbols which are used with @sectoff relocations into a special section. See also: "Binutils 2.28 on PowerPC: dangerous relocation: generic linker can't handle R_PPC_SECTOFF_HA" https://www.sourceware.org/ml/binutils/2019-05/msg00183.html Update #3727
* bsps: Always build generic interrupt supportSebastian Huber2019-05-161-0/+1
| | | | | | | This makes it possible to write tests for the generic interrupt controller support. Update #3269.
* bsp/motorola_powerpc: Fix bootloader outputSebastian Huber2019-05-071-0/+4
|
* bsp/motorola_powerpc: Fix debug outputSebastian Huber2019-04-121-3/+3
| | | | Update #3122.
* Set the small data section size to max. for mvme5500 and mvme2100 BSPsChris Johns2019-03-301-0/+2
| | | | Closes #3728
* Remove superfluous <rtems/system.h> includesSebastian Huber2019-03-142-2/+0
|
* bsps: Adjust bsp.h Doxygen groupsSebastian Huber2019-03-081-0/+20
| | | | Update #3706.
* bsps/powerpc: Fix PAGE_ALIGN() macrosSebastian Huber2019-03-042-2/+2
| | | | | Previous warning fixes which include <sys/param.h> broke this macro. The definition of PAGE_MASK changed.
* bsp/motorola_powerpc: Include <sys/param.h>Sebastian Huber2018-11-094-0/+4
| | | | Update #3598.
* bsps/powerpc: Simplify ppc_exc_initialize()Sebastian Huber2018-09-061-13/+1
| | | | | | | Remove parameters from ppc_exc_initialize() since all BSPs passed the same values. Update #3459.
* motorola_powerpc/include/tm27.h: Fix prototype warningJoel Sherrill2018-08-101-4/+4
|
* bsps: Fix function declaration warningsSebastian Huber2018-07-241-3/+4
|
* Rework initialization and interrupt stack supportSebastian Huber2018-06-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Statically initialize the interrupt stack area (_Configuration_Interrupt_stack_area_begin, _Configuration_Interrupt_stack_area_end, and _Configuration_Interrupt_stack_size) via <rtems/confdefs.h>. Place the interrupt stack area in a special section ".rtemsstack.interrupt". Let BSPs define the optimal placement of this section in their linker command files (e.g. in a fast on-chip memory). This change makes makes the CPU_HAS_SOFTWARE_INTERRUPT_STACK and CPU_HAS_HARDWARE_INTERRUPT_STACK CPU port defines superfluous, since the low level initialization code has all information available via global symbols. This change makes the CPU_ALLOCATE_INTERRUPT_STACK CPU port define superfluous, since the interrupt stacks are allocated by confdefs.h for all architectures. There is no need for BSP-specific linker command file magic (except the section placement), see previous ARM linker command file as a bad example. Remove _CPU_Install_interrupt_stack(). Initialize the hardware interrupt stack in _CPU_Initialize() if necessary (e.g. m68k_install_interrupt_stack()). The optional _CPU_Interrupt_stack_setup() is still useful to customize the registration of the interrupt stack area in the per-CPU information. The initialization stack can reuse the interrupt stack, since * interrupts are disabled during the sequential system initialization, and * the boot_card() function does not return. This stack resuse saves memory. Changes per architecture: arm: * Mostly replace the linker symbol based configuration of stacks with the standard <rtems/confdefs.h> configuration via CONFIGURE_INTERRUPT_STACK_SIZE. The size of the FIQ, ABT and UND mode stack is still defined via linker symbols. These modes are rarely used in applications and the default values provided by the BSP should be sufficient in most cases. * Remove the bsp_processor_count linker symbol hack used for the SMP support. This is possible since the interrupt stack area is now allocated by the linker and not allocated from the heap. This makes some configure.ac stuff obsolete. Remove the now superfluous BSP variants altcycv_devkit_smp and realview_pbx_a9_qemu_smp. bfin: * Remove unused magic linker command file allocation of initialization stack. Maybe a previous linker command file copy and paste problem? In the start.S the initialization stack is set to a hard coded value. lm32, m32c, mips, nios2, riscv, sh, v850: * Remove magic linker command file allocation of initialization stack. Reuse interrupt stack for initialization stack. m68k: * Remove magic linker command file allocation of initialization stack. Reuse interrupt stack for initialization stack. powerpc: * Remove magic linker command file allocation of initialization stack. Reuse interrupt stack for initialization stack. * Used dedicated memory region (REGION_RTEMSSTACK) for the interrupt stack on BSPs using the shared linkcmds.base (replacement for REGION_RWEXTRA). sparc: * Remove the hard coded initialization stack. Use the interrupt stack for the initialization stack on the boot processor. This saves 16KiB of RAM. Update #3459.
* Add _CPU_Counter_frequency()Sebastian Huber2018-06-151-3/+5
| | | | | | | | | | Add rtems_counter_frequency() API function. Use it to initialize the counter value converter via the new system initialization step (RTEMS_SYSINIT_CPU_COUNTER). This decouples the counter implementation and the counter converter. It avoids an unnecessary pull in of the 64-bit integer division from libgcc. Update #3456.
* motorola_powerpc: Move -Dxxx to configure.acJoel Sherrill2018-05-185-7/+7
| | | | Updates #3425.
* bsps: Move documentation, etc. files to bspsSebastian Huber2018-04-269-0/+608
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move motorola.c to bspsSebastian Huber2018-04-241-0/+432
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move residual.c to bspsSebastian Huber2018-04-241-0/+104
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps/powerpc: Move bootloader to bspsSebastian Huber2018-04-2419-0/+12524
| | | | | | | | This bootloader is only used by the motorola_powerpc BSP. This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move make/custom/* files to bspsSebastian Huber2018-04-236-0/+197
| | | | | | | | | Adjust various build files. Remove automatic generation of the c/src/lib/libbsp/*/acinclude.m4 files from bootstrap script. This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move startup files to bspsSebastian Huber2018-04-203-0/+43
| | | | | | | | Adjust build support files to new directory layout. This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Convert all bsp_predriver_hook()Sebastian Huber2018-04-201-0/+8
| | | | | | Use RTEMS_SYSINIT_ITEM() instead. Update #2408.
* bsp/motorola_powerpc: Move bspstart.c to bspsSebastian Huber2018-04-201-0/+376
| | | | | | | | This shared powerpc file was only used by this BSP. This patch is a part of the BSP source reorganization. Update #3285.
* bsp/motorola_powerpc: Move polled_io.cSebastian Huber2018-04-123-0/+1590
| | | | | | | | This file was used by this BSP only. Avoid RTEMS_RELLDFLAGS. This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move network define to source filesSebastian Huber2018-01-311-0/+5
| | | | | Define __INSIDE_RTEMS_BSD_TCPIP_STACK__ in the network interface driver source files to avoid some build system magic.
* Remove make preinstallChris Johns2018-01-255-0/+760
A speciality of the RTEMS build system was the make preinstall step. It copied header files from arbitrary locations into the build tree. The header files were included via the -Bsome/build/tree/path GCC command line option. This has at least seven problems: * The make preinstall step itself needs time and disk space. * Errors in header files show up in the build tree copy. This makes it hard for editors to open the right file to fix the error. * There is no clear relationship between source and build tree header files. This makes an audit of the build process difficult. * The visibility of all header files in the build tree makes it difficult to enforce API barriers. For example it is discouraged to use BSP-specifics in the cpukit. * An introduction of a new build system is difficult. * Include paths specified by the -B option are system headers. This may suppress warnings. * The parallel build had sporadic failures on some hosts. This patch removes the make preinstall step. All installed header files are moved to dedicated include directories in the source tree. Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc, etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g. erc32, imx, qoriq, etc. The new cpukit include directories are: * cpukit/include * cpukit/score/cpu/@RTEMS_CPU@/include * cpukit/libnetworking The new BSP include directories are: * bsps/include * bsps/@RTEMS_CPU@/include * bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include There are build tree include directories for generated files. The include directory order favours the most general header file, e.g. it is not possible to override general header files via the include path order. The "bootstrap -p" option was removed. The new "bootstrap -H" option should be used to regenerate the "headers.am" files. Update #3254.