summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/psim/irq/irq_init.c
diff options
context:
space:
mode:
authorTill Straumann <strauman@slac.stanford.edu>2007-11-30 19:55:46 +0000
committerTill Straumann <strauman@slac.stanford.edu>2007-11-30 19:55:46 +0000
commit10483cba757a41eb4678a09d1dd6a6330fb20f1c (patch)
tree232c4986533998789e48d20cdb087ded31b280eb /c/src/lib/libbsp/powerpc/psim/irq/irq_init.c
parent2007-11-30 Till Straumann <strauman@slac.stanford.edu> (diff)
downloadrtems-10483cba757a41eb4678a09d1dd6a6330fb20f1c.tar.bz2
2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* irq/irq.h, irq/irq.c (removed), irq/no_pic.c (added), irq/irq_init.c, Makefile.am: The PSIM BSP (currently) has no support for an interrupt controller or interrupts other than the decrementer. Removed all definitions for PCI + ISA interrupts and all unnecessary code (leftovers from copying). Separated PIC-specific bits into 'no_pic.c' which allows us to use 'irq.c' (i.e., more code) from 'shared'.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/powerpc/psim/irq/irq_init.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/c/src/lib/libbsp/powerpc/psim/irq/irq_init.c b/c/src/lib/libbsp/powerpc/psim/irq/irq_init.c
index 9789832750..b61ec6601e 100644
--- a/c/src/lib/libbsp/powerpc/psim/irq/irq_init.c
+++ b/c/src/lib/libbsp/powerpc/psim/irq/irq_init.c
@@ -31,19 +31,10 @@
#include <bsp/motorola.h>
#endif
-
/*
#define SHOW_ISA_PCI_BRIDGE_SETTINGS
*/
-typedef struct {
- unsigned char bus; /* few chance the PCI/ISA bridge is not on first bus but ... */
- unsigned char device;
- unsigned char function;
-} pci_isa_bridge_device;
-
-pci_isa_bridge_device* via_82c586 = 0;
-
extern unsigned int external_exception_vector_prolog_code_size[];
extern void external_exception_vector_prolog_code();
extern unsigned int decrementer_exception_vector_prolog_code_size[];
@@ -70,35 +61,11 @@ static rtems_irq_connect_data defaultIrq = {
};
static rtems_irq_prio irqPrioTable[BSP_IRQ_NUMBER]={
/*
- * actual rpiorities for interrupt :
- * 0 means that only current interrupt is masked
- * 255 means all other interrupts are masked
- */
- /*
- * ISA interrupts.
- * The second entry has a priority of 255 because
- * it is the slave pic entry and is should always remain
- * unmasked.
- */
- 0,0,
- 255,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- /*
- * PCI Interrupts
- */
- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, /* for raven prio 0 means unactive... */
- /*
* Processor exceptions handled as interrupts
*/
0
};
-void VIA_isa_bridge_interrupts_setup(void)
-{
- printk("VIA_isa_bridge_interrupts_setup - Shouldn't get here!\n");
- return;
-}
-
/*
* This code assumes the exceptions management setup has already
* been done. We just need to replace the exceptions that will
@@ -165,4 +132,3 @@ void BSP_rtems_irq_mng_init(unsigned cpuId)
printk("RTEMS IRQ management is now operationnal\n");
#endif
}
-