summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/powerpc/shared/include/powerpc-utility.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove make preinstallChris Johns2018-01-251-985/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* bsp/qoriq: Use LA to load an addressSebastian Huber2017-08-221-0/+8
| | | | | | Add 64-bit support for LA. 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-221-0/+5
| | | | Update #3082.
* powerpc: Add _CPU_Get_current_per_CPU_control()Sebastian Huber2016-11-101-1/+8
| | | | | | | | Add _CPU_Get_current_per_CPU_control() on SMP configurations. Use SPRG0 for the current per-CPU control. This reduces the code size by three instructions and is slightly faster. Update #2805.
* score: Rename _ISR_Disable_without_giant()Sebastian Huber2016-05-201-12/+12
| | | | | | | | | Rename _ISR_Disable_without_giant() into _ISR_Local_disable(). Rename _ISR_Enable_without_giant() into _ISR_Local_enable(). This is a preparation to remove the Giant lock. Update #2555.
* SMP: Fix and optimize thread dispatchingSebastian Huber2015-09-281-1/+8
| | | | | | | | According to the C11 and C++11 memory models only a read-modify-write operation guarantees that we read the last value written in modification order. Avoid the sequential consistent thread fence and instead use the inter-processor interrupt to set the thread dispatch necessary indicator.
* bsps/powerpc: Add TMR access macrosSebastian Huber2015-01-091-0/+28
|
* bsp/gen5200: Fix warningsSebastian Huber2014-10-101-0/+6
|
* bsps/powerpc: SMP support for SPR functionsSebastian Huber2014-04-161-19/+19
| | | | | These registers are local to a processor, there is no need to use SMP locks here.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-211-1/+1
|
* bsps/powerpc: Fix GET_INTERRUPT_MASK macroSebastian Huber2014-03-121-1/+2
| | | | | Use _PPC_INTERRUPT_DISABLE_MASK introduced with 801b5d80325dbd3e92218271d54e75f389da7136.
* bsps/powerpc: Per-CPU thread dispatch disableSebastian Huber2013-08-091-6/+20
| | | | Interrupt support for per-CPU thread dispatch disable level.
* bsps/powerpc: Add ppc_count_leading_zeros()Sebastian Huber2013-07-091-0/+13
|
* Use proper 3 line form of license textJoel Sherrill2012-10-111-2/+3
|
* 2011-05-19 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-05-191-14/+13
| | | | | * shared/include/powerpc-utility.h: API changes for ppc_*_cache_*() functions.
* 2011-05-11 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-05-111-0/+35
| | | | | * shared/include/powerpc-utility.h: Added ppc_fsl_system_version*() functions.
* 2011-02-16 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-02-161-2/+198
| | | | | | * shared/include/powerpc-utility.h: Fixed LINKER_SYMBOL() for assembler compatibilty. Added synchronization, cache, and alternate time base functions.
* 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-111-31/+31
| | | | | | | | | | | | | | * e500/mmu/mmu.c, mpc505/ictrl/ictrl.c, mpc505/timer/timer.c, mpc5xx/ictrl/ictrl.c, mpc5xx/timer/timer.c, mpc6xx/altivec/vec_sup.c, mpc6xx/clock/c_clock.c, mpc6xx/mmu/bat.c, mpc6xx/mmu/bat.h, mpc6xx/mmu/pte121.c, mpc8260/timer/timer.c, mpc8xx/timer/timer.c, new-exceptions/cpu.c, new-exceptions/bspsupport/ppc_exc_initialize.c, ppc403/clock/clock.c, ppc403/console/console.c, ppc403/console/console.c.polled, ppc403/console/console405.c, ppc403/irq/ictrl.c, ppc403/tty_drv/tty_drv.c, rtems/powerpc/cache.h, shared/include/powerpc-utility.h, shared/src/cache.c: Use "__asm__" instead of "asm" for improved c99-compliance.
* Whitespace removal.Ralf Corsepius2009-11-301-7/+7
|
* various PowerPC code maintenanceThomas Doerfler2009-11-031-14/+15
|
* move timebase access functions from cpukit to libcpuThomas Doerfler2009-10-301-0/+110
|
* Update for exception support changes.Thomas Doerfler2009-10-231-225/+244
|
* shared/include/utility.h: Removed file.Thomas Doerfler2008-10-101-6/+6
| | | | | | shared/include/powerpc-utility.h: Use constraint "b" for address base registers in inline assembler statements. Update for status-checks.h changes.
* Index: ChangeLogJoel Sherrill2008-08-221-8/+16
| | | | | | | | | | | | | | | | | | =================================================================== RCS file: /usr1/CVS/rtems/c/src/lib/libcpu/powerpc/ChangeLog,v retrieving revision 1.309 diff -u -r1.309 ChangeLog --- ChangeLog 20 Aug 2008 17:29:18 -0000 1.309 +++ ChangeLog 22 Aug 2008 13:35:03 -0000 @@ -1,3 +1,8 @@ +2008-08-22 Sebastian Huber <sebastian.huber@embedded-brains.de> + + * shared/include/powerpc-utility.h: Fixed parameter evaluation in + special purpose register macros. + 2008-08-20 Sebastian Huber <sebastian.huber@embedded-brains.de> * mpc55xx/fec/fec.c: Added copyright information.
* Changed special purpose register inline functions to macros.Thomas Doerfler2008-07-181-176/+168
| | | | | fixed some minors in mpc83xx support added file for mpc55xx watchdog support
* Fixed typo in access macros for device control registers (DCR)Thomas Doerfler2008-07-171-2/+2
|
* 2008-07-16 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-07-161-1/+8
| | | | | * shared/include/powerpc-utility.h: Added GET_INTERRUPT_MASK macro.
* updated gen83xx BSPThomas Doerfler2008-07-141-67/+67
| | | | | updated haleakala BSP added MPC55xx BSP
* added haleakala BSP contributed by Michael HamelThomas Doerfler2008-07-141-0/+20
|
* changed names of internal macrosThomas Doerfler2008-07-101-37/+50
|
* Includes standard header files,Thomas Doerfler2008-07-101-0/+490
provides common assembler macros and inline functions for low-level code.