Changeset cb02ead9 in rtems


Ignore:
Timestamp:
Aug 24, 2008, 3:56:46 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
638a9195
Parents:
0817298
Message:

2008-08-24 Joel Sherrill <joel.sherrill@…>

  • shared/irq/irq_init.c: Reverse previous incorrect changes. Correct warnings and ensure BSP still works.
Location:
c/src/lib/libbsp/i386
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/ChangeLog

    r0817298 rcb02ead9  
     12008-08-24      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * shared/irq/irq_init.c: Reverse previous incorrect changes. Correct
     4        warnings and ensure BSP still works.
     5
    162008-08-19      Joel Sherrill <joel.sherrill@OARcorp.com>
    27
  • c/src/lib/libbsp/i386/shared/irq/irq_init.c

    r0817298 rcb02ead9  
    3838extern void rtems_irq_prologue_15(void);
    3939/*
    40  * default idt vector
     40 * default vectors
    4141 */
    4242extern void default_raw_idt_handler(void);
    4343
     44/*
     45 * default raw on/off function
     46 */
     47static void raw_nop_func(const struct __rtems_raw_irq_connect_data__ *unused)
     48{
     49}
     50
     51/*
     52 * default raw isOn function
     53 */
     54static int raw_not_connected(
     55  const struct __rtems_raw_irq_connect_data__ *unused
     56)
     57{
     58  return 0;
     59}
     60
    4461static rtems_raw_irq_connect_data       idtHdl[IDT_SIZE];
     62
     63/*
     64 * default IRQ handler
     65 */
     66static void irq_default_handler(rtems_irq_hdl_param unused)
     67{
     68}
     69
     70/*
     71 * default IRQ on/off function
     72 */
     73static void irq_nop_func(const struct __rtems_irq_connect_data__ *unused)
     74{
     75}
     76
     77/*
     78 * default irq isOn function
     79 */
     80static int irq_not_connected( const struct __rtems_irq_connect_data__ *unused)
     81{
     82  return 0;
     83}
     84
    4585
    4686/*
     
    69109
    70110static rtems_raw_irq_connect_data       defaultRawIrq = {
    71   /* vectorIdex, hdl                     , on   , off , isOn */
    72   0,             default_raw_idt_handler ,NULL  , NULL, NULL
     111  0,                       /* vectorIdex */
     112  default_raw_idt_handler, /* hdl */
     113  raw_nop_func,            /* on */
     114  raw_nop_func,            /* off */
     115  raw_not_connected        /* isOn */
    73116};
    74117
    75118static rtems_irq_connect_data           defaultIrq = {
    76   /* vectorIdex, hdl    , handle, on,   off,  isOn */
    77   0,             NULL   , 0     , NULL, NULL, NULL
     119  0,                     /* vectorIdex */
     120  irq_default_handler,   /* hdl */
     121  0,                     /* handle */
     122  irq_nop_func,          /* on */
     123  irq_nop_func,          /* off */
     124  irq_not_connected      /* isOn */
    78125};
    79126
Note: See TracChangeset for help on using the changeset viewer.