summaryrefslogtreecommitdiffstats
path: root/bsps/powerpc/shared (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Rework initialization and interrupt stack supportSebastian Huber2018-06-271-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* bsps: Support .rtemsstack.* linker input sectionsSebastian Huber2018-06-272-5/+10
| | | | | | Use a dedicated memory region or place it between the BSS and workspace. Update #3459.
* bsp/powerpc: Remove wildcards in linkcmds.baseSebastian Huber2018-05-181-3/+3
| | | | | | | | | | | | This reverts commit 40c623a883da5dd80e4599cf4cd14097834706bd. The use of postfix wildcards, e.g. of the form "*.x" is dangerous since it circumvents the standard matching rules for sections. Unknown input sections should be added explicitly to the desired output section via "x.*" wildcards. Update #3307.
* bsps/powerpc: Move bsp-start-zero.S to bspsSebastian Huber2018-04-261-0/+115
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move spansionFlash.c to bspsSebastian Huber2018-04-241-0/+477
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move intelFlash.c to bspsSebastian Huber2018-04-241-0/+464
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move flash.c to bspsSebastian Huber2018-04-241-0/+909
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move vpd.c to bspsSebastian Huber2018-04-241-0/+322
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move showbats.c to bspsSebastian Huber2018-04-241-0/+51
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move ppc-exc-handler-table.c to bspsSebastian Huber2018-04-241-0/+67
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move memcpy.c to bspsSebastian Huber2018-04-241-0/+126
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move tictac.c to bspsSebastian Huber2018-04-241-0/+32
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move uboot_dump_bdinfo.c to bspsSebastian Huber2018-04-241-0/+79
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move uboot_getenv.c to bspsSebastian Huber2018-04-241-0/+74
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move PCI drivers to bspsSebastian Huber2018-04-234-0/+1112
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move RTC drivers to bspsSebastian Huber2018-04-231-0/+66
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move interrupt controller support to bspsSebastian Huber2018-04-234-0/+1466
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move startup files to bspsSebastian Huber2018-04-2010-0/+1534
| | | | | | | | Adjust build support files to new directory layout. This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move start files to bspsSebastian Huber2018-04-205-0/+602
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move console drivers to bspsSebastian Huber2018-04-202-0/+1095
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps/powerpc: Move shared btimer supportSebastian Huber2018-04-201-0/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move clock drivers to bspsSebastian Huber2018-04-204-0/+290
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move doxygen.h files to bspsSebastian Huber2018-04-201-0/+15
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Remove librtemsbsp.a wrapupSebastian Huber2018-04-093-23/+23
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move VME support to bspsSebastian Huber2018-04-0911-0/+6401
| | | | | | | | The VME support is only used by powerpc BSPs. This patch is a part of the BSP source reorganization. Update #3285.
* bsps/powerpc: Rename to shared-sources.amSebastian Huber2018-04-051-0/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps/powerpc: Rename to exceptions-sources.amSebastian Huber2018-04-051-0/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps/powerpc: Move dec timer driverSebastian Huber2018-03-261-0/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps/powerpc: Move ppc403 clock driver to bspsSebastian Huber2018-03-261-0/+275
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps/powerpc: Move AltiVec support to bspsSebastian Huber2018-03-263-0/+1278
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps/powerpc: Move dec clock driver to bspsSebastian Huber2018-03-261-0/+266
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.