summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/shared/irq (follow)
Commit message (Collapse)AuthorAgeFilesLines
* powerpc/shared/irq/irq_init.c: Fix warningsJoel Sherrill2014-10-191-1/+1
|
* libbsp/powerpc/shared and motorola_powerpc: Fix warningsJoel Sherrill2014-10-191-1/+1
|
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-214-4/+4
|
* Fix C files which had two semi-colons at EOLJoel Sherrill2012-05-311-1/+1
|
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-114-9/+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.
* 2011-07-26 Till Straumann <strauman@slac.stanford.edu>Till Straumann2011-07-271-1/+5
| | | | * shared/irq/openpic_i8259_irq.c: silenced compiler warnings.
* 2011-07-15 Till Straumann <strauman@slac.stanford.edu>Till Straumann2011-07-161-0/+11
| | | | | | | | * shared/bootloader/mm.c, shared/bootloader/pci.c, shared/bootloader/qemu_fakeres.c, shared/bootloader/qemu_fakerom.S, shared/irq/irq.h, shared/motorola/motorola.c, shared/residual/residual.h, shared/startup/bspstart.c, Added 'qemuprep' BSP variant.
* 2011-07-15 Till Straumann <strauman@slac.stanford.edu>Till Straumann2011-07-162-27/+89
| | | | | | | | * shared/irq/init_irq.c, shared/irq/openpic_i8259_irq.c, shared/pci/detect_raven_bridge.c: conditionally compile ISA and PCI-interrupt related stuff only if BSP defines BSP_ISA_IRQ_NUMBER > 0 and/or BSP_PCI_IRQ_NUMBER > 0, respectively.
* 2011-01-28 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-01-283-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-04-28 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-04-281-12/+20
| | | | | | * shared/bootloader/em86.c, shared/bootloader/mm.c, shared/console/polled_io.c, shared/irq/irq_init.c, shared/startup/bspstart.c: Remove warnings.
* 2009-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-12-101-0/+3
| | | | * shared/irq/irq_init.c: Add missing initializer.
* Whitespace removal.Ralf Corsepius2009-11-302-5/+5
|
* remove depratated powerpc exception APIThomas Doerfler2009-10-303-781/+0
|
* Update for exception support changes.Thomas Doerfler2009-10-232-2/+0
|
* 2009-09-11 Till Straumann <strauman@slac.stanford.edu>Till Straumann2009-09-111-0/+2
| | | | | | * irq/openpic_i8259_irq.c: Do not include <bsp/VMEConfig.h> if the bsp.h defines HAVE_NO_VME so that BSPs w/o VME do not have to create a dummy VMEConfig.h header.
* 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-03-121-3/+3
| | | | | | | | | PR 1385/cpukit * shared/irq/irq_asm.S: When the type rtems_boolean was switched to the C99 bool, the size changed from 4 bytes to 1 byte. The interrupt dispatching code accesses two boolean variables for scheduling purposes and the assembly implementations of this code did not get updated.
* 2009-02-19 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-02-191-2/+2
| | | | * shared/irq/irq.c: Spacing.
* 2008-12-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-041-1/+2
| | | | * shared/irq/openpic_i8259_irq.c: Line wrap.
* Convert to "bool".Ralf Corsepius2008-09-061-1/+1
|
* Add missing prototypes.Ralf Corsepius2008-08-201-1/+1
|
* Add missing prototypes.Ralf Corsepius2008-08-201-2/+2
|
* 2007-12-10 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-111-2/+2
| | | | | | * shared/irq/irq_asm.S, shared/vectors/vectors.h: renamed ASM_BOOKE_PIT_VECTOR to ASM_BOOKE_DEC_VECTOR to be closer to 'official' nomenclature.
* 2007-12-10 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-111-0/+17
| | | | | | | | * shared/vectors/README.deprecated, shared/irq/README.deprecated: added READMEs stating that certain files should not be copy/paste/modified when creating new BSPs. New BSPs are encouraged to use the new library under libcpu/powerpc/new-exceptions/bspsupport.
* 2007-12-08 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-091-108/+0
| | | | | * irq_supp.h: was moved from shared/irq to libcpu/powerpc/new-exceptions/bspsupport.
* 2007-12-08 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-081-3/+4
| | | | | | | | | | * 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-08 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-081-26/+26
| | | | | | *shared/irq/irq_supp.h: removed cpp test for BSP_SHARED_HANDLER_SUPPORT; BSPs using irq_supp.h *must* implement shared handlers.
* 2007-12-06 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-061-10/+11
| | | | | | | | | * shared/irq/irq_asm.S, shared/vectors/vectors.S: Replaced use of hardcoded PPC_EXC_MSR_BITS by a run-time method to determine these bits (use settings effective before exception occurred). Replaced use of hardcoded ASM_VECTORS_CRITICAL by 'bsp_raw_vector_is_405_critical' variable.
* 2007-12-05 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-051-4/+3
| | | | | | | * shared/irq/irq_supp.h: removed stray '*/'. Removed inclusion of <stdlib.h> which is unnecessary and broke if_dc in an obscure way (due to malloc/free redefinition in the networking code).
* 2007-12-05 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-051-6/+6
| | | | | | | * shared/irq/irq_asm.S, shared/vectors/vectors.S, shared/vectors/vectors.h, shared/vectors/vectors_init.c: 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-218/+215
| | | | * shared/irq/irq.c: Spacing.
* 2007-12-03 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-12-032-22/+41
| | | | | * shared/irq/irq.c, shared/irq/irq_supp.h: Correct conditionals and includes.
* 2007-12-02 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-024-33/+51
| | | | | | | | | * shared/irq/i8259.c, shared/irq/irq.h, shared/irq/irq_supp.h, shared/irq/openpic_i8259_irq.c: BSP_disable_irq_at_pic(), openpic_disable_irq(), BSP_irq_disable_at_i8259s() now return 0/1 if irq was disabled/enabled prior to disabling. irq_supp.h now exports a inline helper routine for scanning a list of shared handlers; to be used by PIC drivers.
* 2007-12-02 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-021-34/+4
| | | | | | | | | * shared/openpic/openpic.c shared/openpic/openpic.h, shared/irq/irq_init.c: added more parameters to openpic_init() so that more details of the configuration can be overridden/set from the BSP. Moved setup of the EPIC-specific EOI delay from BSP code into openpic_init() using the new 'epic_freq' parameter.
* 2007-12-01 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-011-22/+30
| | | | | | | | | | | | | * shared/irq/openpic_i8259_irq.c: - conditionally define 'irq_mask_or_tbl' only if BSP_PCI_ISA_BRIDGE_IRQ is defined. - use _ISR_Get_level() / _ISR_Set_level() for re-enabling interrupts rather than messing with MSR directly; these macros: o implement compiler memory barrier o will handle multiple levels (e500 'critical' interrupts) if they are ever supported. - decrementer irqs are also shareable - added list traversal.
* 2007-12-01 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-011-0/+13
| | | | | | | | | | * shared/irq/irq_supp.h: Make sure BSP_SHARED_HANDLER_SUPPORT is set. The shared irq manager supports shared interrupts (but requires also that the PIC-driver supports them by traversing the list of shared handlers). Declare C_dispatch_irq_handler() which must be defined (like the other routines declared in this header) by the PIC-driver.
* 2007-11-30 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-11-305-43/+70
| | | | | | | | | | | | | | | * shared/irq/irq.h, shared/irq/irq.c, shared/irq/irq_init.c, shared/irq/irq_supp.h (added): Removed 'is_processor_irq()' from irq.c; the BSP routines BSP_enable_irq_at_pic()/BSP_disable_irq_at_pic() are required to ignore processor irqs anyways. Removed all BSP-defined constants from irq.c. This makes irq.c (almost) binary-compatible among BSPs (ultimate goal is making 'shared' a library). Added a header (irq_supp.h) defining the interface between the generic interrupt manager (irq.c) and the routines it requires to be supplied by the BSP (eventually, these should go into rtems/irq.h).
* 2007-11-30 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-11-302-4/+1
| | | | | | | | * 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-19/+10
| | | | | | | | | * 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-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-09-122-40/+40
| | | | | | | | | | | | PR 1257/bsps * shared/irq/i8259.c, shared/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.
* compilable release of virtex/gen83xx/gen5200 powerpc adaptations. Merged ↵Thomas Doerfler2007-07-101-0/+18
| | | | many different versions of new exception handling code to shared sources.
* merged individual exception handler code to a common one.Thomas Doerfler2007-07-042-6/+49
|
* Use stdint.h fixed-size types.Ralf Corsepius2007-03-311-1/+1
|
* * shared/irq/openpic_i8259_irq.c: fixed type ofTill Straumann2006-08-111-1/+1
| | | | | 'frame' argument to C_dispatch_irq_handler(). It's really a BSP_Exception_frame*, not a CPU_Interrupt_frame*.
* Never allow the FPU to be switched on for integer-only tasksTill Straumann2006-06-191-21/+0
| | | | (new gcc may use FP regs implicitely).
* 2005-12-02 Till Straumann <strauman@slac.stanford.edu>Till Straumann2005-12-021-0/+33
| | | | | | | | | * shared/irq/irq_init.c, shared/openpic/openpic.h shared/openpic/openpic.c: The 8240's EPIC has a 'serial' mode of operation for multiplexing 16 interrupt lines. This introduces a pipeline delay which can cause spurious interrupts unless ending the interrupt cycle (EOI) is delayed accordingly.
* 2005-11-29 Till Straumann <strauman@slac.stanford.edu>Till Straumann2005-11-301-0/+2
| | | | | | * shared/irq/irq_asm.S, shared/vectors/vectors.S: Clear CR[6] before invoking high-level handler to make sure no varargs fn callee assumes there are FP arguments.
* 2005-11-29 Till Straumann <strauman@slac.stanford.edu>Till Straumann2005-11-301-0/+1
| | | | | * shared/irq/irq.c: Fixed incorrect removal of first shared interrupt in chain.
* 2005-11-03 <strauman@slac.stanford.edu>Till Straumann2005-11-045-338/+381
| | | | | | | | | | * shared/irq/openpic_i8259_irq.c: New file. * ChangeLog, Makefile.am, motorola_powerpc/ChangeLog, motorola_powerpc/Makefile.am, shared/irq/irq.c, shared/irq/irq.h, shared/irq/irq_asm.S, shared/irq/irq_init.c: Separated openpic/i8259 specifica from generic irq handling into openpic_i8259_irq.c; added some compilation conditionals to help BSPs without ISA to omit ISA interrupts and calling i8259 code.
* 2005-11-03 <strauman@slac.stanford.edu>Till Straumann2005-11-041-0/+3
| | | | | | | | | * mvme5500/irq/irq.h, psim/irq/irq.h, shared/console/uart.c, shared/irq/irq.h: Renamed BSP_ISA_UART_COMx_IRQ -> BSP_UART_COMx_IRQ (uart driver is ISA independent). Removed ugly #ifdef mvme2100. Added test for BSP_UART_USE_SHARED_IRQS symbol which a BSP can define to request that the serial interrupt be shared.
* 2005-10-06 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2005-10-061-4/+24
| | | | | | | | | PR 833/bsps * irq/irq_asm.S: Currently, all (new exception) BSPs explicitely enable the FPU across the user ISR but DONT save/restore the FPU context. Any use of the FPU fron the user handler (e.g., due to GCC optimizations) result in corruption. The fix results in an exception in such cases (user ISR must explicitely save/enable/restore FPU).