Ignore:
Timestamp:
Nov 5, 1999, 4:44:02 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
968f7742
Parents:
707f5c7
Message:

This is another pass at making sure that nothing outside the BSP
unnecessarily uses any variables defined by the BSP. On this
sweep, use of BSP_Configuration and Cpu_table was eliminated.

A significant part of this modification was the addition of
macros to access fields in the RTEMS configuration structures.

This is necessary to strengthen the division between the BSP independent
parts of RTEMS and the BSPs themselves. This started after
comments and analysis by Ralf Corsepius <corsepiu@…>.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/powerpc/ppc403/ictrl/ictrl.c

    r707f5c7 r458bd34  
    109109 *  enabled but there is no handler installed. It will clear
    110110 *  the corresponding enable bits and call the spurious handler
    111  *  present in the _CPU_Table, if any.
     111 *  present in the CPU Configuration Table, if any.
    112112 *
    113113 */
     
    126126             vector, cpu_frame->Interrupt.pcoqfront);
    127127#endif
    128       if (_CPU_Table.spurious_handler) {
    129         _CPU_Table.spurious_handler(v + PPC_IRQ_EXT_BASE,cpu_frame);
     128      if (rtems_cpu_configuration_get_spurious_handler()) {
     129        rtems_cpu_configuration_get_spurious_handler()(v + PPC_IRQ_EXT_BASE,cpu_frame);
    130130      }
    131131    }
Note: See TracChangeset for help on using the changeset viewer.