| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
* shared/irq/openpic_i8259_irq.c: silenced compiler warnings.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* shared/bootloader/em86.c, shared/bootloader/mm.c,
shared/console/polled_io.c, shared/irq/irq_init.c,
shared/startup/bspstart.c: Remove warnings.
|
|
|
|
| |
* shared/irq/irq_init.c: Add missing initializer.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
* shared/irq/irq.c: Spacing.
|
|
|
|
| |
* shared/irq/openpic_i8259_irq.c: Line wrap.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* irq_supp.h: was moved from shared/irq to
libcpu/powerpc/new-exceptions/bspsupport.
|
|
|
|
|
|
|
|
|
|
| |
* 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).
|
|
|
|
|
|
| |
*shared/irq/irq_supp.h: removed cpp test for
BSP_SHARED_HANDLER_SUPPORT; BSPs using irq_supp.h
*must* implement shared handlers.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* 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).
|
|
|
|
|
|
|
| |
* 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).
|
|
|
|
| |
* shared/irq/irq.c: Spacing.
|
|
|
|
|
| |
* shared/irq/irq.c, shared/irq/irq_supp.h: Correct conditionals and
includes.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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).
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
many different versions of new exception handling code to shared sources.
|
| |
|
| |
|
|
|
|
|
| |
'frame' argument to C_dispatch_irq_handler(). It's
really a BSP_Exception_frame*, not a CPU_Interrupt_frame*.
|
|
|
|
| |
(new gcc may use FP regs implicitely).
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* shared/irq/irq.c: Fixed incorrect removal of first shared
interrupt in chain.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
| |
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).
|