summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/powerpc/mpc8xx (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-03-26bsp/tqm8xx: Move libcpu content to bspsSebastian Huber6-1546/+0
This patch is a part of the BSP source reorganization. Update #3285.
2018-03-22bsp/powerpc: Move libcpu timer to bspsSebastian Huber1-94/+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-01-25Remove make preinstallChris Johns4-1614/+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.
2017-03-22termios: Synchronize with latest FreeBSD headersKevin Kirspel1-2/+2
Adding modified FreeBSD headers to synchronize RTEMS termios with FreeBSD. Modify termios to support dedicated input and output baud for termios structure. Updated BSPs to use dedicated input and output baud in termios structure. Updated tools to use dedicated input and output baud in termios structure. Updated termios testsuites to use dedicated input and output baud in termios structure. Close #2897.
2016-05-20score: Rename _ISR_Disable() and _ISR_Enable()Sebastian Huber1-2/+2
Rename _ISR_Disable() into _ISR_Local_disable(). Rename _ISR_Enable() into _ISR_Local_enable(). Remove _Debug_Is_owner_of_giant(). This is a preparation to remove the Giant lock. Update #2555.
2014-12-12bsp/mpc8xx: Fix warningsSebastian Huber1-2/+0
close #2211
2014-12-12bsp/mpc8xx: Fix warningsSebastian Huber2-8/+2
close #2211
2014-10-16libcpu/powerpc/mpc8xx/console-generic/console-generic.c: Fix warningsJoel Sherrill1-6/+6
2014-10-09libcpu/powerpc/mpc8xx/clock: Fix warnings and clean upJoel Sherrill1-31/+27
2014-09-16Use correct prototype of benchmark_timer_read()Joel Sherrill1-9/+9
This change starts with removing the effectively empty file timerdrv.h. The prototypes for benchmark_timer_XXX() were in btimer.h which was not universally used. Thus every use of timerdrv.h had to be changed to btimer.h. Then the prototypes for benchmark_timer_read() had to be adjusted to return benchmark_timer_t rather than int or uint32_t. I took this opportunity to also correct the file headers to separate the copyright from the file description comments which is needed to ensure the copyright isn't propagated into Doxygen output.
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns6-6/+6
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill5-14/+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.
2012-05-03General - Remove extraneous blank line in license messageJoel Sherrill1-1/+0
Many files had an extra blank line in the license text found in the file header. This patch removes that line. * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * * http://www.rtems.com/license/LICENSE. The script that did this also turned off execute permission when it was turned on incorrectly.
2011-12-012011-12-01 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-15/+5
* mpc8260/console-generic/console-generic.c, mpc8xx/console-generic/console-generic.c: Eliminate unused var "nb_overflow".
2011-02-112011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-1/+1
* 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.
2009-12-17 adapted to new prototype for *_write functionThomas Doerfler2-7/+7
2009-11-30Whitespace removal.Ralf Corsepius9-119/+119
2009-11-03various PowerPC code maintenanceThomas Doerfler1-3/+6
2009-10-30remove depratated powerpc exception APIThomas Doerfler3-453/+0
2008-09-09minor additionsThomas Doerfler2-1/+17
i2c-driver: wait, 'til stop executed
2008-09-082008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill3-5/+6
* mpc8xx/clock/clock.c, mpc8xx/console-generic/console-generic.c, mpc8xx/timer/timer.c: Fix nested extern declaration warnings.
2008-09-08maintenanceThomas Doerfler2-2/+1
2008-09-08added support for flexible PLL in MPC866 and friendsThomas Doerfler1-4/+38
2008-09-052008-09-05 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-27/+0
* mpc5xx/clock/clock.c, mpc6xx/clock/c_clock.c, mpc8260/clock/clock.c, mpc8xx/clock/clock.c, ppc403/clock/clock.c, ppc403/clock/clock_4xx.c: The Shared Memory Driver no longer requires the special IOCTL in Clock_control. This was a hack which has existed since before the Classic API Timer Manager was implemented. All implementations of and references to Clock_control were removed.
2008-09-05Convert to "bool".Ralf Corsepius1-2/+2
2008-09-02Eliminate rtems_boolean.Ralf Corsepius1-2/+2
2008-08-312008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-11/+6
* mpc505/timer/timer.c, mpc5xx/timer/timer.c, mpc6xx/timer/timer.c, mpc8260/timer/timer.c, mpc8xx/timer/timer.c, ppc403/timer/timer.c: Rename timer driver methods to follow RTEMS programming conventions.
2008-08-20Add missing prototypes.Ralf Corsepius2-3/+3
2008-07-102008-07-10 Till Straumann <strauman@slac.stanford.edu>Till Straumann1-0/+1
* ChangeLog, mpc8xx/clock/clock.c, ppc403/clock/clock.c, ppc403/irq/ictrl.h, rtems/powerpc/powerpc.h: Removed all macro definitions which depended on the compiler defining a PPC CPU-model dependent symbol from files in cpukit. Macros which were not used by cpukit have been moved to libcpu/powerpc/rtems/powerpc/powerpc.h.
2008-04-242008-04-24 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-8/+0
* mpc8260/console-generic/console-generic.c, mpc8xx/console-generic/console-generic.c: Remove all references to console_reserve_resources and termios_reserve_resources.
2008-04-232008-04-23 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2-2/+0
* mpc5xx/console-generic/console-generic.c, mpc5xx/include/console.h, mpc8260/console-generic/console-generic.c, mpc8260/include/console.h, mpc8xx/console-generic/console-generic.c, mpc8xx/include/console.h: Remove all references to console_reserve_resources and termios_reserve_resources.
2007-11-282007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill3-18/+15
* mpc5xx/clock/clock.c, mpc5xx/timer/timer.c, mpc8260/clock/clock.c, mpc8260/cpm/brg.c, mpc8260/timer/timer.c, mpc8xx/clock/clock.c, mpc8xx/console-generic/console-generic.c, mpc8xx/timer/timer.c, new-exceptions/raw_exception.c, old-exceptions/cpu.c, ppc403/clock/clock.c, ppc403/console/console.c, ppc403/console/console.c.polled, ppc403/console/console405.c, ppc403/ictrl/ictrl.c, ppc403/irq/ictrl.c, ppc403/timer/timer.c, ppc403/tty_drv/tty_drv.c: Eliminate PowerPC specific elements from the CPU Table. They have been replaced with variables named bsp_XXX as needed.
2007-09-122007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-10/+10
PR 1257/bsps * mpc5xx/exceptions/raw_exception.c, mpc5xx/irq/irq.c, mpc6xx/exceptions/raw_exception.c, mpc8260/exceptions/raw_exception.c, mpc8xx/exceptions/raw_exception.c, new-exceptions/raw_exception.c, ppc403/ictrl/ictrl.c, ppc403/irq/ictrl.c: Code outside of cpukit should use the public API for rtems_interrupt_disable/rtems_interrupt_enable. By bypassing the public API and directly accessing _CPU_ISR_Disable and _CPU_ISR_Enable, they were bypassing the compiler memory barrier directive which could lead to problems. This patch also changes the type of the variable passed into these routines and addresses minor style issues.
2007-05-072007-05-07 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-1/+0
* mpc8xx/clock/clock.c: Remove unused var extclk_value.
2005-11-07Eliminate rtems_unsigned32.Ralf Corsepius1-2/+2
2005-09-132005-09-12 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>Joel Sherrill1-5/+35
PR 527/bsps PR 822/bsps * mpc8xx/clock/clock.c: Currently the MBX8xx BSP does not boot, because some logical errors are in the startup code. Additionally, the mpc8xx shared clock driver does not support the clocking scheme of some of the board variants, which are clocked from a 32768Hz (!) external crystal.
2005-08-122005-08-12 Phil Torre <ptorre@zetron.com>Joel Sherrill1-1/+1
PR 816/bsps * mpc8xx/include/mpc8xx.h: The struct which describes SCC Ethernet mode parameters (m8xxSCCENparms_t) does not match the hardware: members taddr_h and taddr_l are transposed. When loading new multicast group addresses into the hash table, the wrong hash bit is set.
2005-05-172005-05-17 Jennifer Averett <jennifer.averett@oarcorp.com>Jennifer Averett1-1/+1
* mpc5xx/irq/irq.c, mpc5xx/irq/irq.h, mpc8xx/console-generic/console-generic.c: Modified to use rtems/irq.h.
2005-05-11Remove.Ralf Corsepius2-110/+0
2005-05-052005-05-05 Jennifer Averett <jennifer.averett@oarcorp.com>Jennifer Averett1-10/+10
* mpc8xx/console-generic/console-generic.c: Added parameter to ISRs.
2005-05-032005-05-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-6/+6
* mpc8260/cpm/dpram.c, mpc8260/timer/timer.c, mpc8xx/cpm/dpram.c: Remove warnings.
2005-02-142005-02-14 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-0/+2
* mpc8xx/mmu/mmu.c, rtems/powerpc/cache.h, rtems/powerpc/powerpc.h: #include <rtems/powerpc/powerpc.h>.
2005-02-13New header guards.Ralf Corsepius5-11/+11
2005-02-112005-02-11 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-5/+5
* mpc8260/cpm/dpram.c, mpc8xx/cpm/dpram.c: Remove local rtems_panic, use #include <rtems/error.h>.
2005-01-072005-01-07 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-6/+6
* mpc505/Makefile.am, mpc5xx/Makefile.am, mpc6xx/Makefile.am, mpc8260/Makefile.am, mpc8xx/Makefile.am, ppc403/Makefile.am, shared/Makefile.am: Eliminate CFLAGS_OPTIMIZE_V.
2005-01-022005-01-02 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-62/+7
* mpc505/Makefile.am, mpc5xx/Makefile.am, mpc6xx/Makefile.am, mpc8260/Makefile.am, mpc8xx/Makefile.am, ppc403/Makefile.am, shared/Makefile.am: Remove build-variant support.
2004-04-15Remove stray white spaces.Ralf Corsepius4-4/+0
2004-04-132004-04-13 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-1/+1
* mpc505/ictrl/ictrl.c, mpc505/vectors/vectors.S, mpc6xx/exceptions/raw_exception.c, mpc8260/exceptions/raw_exception.c, mpc8xx/exceptions/raw_exception.c, rtems/powerpc/cache.h, mpc5xx/ictrl/ictrl.c, mpc5xx/exceptions/raw_exception.c: Include <rtems/score/powerpc.h> instead of <rtems/score/ppc.h>.
2004-04-012004-04-01 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2-2/+2
* mpc505/vectors/vectors.S: Include <rtems/asm.h> instead of <asm.h>. * mpc6xx/exceptions/asm_utils.S: Include <rtems/asm.h> instead of <asm.h>. * mpc6xx/mmu/mmuAsm.S: Include <rtems/asm.h> instead of <asm.h>. * mpc8260/exceptions/asm_utils.S: Include <rtems/asm.h> instead of <asm.h>. * mpc8xx/exceptions/asm_utils.S: Include <rtems/asm.h> instead of <asm.h>. * ppc403/vectors/vectors.S: Include <rtems/asm.h> instead of <asm.h>. * mpc5xx/exceptions/asm_utils.S: Include <rtems/asm.h> instead of <asm.h>. * mpc8260/clock/clock.c: Include <rtems/clockdrv.h> instead of <clockdrv.h>. * mpc8xx/clock/clock.c: Include <rtems/clockdrv.h> instead of <clockdrv.h>. * ppc403/clock/clock.c: Include <rtems/clockdrv.h> instead of <clockdrv.h>.
2004-03-312004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius9-501/+501
* mpc505/timer/timer.c, mpc5xx/timer/timer.c, mpc6xx/clock/c_clock.c, mpc6xx/timer/timer.c, mpc8260/clock/clock.c, mpc8260/console-generic/console-generic.c, mpc8260/cpm/cp.c, mpc8260/cpm/dpram.c, mpc8260/include/cpm.h, mpc8260/include/mmu.h, mpc8260/include/mpc8260.h, mpc8260/mmu/mmu.c, mpc8260/timer/timer.c, mpc8xx/clock/clock.c, mpc8xx/console-generic/console-generic.c, mpc8xx/cpm/cp.c, mpc8xx/cpm/dpram.c, mpc8xx/include/cpm.h, mpc8xx/include/mmu.h, mpc8xx/include/mpc8xx.h, mpc8xx/mmu/mmu.c, mpc8xx/timer/timer.c, ppc403/clock/clock.c, ppc403/console/console.c, ppc403/console/console405.c, ppc403/ictrl/ictrl.c, ppc403/ictrl/ictrl.h, ppc403/timer/timer.c, ppc403/tty_drv/tty_drv.c, rtems/powerpc/cache.h, shared/src/cache.c: Convert to using c99 fixed size types.