summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/powerpc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsps/powerpc: Remove libcpu/powerpcSebastian Huber2018-03-263-113/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps/powerpc: Move ppc403 clock driver to bspsSebastian Huber2018-03-262-308/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps/powerpc: Remove unused filesSebastian Huber2018-03-268-2470/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps/powerpc: Move AltiVec support to bspsSebastian Huber2018-03-264-1287/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps/powerpc: Move dec clock driver to bspsSebastian Huber2018-03-262-281/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps/powerpc: Move MMU support to bspsSebastian Huber2018-03-265-2861/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsp/tqm8xx: Move libcpu content to bspsSebastian Huber2018-03-267-1573/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsp/mpc8260: Move libcpu content to bspsSebastian Huber2018-03-267-1592/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps/powerpc: Move libcpu content to bspsSebastian Huber2018-03-265-3595/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps/mpc55xx: Move libcpu content to bspsSebastian Huber2018-03-2210-2296/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps/mpc55xx: Remove unused filesSebastian Huber2018-03-222-733/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsp/powerpc: Move libcpu timer to bspsSebastian Huber2018-03-225-392/+0
| | | | | | | | | Use only one timer driver variant based on the standard PowerPC time base. This patch is a part of the BSP source reorganization. Update #3285.
* bsps/powerpc: Remove bsp_timer_internal_clockSebastian Huber2018-03-221-11/+2
| | | | | | | | | | | | | The only consumer of this variable was the ppc403 clock driver used by the * haleakala, * virtex, and * virtex4 BSPs which set bsp_timer_internal_clock unconditionally to true. Update #3285.
* bsp/ss555: Move libcpu content to bspsSebastian Huber2018-03-1911-1896/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps/powerpc: Move exceptions support to bspsSebastian Huber2018-03-1918-4256/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps/powerpc: Remove unused filesSebastian Huber2018-03-194-464/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps/powerpc: Move basic support to bspsSebastian Huber2018-03-195-1044/+1
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps/powerpc: Move legacy IRQ supportSebastian Huber2018-03-192-399/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* Add PowerPC paravirtualization supportJoel Sherrill2018-03-132-3/+23
| | | | | | | | | Cannot read or write MSR when executing in user mode. This is used when RTEMS_PARAVIRT is defined. Provide alternate methods to disable/enable interrupts Closes #3306.
* bsps/powerpc: Remove support for mpc505Sebastian Huber2018-02-055-220/+0
| | | | Close #3270.
* bsps: Rework cache manager implementationSebastian Huber2018-01-312-330/+0
| | | | | | | | | | | | | | | | | | The previous cache manager support used a single souce file (cache_manager.c) which included an implementation header (cache_.h). This required the use of specialized include paths to find the right header file. Change this to include a generic implementation header (cacheimpl.h) in specialized source files. Use the following directories and files: * bsps/shared/cache * bsps/@RTEMS_CPU@/shared/cache * bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILY/start/cache.c Update #3285.
* bsps: Move network define to source filesSebastian Huber2018-01-312-2/+2
| | | | | Define __INSIDE_RTEMS_BSD_TCPIP_STACK__ in the network interface driver source files to avoid some build system magic.
* Remove make preinstallChris Johns2018-01-2559-59408/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* bsps: Add AM_CPPFLAGS to special case CPPFLAGSSebastian Huber2018-01-151-2/+2
| | | | | | | This is necessary to pick up mandatory flags provided by the build system. Update #3254.
* bsps/powerpc: Use public include pathChris Johns2018-01-046-8/+11
| | | | Update #3254.
* bsps/powerpc: Remove unused RTEMS_CPU_MODELSebastian Huber2018-01-031-17/+3
|
* bsp/mpc55xxevb: Move <bsp/irq.h>Sebastian Huber2018-01-023-510/+0
| | | | | Update #3254. Update #3268.
* bsps: Do not install <libcpu/cache.h>Sebastian Huber2017-12-082-6/+0
| | | | | | This is a cache manager implementation header file. Update #3254.
* bsps/powerpc: Fix mpc83xx_i2cdrv.h locationSebastian Huber2017-12-073-17/+16
| | | | Update #3254.
* powerpc: Replace BSP_panic() with rtems_panic()Sebastian Huber2017-11-221-3/+3
| | | | | | | | Due to a new rtems_panic() implementation, it is possible to replace the PowerPC-specific BSP_panic() with rtems_panic(). Remove BSP_panic() implementations. Close #3245.
* bsps/powerpc: Fix PPC_EXC_CONFIG_USE_FIXED_HANDLERSebastian Huber2017-11-201-0/+7
| | | | | | For the SPE support we must store the upper half of r3 as well. Update #3085.
* bsps/powerpc: Fix robust thread dispatch againSebastian Huber2017-10-091-3/+1
| | | | | | Use the saved MSR to account for FPU and AltiVec settings. Update #2811.
* bsps: Fix integer to/from pointer warningsSebastian Huber2017-09-282-4/+4
| | | | Update #3082.
* bsps/powerpc: Fix print format warningsSebastian Huber2017-09-282-37/+37
|
* bsps/powerpc: Fix robust thread dispatchSebastian Huber2017-09-211-6/+21
| | | | | | | Implement thread dispatch code in ppc_exc_wrapup() similar to ppc_exc_interrupt(). Update #2811.
* bsps/powerpc: Fix PPC_EXC_CONFIG_USE_FIXED_HANDLERSebastian Huber2017-09-202-4/+6
| | | | | | Fix link-time error on BSPs not using PPC_EXC_CONFIG_USE_FIXED_HANDLER. Update #3085.
* bsps/powerpc: PPC_EXC_CONFIG_USE_FIXED_HANDLERSebastian Huber2017-09-193-179/+107
| | | | | | | | | Make PPC_EXC_CONFIG_USE_FIXED_HANDLER mandatory for BSPs using ppc_exc_interrupt(). Pass exception number to bsp_interrupt_dispatch() to allow processing of decrementer and doorbell exceptions as hypervisor guest. Update #3085.
* Simplify and unify BSP_output_charSebastian Huber2017-09-121-3/+0
| | | | | | | | The BSP_output_char should output a char and not mingle with high level processing, e.g. '\n' to '\r\n' translation. Move this translation to rtems_putc(). Remove it from all the BSP_output_char implementations. Close #3122.
* powerpc: PPC64_NOP_FOR_LINKER_TOC_POINTER_RESTORESebastian Huber2017-08-222-0/+4
| | | | | | | In 64-bit mode, the linker must have the ability to restore the TOC pointer after an external function call. Update #3082.
* bsp/qoriq: Use LA to load an addressSebastian Huber2017-08-221-0/+8
| | | | | | Add 64-bit support for LA. Update #3082.
* bsps/powerpc: Rename ppc_exc_wrap_async_normal_endSebastian Huber2017-08-221-1/+1
| | | | | | | Rename ppc_exc_wrap_async_normal_end to ppc_exc_interrupt_end to avoid a bit of obfuscation. Update #3082.
* bsps/powerpc: Add 64-bit SET_SELF_CPU_CONTROLSebastian Huber2017-08-221-7/+12
| | | | Update #3082.
* powerpc: Add 64-bit context/interrupt supportSebastian Huber2017-08-227-151/+147
| | | | Update #3082.
* powerpc: 64-bit _CPU_Context_Initialize() supportSebastian Huber2017-08-222-7/+13
| | | | Update #3082.
* bsps/powerpc: Add PPC_EXC_INTERRUPT_FRAME_SIZESebastian Huber2017-08-012-2/+4
| | | | | | Use a specific define for the interrupt exception frame size. Update #3082.
* bsps/powerpc: Rename ppc_exc_wrap_async_normalSebastian Huber2017-08-011-3/+3
| | | | | | | Rename ppc_exc_wrap_async_normal to ppc_exc_interrupt to avoid a bit of obfuscation. Update #3082.
* bsp/qoriq: Simplify fatal exceptionsSebastian Huber2017-07-313-2/+236
| | | | | | | Avoid use of small-data area, since it is not supported in the ELFv2 ABI by GCC. Update #3082.
* bsps/powerpc: Fix format specifiersSebastian Huber2017-07-311-39/+39
|
* bsps: Improve interrupt vector enable/disable APISebastian Huber2017-06-201-12/+6
| | | | | | Change bsp_interrupt_vector_enable() and bsp_interrupt_vector_disable() to not return a status code. Add bsp_interrupt_assert() and use it to validate the vector number in the vector enable/disable implementations.
* Simplify TLS support in context switchSebastian Huber2017-06-091-1/+0
| | | | | | There is no need to save the thread pointer in _CPU_Context_switch() since it is a thread invariant. It is initialized once in _CPU_Context_Initialize().