summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/powerpc/shared (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Add support for IBM PowerPC 750 chip.Phong Pham2017-05-292-0/+4
| | | | Closes #3015.
* bsps/powerpc: Fix warningsSebastian Huber2017-02-151-1/+2
|
* 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: Fix switch statement in CPU identSebastian Huber2015-01-231-0/+2
| | | | Close #2237.
* bsps/powerpc: Add TMR access macrosSebastian Huber2015-01-091-0/+28
|
* bsps/powerpc: Add cache size functionsSebastian Huber2015-01-091-0/+46
|
* bsps/powerpc: Delete C pre-processor warningSebastian Huber2015-01-091-2/+0
| | | | Do not warn about not implemented cache functions.
* bsps/powerpc: Support e6500 indentificationSebastian Huber2015-01-092-0/+12
|
* Use fixed-width C99 types for PowerPC in_be16() and co.Nick Withers2014-12-231-21/+22
| | | | | | Also use the const qualifier on the address pointer's target in in_*() Closes #2128
* 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-219-9/+9
|
* 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
|
* bsps/powerpc: Add and use ppc_cpu_is_specific_e200Sebastian Huber2013-02-061-0/+5
|
* bsps/powerpc: Fix e200 checkSebastian Huber2013-02-061-4/+2
|
* bsps/powerpc: Do not use GCC extern inlineRalf Kirchner2012-11-291-12/+8
|
* Use proper 3 line form of license textJoel Sherrill2012-10-111-2/+3
|
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-119-18/+0
| | | | | | | | | | | | Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
* Add Virtex4 and Virtex5 BSPsRic Claus2012-03-302-2/+7
| | | | | | | | | | | | | | | | | This commit covers at least PR2020, 2022, and 2023. This patch adds all of the code for both BSPs, modifications to libcpu/powerpc for the ppc440, and some updates to the BSPs from follow up review and testing. These BSPs should be good baselines for future development. The configurations used by Ric are custom and have a non-standard NIC. They also do not have a UART. Thus the current console driver just prints to a RAM buffer. The NIC and UART support are left for future work. When the UART support is added, moving the existing "to RAM" console driver to a shared location is likely desirable because boards with no debug UART port are commonly deployed. This would let printk() go to RAM.
* Support for MPC5643L.Sebastian Huber2012-01-232-0/+5
| | | | | Rework of the start sequence to reduce the amount assembler code and to support configuration tables which may be provided by the application.
* 2011-12-01 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-012-2/+2
| | | | | * shared/include/cpuIdent.c, shared/include/cpuIdent.h (get_ppc_cpu_type_name): Return const char*.
* 2011-08-31 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-08-312-7/+12
| | | | | * new-exceptions/bspsupport/ppc_exc_categories.c, shared/include/cpuIdent.c, shared/include/cpuIdent.h: Support e200z7.
* 2011-08-24 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-08-242-5/+5
| | | | | | | * mpc6xx/clock/c_clock.c, mpc6xx/mmu/mmuAsm.S, new-exceptions/bspsupport/ppc_exc_global_handler.c, shared/include/cpuIdent.c, shared/src/stack.c: Update due to API changes.
* 2011-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-06-072-291/+260
| | | | | | | * shared/src/cache_.h: Moved implementation from "cache.c" to here. This avoids the function call overhead. * shared/src/cache.c: Removed file. * Makefile.am: Reflect changes above.
* 2011-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-06-071-5/+1
| | | | * shared/src/cache_.h: Include required header file.
* 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-03-10 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-03-101-6/+6
| | | | * shared/include/cpuIdent.h: Fixed warnings.
* 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-112-36/+36
| | | | | | | | | | | | | | * 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.
* 2011-01-28 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-01-288-8/+8
| | | | | | | | | | | | | | | | | | | | | | * mpc5xx/exceptions/raw_exception.c, mpc5xx/exceptions/raw_exception.h, mpc5xx/include/console.h, mpc5xx/include/mpc5xx.h, mpc5xx/irq/irq.c, mpc5xx/irq/irq.h, mpc5xx/irq/irq_asm.S, mpc5xx/vectors/vectors.h, mpc5xx/vectors/vectors_init.c, mpc6xx/mmu/bat.c, mpc6xx/mmu/bat.h, mpc6xx/mmu/mmuAsm.S, new-exceptions/bspsupport/irq.c, new-exceptions/bspsupport/irq_supp.h, new-exceptions/bspsupport/nested_irq_test.c, new-exceptions/bspsupport/ppc_exc_address.c, new-exceptions/bspsupport/ppc_exc_categories.c, new-exceptions/bspsupport/ppc_exc_global_handler.c, new-exceptions/bspsupport/ppc_exc_hdl.c, new-exceptions/bspsupport/ppc_exc_initialize.c, new-exceptions/bspsupport/ppc_exc_prologue.c, new-exceptions/bspsupport/ppc_exc_test.c, new-exceptions/bspsupport/vectors.h, shared/include/byteorder.h, shared/include/cpuIdent.c, shared/include/cpuIdent.h, shared/include/io.h, shared/include/mmu.h, shared/include/page.h, shared/include/pgtable.h, shared/include/spr.h: Fix typo where license said found in found in.
* 2010-12-29 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-12-292-41/+18
| | | | | | | | | | | | | | | | * shared/include/cpuIdent.c, shared/include/cpuIdent.h: Added support for e500v2. Removed IVPR/IVOR/HWIVOR features since they are included in Book E. * new-exceptions/bspsupport/vectors.h, new-exceptions/bspsupport/ppc_exc.S, new-exceptions/bspsupport/ppc_exc_address.c, new-exceptions/bspsupport/ppc_exc_categories.c, new-exceptions/bspsupport/ppc_exc_initialize.c, new-exceptions/bspsupport/ppc_exc_prologue.c: Added support for e500v2. Added exception vector defines for Book E types. Removed e200 exception vector defines. Added e500 exception vector defines. Unified IVOR calculation for e200 and e500 (e200z1 has hard wired IVOR values).
* skip version nibble when detecting e200 processor versionThomas Doerfler2010-04-072-3/+27
|
* changes to support GW_LCFMThomas Doerfler2010-04-072-6/+30
|
* Whitespace removal.Ralf Corsepius2009-11-306-22/+22
|
* 2009-11-15 Till Straumann <strauman@slac.stanford.edu>Till Straumann2009-11-151-0/+10
| | | | | * shared/include/cpuIdent.c: Set 604 features + altivec if running on PSIM.
* various PowerPC code maintenanceThomas Doerfler2009-11-033-14/+31
|
* move timebase access functions from cpukit to libcpuThomas Doerfler2009-10-301-0/+110
|
* Update for exception support changes.Thomas Doerfler2009-10-232-230/+260
|
* 2009-09-25 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-09-252-12/+12
| | | | | * shared/include/io.h, shared/include/mmu.h: Change extern inline to static inline.
* 2009-05-05 Jennifer Averett <jennifer.averett@OARcorp.com>Jennifer Averett2009-05-051-2/+2
| | | | | | | | * mpc6xx/mmu/bat.c, new-exceptions/e500_raw_exc_init.c, new-exceptions/raw_exception.h, new-exceptions/bspsupport/irq_supp.h, shared/include/cpuIdent.c: Removed warnings. Split bsp_irq_dispatch_list to allow non-standard/non-existant pics to call with interrupts off.
* 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.