summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/powerpc (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-03-26bsps/powerpc: Remove libcpu/powerpcSebastian Huber3-113/+0
This patch is a part of the BSP source reorganization. Update #3285.
2018-03-26bsps/powerpc: Move ppc403 clock driver to bspsSebastian Huber2-308/+0
This patch is a part of the BSP source reorganization. Update #3285.
2018-03-26bsps/powerpc: Remove unused filesSebastian Huber8-2470/+0
This patch is a part of the BSP source reorganization. Update #3285.
2018-03-26bsps/powerpc: Move AltiVec support to bspsSebastian Huber4-1287/+0
This patch is a part of the BSP source reorganization. Update #3285.
2018-03-26bsps/powerpc: Move dec clock driver to bspsSebastian Huber2-281/+0
This patch is a part of the BSP source reorganization. Update #3285.
2018-03-26bsps/powerpc: Move MMU support to bspsSebastian Huber5-2861/+0
This patch is a part of the BSP source reorganization. Update #3285.
2018-03-26bsp/tqm8xx: Move libcpu content to bspsSebastian Huber7-1573/+0
This patch is a part of the BSP source reorganization. Update #3285.
2018-03-26bsp/mpc8260: Move libcpu content to bspsSebastian Huber7-1592/+0
This patch is a part of the BSP source reorganization. Update #3285.
2018-03-26bsps/powerpc: Move libcpu content to bspsSebastian Huber5-3595/+0
This patch is a part of the BSP source reorganization. Update #3285.
2018-03-22bsps/mpc55xx: Move libcpu content to bspsSebastian Huber10-2296/+0
This patch is a part of the BSP source reorganization. Update #3285.
2018-03-22bsps/mpc55xx: Remove unused filesSebastian Huber2-733/+0
This patch is a part of the BSP source reorganization. Update #3285.
2018-03-22bsp/powerpc: Move libcpu timer to bspsSebastian Huber5-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.
2018-03-22bsps/powerpc: Remove bsp_timer_internal_clockSebastian Huber1-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.
2018-03-19bsp/ss555: Move libcpu content to bspsSebastian Huber11-1896/+0
This patch is a part of the BSP source reorganization. Update #3285.
2018-03-19bsps/powerpc: Move exceptions support to bspsSebastian Huber18-4256/+0
This patch is a part of the BSP source reorganization. Update #3285.
2018-03-19bsps/powerpc: Remove unused filesSebastian Huber4-464/+0
This patch is a part of the BSP source reorganization. Update #3285.
2018-03-19bsps/powerpc: Move basic support to bspsSebastian Huber5-1044/+1
This patch is a part of the BSP source reorganization. Update #3285.
2018-03-19bsps/powerpc: Move legacy IRQ supportSebastian Huber2-399/+0
This patch is a part of the BSP source reorganization. Update #3285.
2018-03-13Add PowerPC paravirtualization supportJoel Sherrill2-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.
2018-02-05bsps/powerpc: Remove support for mpc505Sebastian Huber5-220/+0
Close #3270.
2018-01-31bsps: Rework cache manager implementationSebastian Huber2-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.
2018-01-31bsps: Move network define to source filesSebastian Huber2-2/+2
Define __INSIDE_RTEMS_BSD_TCPIP_STACK__ in the network interface driver source files to avoid some build system magic.
2018-01-25Remove make preinstallChris Johns59-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.
2018-01-15bsps: Add AM_CPPFLAGS to special case CPPFLAGSSebastian Huber1-2/+2
This is necessary to pick up mandatory flags provided by the build system. Update #3254.
2018-01-04bsps/powerpc: Use public include pathChris Johns6-8/+11
Update #3254.
2018-01-03bsps/powerpc: Remove unused RTEMS_CPU_MODELSebastian Huber1-17/+3
2018-01-02bsp/mpc55xxevb: Move <bsp/irq.h>Sebastian Huber3-510/+0
Update #3254. Update #3268.
2017-12-08bsps: Do not install <libcpu/cache.h>Sebastian Huber2-6/+0
This is a cache manager implementation header file. Update #3254.
2017-12-07bsps/powerpc: Fix mpc83xx_i2cdrv.h locationSebastian Huber3-17/+16
Update #3254.
2017-11-22powerpc: Replace BSP_panic() with rtems_panic()Sebastian Huber1-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.
2017-11-20bsps/powerpc: Fix PPC_EXC_CONFIG_USE_FIXED_HANDLERSebastian Huber1-0/+7
For the SPE support we must store the upper half of r3 as well. Update #3085.
2017-10-09bsps/powerpc: Fix robust thread dispatch againSebastian Huber1-3/+1
Use the saved MSR to account for FPU and AltiVec settings. Update #2811.
2017-09-28bsps: Fix integer to/from pointer warningsSebastian Huber2-4/+4
Update #3082.
2017-09-28bsps/powerpc: Fix print format warningsSebastian Huber2-37/+37
2017-09-21bsps/powerpc: Fix robust thread dispatchSebastian Huber1-6/+21
Implement thread dispatch code in ppc_exc_wrapup() similar to ppc_exc_interrupt(). Update #2811.
2017-09-20bsps/powerpc: Fix PPC_EXC_CONFIG_USE_FIXED_HANDLERSebastian Huber2-4/+6
Fix link-time error on BSPs not using PPC_EXC_CONFIG_USE_FIXED_HANDLER. Update #3085.
2017-09-19bsps/powerpc: PPC_EXC_CONFIG_USE_FIXED_HANDLERSebastian Huber3-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.
2017-09-12Simplify and unify BSP_output_charSebastian Huber1-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.
2017-08-22powerpc: PPC64_NOP_FOR_LINKER_TOC_POINTER_RESTORESebastian Huber2-0/+4
In 64-bit mode, the linker must have the ability to restore the TOC pointer after an external function call. Update #3082.
2017-08-22bsp/qoriq: Use LA to load an addressSebastian Huber1-0/+8
Add 64-bit support for LA. Update #3082.
2017-08-22bsps/powerpc: Rename ppc_exc_wrap_async_normal_endSebastian Huber1-1/+1
Rename ppc_exc_wrap_async_normal_end to ppc_exc_interrupt_end to avoid a bit of obfuscation. Update #3082.
2017-08-22bsps/powerpc: Add 64-bit SET_SELF_CPU_CONTROLSebastian Huber1-7/+12
Update #3082.
2017-08-22powerpc: Add 64-bit context/interrupt supportSebastian Huber7-151/+147
Update #3082.
2017-08-22powerpc: 64-bit _CPU_Context_Initialize() supportSebastian Huber2-7/+13
Update #3082.
2017-08-01bsps/powerpc: Add PPC_EXC_INTERRUPT_FRAME_SIZESebastian Huber2-2/+4
Use a specific define for the interrupt exception frame size. Update #3082.
2017-08-01bsps/powerpc: Rename ppc_exc_wrap_async_normalSebastian Huber1-3/+3
Rename ppc_exc_wrap_async_normal to ppc_exc_interrupt to avoid a bit of obfuscation. Update #3082.
2017-07-31bsp/qoriq: Simplify fatal exceptionsSebastian Huber3-2/+236
Avoid use of small-data area, since it is not supported in the ELFv2 ABI by GCC. Update #3082.
2017-07-31bsps/powerpc: Fix format specifiersSebastian Huber1-39/+39
2017-06-20bsps: Improve interrupt vector enable/disable APISebastian Huber1-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.
2017-06-09Simplify TLS support in context switchSebastian Huber1-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().