summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/gen5200/irq (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2011-06-17 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-06-171-153/+86
| | | | | | | | | | | | | | | | | | | | | * Makefile.am: Added custom memcpy(). Update for network sources. * configure.ac: Enable interrupt driven Termios for all BSPs. * ide/pcmcia_ide.c: Disable broken DMA support. * include/bsp.h: Fixed NEED_LOW_LEVEL_INIT define. Set default console baud to 115200. * include/irq.h, irq/irq.c: Fixed interrupt handling to avoid the following problems: 1. multiple invokation of peripheral interrupt handlers, 2. missing synchronization after mask write and enabling of external exceptions, and 3. logic overhead. * network_5200/network.c: Added MII interface. Fixed controller restart after FIFO errors. Performance improvements. * start/start.S: Fixed ROM startup. Initialize XLB arbiter for all BSPs. * startup/bspstart.c: Special intialization for MPC5200B (B variant). Install standard alignment handler. * startup/cpuinit.c, startup/linkcmds.brs5l, startup/linkcmds.dp2, startup/linkcmds.icecube, startup/linkcmds.pm520_cr825, startup/linkcmds.pm520_ze30: Avoid accesses outside the RAM area.
* 2011-01-28 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-01-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * beatnik/include/bsp.h, beatnik/irq/irq.h, beatnik/pci/gt_pci_init.c, ep1a/console/polled_io.c, ep1a/irq/openpic_xxx_irq.c, gen5200/include/irq.h, gen5200/irq/irq.c, gen5200/startup/bspstart.c, haleakala/irq/irq.c, mbx8xx/irq/irq.c, mbx8xx/irq/irq.h, motorola_powerpc/include/bsp.h, mpc8260ads/irq/irq.c, mpc8260ads/irq/irq.h, mvme3100/include/bsp.h, mvme3100/irq/irq.h, mvme3100/start/start.S, mvme5500/include/bsp.h, mvme5500/irq/irq.h, psim/include/bsp.h, psim/include/coverhd.h, psim/irq/irq.h, psim/shmsupp/addrconv.c, psim/shmsupp/getcfg.c, psim/startup/linkcmds, psim/tools/psim-gdb-top.in, psim/tools/psim-top.in, psim/tools/runtest-top.in, qemuppc/irq/irq.h, score603e/irq/irq.c, shared/bootloader/bootldr.h, shared/bootloader/em86.c, shared/bootloader/em86real.S, shared/bootloader/exception.S, shared/bootloader/head.S, shared/bootloader/lib.c, shared/bootloader/misc.c, shared/bootloader/mm.c, shared/bootloader/pci.c, shared/console/console.c, shared/console/consoleIo.h, shared/console/inch.c, shared/console/keyboard.h, shared/console/polled_io.c, shared/irq/i8259.c, shared/irq/irq.h, shared/irq/openpic_i8259_irq.c, shared/motorola/motorola.c, shared/motorola/motorola.h, shared/openpic/openpic.c, shared/openpic/openpic.h, shared/pci/pci.c, shared/residual/residual.c, shared/start/start.S, ss555/irq/irq.h: Fix typo where license said found in found in.
* 2010-11-12 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-11-151-206/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * make/custom/dp2.cfg, startup/linkcmds.dp2: New files. * Makefile.am, preinstall.am: Reflect change above. Install <bsp/utility.h>. Install BestComm header files. * configure.ac: Changed BSP options. * include/mpc5200.h: Added module structures and register defines. * bestcomm/bestcomm_api.c, bestcomm/bestcomm_api.h, bestcomm/bestcomm_glue.c, bestcomm/bestcomm_glue.h, bestcomm/bestcomm_priv.h, bestcomm/load_task.c, bestcomm/tasksetup_bdtable.c, bestcomm/task_api/bestcomm_cntrl.h: C++ compatibility. Use special heap to manage the SRAM region. Use interrupt extension API. Fixed warnings. * console/console.c: Fixed console registration. Fixed warnings. Added GPS module registration. * ide/pcmcia_ide.h: Fixed clock value macros. * ide/pcmcia_ide.c: Update for BestComm API changes. DP2 specific initialization. Removed zero loop in PIO receive function. * include/bsp.h: Added DP2 variant. Removed obsolete defines. * include/mscan-base.h, mscan/mscan-base.c: Use volatile qualifier. Format. * irq/irq.c: Fixed peripheral interrupt handling. * network_5200/network.c: Update for BestComm API changes. * start/start.S: U-Boot fixes. * startup/cpuinit.c: Enable write-back cache strategy. Added special memory regions. * startup/linkcmds.brs5l: Fixed memory size.
* removed warningsThomas Doerfler2010-03-271-1/+3
|
* Update for exception support changes.Thomas Doerfler2009-10-231-3/+1
|
* update to current PPC exception and memory map structureThomas Doerfler2008-09-033-1123/+0
|
* Converted to use sharedThomas Doerfler2008-09-031-555/+423
| | | | exception and interrupt code.
* Add missing prototypes.Ralf Corsepius2008-08-201-6/+6
|
* 2008-06-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-06-101-1/+1
| | | | * irq/irq.c: Add units.
* 2008-06-06 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-06-062-25/+36
| | | | | | * include/bsp.h, irq/irq.c, irq/irq_init.c, startup/bspclean.c, startup/bspstart.c: Slightly better names for IRQ benchmarking. Make sure the routines are present all the time.
* 2008-01-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-01-111-5/+26
| | | | | | | | | | | * configure.ac, irq/irq.c, startup/bspclean.c, startup/bspstart.c: Add ALLOW_IRQ_NESTING option. The MPC5200 has a settle time after acknowledging the IRQs and currently the BSP does not account for that. After acknowledging an interrupt, it currently gets a second spurious IRQ a significant percentage of the time. Rename to BENCHMARK_IRQ_PROCESSING and get it working again. Under one test load, not nesting interrupts resulted in a 50% reduction in the number of IRQs and an ~30% reduction in time spent in IRQs.
* 2007-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-12-141-1/+11
| | | | | | * irq/irq.c, startup/bspclean.c, startup/bspstart.c: I give. The code is now in conditionally so I can avoid putting it in accidently again.
* 2007-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-12-141-0/+52
| | | | | * acinclude.m4, gen5200/irq/irq.c, gen5200/startup/bspclean.c: Add mvme3100.
* 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-111-52/+0
| | | | * irq/irq.c: Revert accidentally committed test code.
* 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-111-0/+52
| | | | | | | * bsp_specs, clock/clock.c, include/bsp.h, irq/irq.c, startup/bspclean.c, startup/bspstart.c: Eliminate copies of the Configuration Table. Use the RTEMS provided accessor macros to obtain configuration fields.
* 2007-12-08 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-081-2/+3
| | | | | | | | | | * ep1a/irq/irq.c, gen5200/irq/irq.c, gen83xx/irq/irq_init.c, mbx8xx/irq/irq.c, mpc8260ads/irq/irq.c, mvme5500/irq/irq.c, psim/irq/no_pic.c, score603e/irq/irq.c, shared/irq/irq_supp.h, shared/irq/openpic_i8259_irq.c, virtex/irq/irq_init.c: let C_dispatch_irq_handler() return zero to indicate to low-level exception handling code that the exception was handled (not used yet).
* 2007-12-05 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-053-4/+4
| | | | | | * irq/irq_init.c, irq_asm.S: Converted exception vector names to new ones (qualified by <cpu_type> if non-std ppc exceptions).
* 2007-12-03 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-12-031-495/+366
| | | | * irq/irq.c: Spacing.
* 2007-11-30 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-11-302-8/+3
| | | | | | | | * irq/irq.h, irq/irq_init.c: Removed the definition of ASM_IRQ_VECTOR_BASE; this symbol was only use to initialize the irqBase member of the rtems_irq_global_settings struct. However, irqBase is an rtems_irq_symbolic_name, so using BSP_LOWEST_OFFSET is more appropriate.
* 2007-11-06 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-11-061-6/+12
| | | | | | | | | * ep1a/irq/irq.c, gen5200/irq/irq.c, mbx8xx/irq/irq.c, mpc8260ads/irq/irq.c, mvme5500/irq/irq.c, psim/irq/irq.c, score603e/irq/irq.c, shared/irq/irq.c: test for non-NULL-ness before calling 'on'/'off' methods so that users don't have to provide no-ops if they don't want this feature.
* 2007-10-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-10-261-4/+4
| | | | * irq/irq.h: Fixed typos.
* 2007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-09-121-12/+12
| | | | | | | | | | | PR 1257/bsps * irq/irq.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-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-09-051-93/+97
| | | | * irq/irq.h: Reformat -- make things line up.
* fixed some problems with shared PPC exception handling codeThomas Doerfler2007-07-051-3/+3
|
* 2007-03-12 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2007-03-124-4/+4
| | | | | | | | | * clock/clock.c, console/console.c, ide/pcmcia_ide.c, irq/irq.c, irq/irq.h, irq/irq_asm.S, irq/irq_init.c, nvram/nvram.c, nvram/nvram.h, slicetimer/slicetimer.c, startup/bspstart.c, vectors/vectors.h, vectors/vectors_init.c: Correct license URL and/or fix mistake in copyright notice. Both of these mistakes appear to be from code submitted after these changes were made previously.
* Convert to utf-8.Ralf Corsepius2006-10-174-4/+4
|
* Cleanup CVS data.Ralf Corsepius2006-01-014-98/+1
|
* include <libcpu/raw_exceptions.h>.Ralf Corsepius2005-12-312-4/+8
|
* Misc include file fixes.Ralf Corsepius2005-12-312-6/+11
|
* New (CVS import Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>'sRalf Corsepius2005-12-314-0/+2324
submission).