Changeset 7e53d09 in rtems


Ignore:
Timestamp:
Dec 5, 2007, 6:03:57 AM (12 years ago)
Author:
Till Straumann <strauman@…>
Branches:
4.10, 4.11, 4.9, master
Children:
1be7c55
Parents:
99f9b868
Message:

2007-12-04 Till Straumann <strauman@…>

  • irq/irq_init.c: removed unnecessary code (alredy done by shared/irq/irq.c).
Location:
c/src/lib/libbsp/powerpc/psim
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/psim/ChangeLog

    r99f9b868 r7e53d09  
     12007-12-04      Till Straumann <strauman@slac.stanford.edu>
     2
     3        * irq/irq_init.c: removed unnecessary code (alredy
     4        done by shared/irq/irq.c).
     5
    162007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
    27
  • c/src/lib/libbsp/powerpc/psim/irq/irq_init.c

    r99f9b868 r7e53d09  
    2222#include <libcpu/raw_exception.h>
    2323#include <rtems/bspIo.h>
    24 #if 0
    25 #include <bsp/pci.h>
    26 #include <bsp/residual.h>
    27 #include <bsp/openpic.h>
    28 #include <bsp/motorola.h>
    29 #endif
    30 
    31 /*
    32 #define SHOW_ISA_PCI_BRIDGE_SETTINGS
    33 */
    34 
    35 extern unsigned int external_exception_vector_prolog_code_size[];
    36 extern void external_exception_vector_prolog_code();
    37 extern unsigned int decrementer_exception_vector_prolog_code_size[];
    38 extern void decrementer_exception_vector_prolog_code();
    3924
    4025/*
     
    7257void BSP_rtems_irq_mng_init(unsigned cpuId)
    7358{
    74   rtems_raw_except_connect_data vectorDesc;
    7559  int i;
    7660 
     
    10589    }
    10690 
    107   /*
    108    * We must connect the raw irq handler for the two
    109    * expected interrupt sources : decrementer and external interrupts.
    110    */
    111     vectorDesc.exceptIndex      =       ASM_DEC_VECTOR;
    112     vectorDesc.hdl.vector       =       ASM_DEC_VECTOR;
    113     vectorDesc.hdl.raw_hdl      =       decrementer_exception_vector_prolog_code;
    114     vectorDesc.hdl.raw_hdl_size =       (unsigned) decrementer_exception_vector_prolog_code_size;
    115     vectorDesc.on               =       nop_func;
    116     vectorDesc.off              =       nop_func;
    117     vectorDesc.isOn             =       connected;
    118     if (!ppc_set_exception (&vectorDesc)) {
    119       BSP_panic("Unable to initialize RTEMS decrementer raw exception\n");
    120     }
    121     vectorDesc.exceptIndex      =       ASM_EXT_VECTOR;
    122     vectorDesc.hdl.vector       =       ASM_EXT_VECTOR;
    123     vectorDesc.hdl.raw_hdl      =       external_exception_vector_prolog_code;
    124     vectorDesc.hdl.raw_hdl_size =       (unsigned) external_exception_vector_prolog_code_size;
    125     if (!ppc_set_exception (&vectorDesc)) {
    126       BSP_panic("Unable to initialize RTEMS external raw exception\n");
    127     }
    12891#ifdef TRACE_IRQ_INIT 
    12992    printk("RTEMS IRQ management is now operationnal\n");
Note: See TracChangeset for help on using the changeset viewer.