Changeset 5ede9706 in rtems


Ignore:
Timestamp:
Aug 1, 2000, 7:38:52 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
499d443
Parents:
47ca0d0a
Message:

If the _VBR is set to 0xFFFFFFFF, then assume the vector jump table is
in ROM.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/score/cpu/m68k/cpu.c

    r47ca0d0a r5ede9706  
    100100  interrupt_table[ vector ] = new_handler;
    101101#else
     102
     103  /*
     104   *  Install handler into RTEMS jump table and if VBR table is in
     105   *  RAM, install the pointer to the appropriate jump table slot.
     106   *  If the VBR table is in ROM, it is the BSP's responsibility to
     107   *  load it appropriately to vector to the RTEMS jump table.
     108   */
     109
    102110  _CPU_ISR_jump_table[vector].isr_handler = (unsigned32) new_handler;
    103   interrupt_table[ vector ] = (proc_ptr) &_CPU_ISR_jump_table[vector];
     111  if ( (unsigned32) interrupt_table != 0xFFFFFFFF )
     112    interrupt_table[ vector ] = (proc_ptr) &_CPU_ISR_jump_table[vector];
    104113#endif /* M68K_HAS_VBR */
    105114}
  • cpukit/score/cpu/m68k/cpu.c

    r47ca0d0a r5ede9706  
    100100  interrupt_table[ vector ] = new_handler;
    101101#else
     102
     103  /*
     104   *  Install handler into RTEMS jump table and if VBR table is in
     105   *  RAM, install the pointer to the appropriate jump table slot.
     106   *  If the VBR table is in ROM, it is the BSP's responsibility to
     107   *  load it appropriately to vector to the RTEMS jump table.
     108   */
     109
    102110  _CPU_ISR_jump_table[vector].isr_handler = (unsigned32) new_handler;
    103   interrupt_table[ vector ] = (proc_ptr) &_CPU_ISR_jump_table[vector];
     111  if ( (unsigned32) interrupt_table != 0xFFFFFFFF )
     112    interrupt_table[ vector ] = (proc_ptr) &_CPU_ISR_jump_table[vector];
    104113#endif /* M68K_HAS_VBR */
    105114}
Note: See TracChangeset for help on using the changeset viewer.