summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/powerpc/ppc403 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsps/powerpc: Move ppc403 clock driver to bspsSebastian Huber2018-03-261-275/+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.
* bsp/powerpc: Move libcpu timer to bspsSebastian Huber2018-03-221-73/+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.
* Remove make preinstallChris Johns2018-01-253-468/+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.
* termios: Synchronize with latest FreeBSD headersKevin Kirspel2017-03-223-3/+3
| | | | | | | | | | | 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.
* bsps/powerpc: Avoid use of CPU_Interrupt_frameSebastian Huber2016-11-181-3/+3
| | | | | | | This type is not relevant for the code since only a pointer is passed around. Update #2809.
* powerpc/haleakala: Add network driverNigel Spon2014-11-212-40/+143
| | | | close 1405
* libcpu/powerpc/ppc403/console/console405.c: Fix warningsJoel Sherrill2014-10-161-18/+6
|
* libcpu/powerpc/ppc403: Fix warningsJoel Sherrill2014-10-133-39/+13
|
* Use correct prototype of benchmark_timer_read()Joel Sherrill2014-09-161-7/+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.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-213-3/+3
|
* termios: Update due to API changesSebastian Huber2013-06-252-4/+10
| | | | | Termios notifies now the driver about an inactive transmit with the length argument set to zero.
* bsps/powerpc: Delete clock_4xx.cSebastian Huber2013-06-241-225/+0
|
* Restored to pre PPC440 changes.Ric Claus2012-12-011-113/+53
| | | | | | | | This file was originally modified by me to support the PPC440 of the virtex5 BSP. I have since discovered that the clock driver built with the MVME3100 BSP works out of the box for the virtex5 and so have switched to using that. This file is reverted to the way it was before I touched it, modulo whitespace, making some functions static (to avoid compiler warnings) and changes by others.
* Fix C files which had two semi-colons at EOLJoel Sherrill2012-05-312-4/+4
|
* Remove CVS Id Strings (manual edits after script)Joel Sherrill2012-05-111-2/+0
| | | | | | These modifications were required by hand after running the script. In some cases, the file names did not match patterns. In others, the format of the file did not match any common patterns.
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-119-20/+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-301-177/+200
| | | | | | | | | | | | | | | | | 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.
* 2011-10-07 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-071-1/+1
| | | | * ppc403/clock/clock.c (ClockOn): Define pvr only for "ifndef ppc405".
* 2011-10-07 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-071-4/+0
| | | | * ppc403/clock/clock.c (Install_clock): Remove unused var "pvr".
* 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-116-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.
* 2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-04-253-139/+43
| | | | | | * ppc403/clock/clock.c, ppc403/console/console405.c, ppc403/tty_drv/tty_drv.c: Remove warnings and simple vectored interrupt support.
* code changes to remove warningsThomas Doerfler2010-03-271-1/+0
|
* Whitespace removal.Ralf Corsepius2009-11-309-245/+245
|
* Update for exception support changes.Thomas Doerfler2009-10-231-2/+0
|
* Convert to "bool".Ralf Corsepius2008-09-066-11/+11
|
* 2008-09-05 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-09-052-58/+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.
* Convert to "bool".Ralf Corsepius2008-09-051-2/+2
|
* Eliminate rtems_boolean.Ralf Corsepius2008-09-022-8/+8
|
* 2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-08-311-8/+3
| | | | | | * 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.
* Add missing prototypes.Ralf Corsepius2008-08-201-2/+2
|
* 2008-07-22 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-07-231-3/+52
| | | | | | * ppc403/clock/clock.c: Added (conditionally compiled) code so that a BSP can choose to hook the timer exception directly rather than going through the interrupt dispatcher.
* added haleakala BSP contributed by Michael HamelThomas Doerfler2008-07-144-61/+578
|
* 2008-07-10 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-07-102-0/+2
| | | | | | | | | | * 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-05-22 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-05-232-2/+2
| | | | | * ppc403/tty_drv/tty_drv.c, ppc403/console/console405.c: ../ictrl/ictrl.h has gone; include ../irq/ictrl.h
* 2008-04-24 Nigel Spon <nigel@adi.co.nz>Joel Sherrill2008-04-241-1/+1
| | | | * ppc403/console/console.c: Correct include path.
* Remove (Abandoned).Ralf Corsepius2008-02-194-1028/+0
|
* 2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-11-281-2/+0
| | | | * ppc403/clock/clock.c: Now compiles and links.
* 2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-11-288-31/+58
| | | | | | | | | | | | | * 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-12 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-09-122-12/+16
| | | | | | | | | | | | | | | | 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.
* added virtex BSP support and some missing files for common PPCThomas Doerfler2007-07-042-0/+387
| | | | exception handling
* merged individual exception handler code to a common one.Thomas Doerfler2007-07-043-50/+179
|
* Remove.Ralf Corsepius2005-05-112-88/+0
|
* 2005-02-15 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-02-151-2/+2
| | | | | * ppc403/console/console405.c: Rename round to spiBaudRound (Conflict with C99). Make spiBaudRound static.
* New header guards.Ralf Corsepius2005-02-131-3/+3
|
* 2005-02-10 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-02-101-92/+1
| | | | | * mpc505/vectors/vectors.S, ppc403/vectors/vectors.S: Remove PPC_ABI_POWEROPEN.
* 2005-02-09 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-02-091-12/+12
| | | | | * mpc505/vectors/vectors.S, ppc403/vectors/vectors.S: Remove PPC_ABI_GCC27.
* 2005-02-09 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-02-091-6/+0
| | | | * ppc403/vectors/vectors.S: Remove XCOFF support.
* 2005-01-07 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-01-071-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.