Changeset 49c2f589 in rtems for c


Ignore:
Timestamp:
Aug 27, 1997, 8:31:34 PM (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
f80faeb
Parents:
2a1a547
Message:

Modified to have correct address for vector table on multiple models.

Location:
c/src/lib/libbsp/m68k/mvme162/startup
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/mvme162/startup/bspclean.c

    r2a1a547 r49c2f589  
    3333
    3434  lcsr->intr_ena = 0;               /* disable interrupts */
     35#if defined(mvme162lx)
     36  m68k_set_vbr(0x00000000);         /* restore 162Bug vectors */
     37#else
    3538  m68k_set_vbr(0xFFE00000);         /* restore 162Bug vectors */
     39#endif
     40
    3641  asm volatile( "trap   #15"  );    /* trap to 162Bug */
    3742  asm volatile( ".short 0x63" );    /* return to 162Bug (.RETURN) */
  • c/src/lib/libbsp/m68k/mvme162/startup/bspstart.c

    r2a1a547 r49c2f589  
    165165  /*
    166166   *  162Bug Vectors are at 0xFFE00000
    167    */
    168 
     167   *  162Bug Vectors on LX are at 0x00000000
     168   */
     169
     170#if defined(mvme162lx)
     171  monitors_vector_table = (m68k_isr_entry *)0x00000000;
     172#else
    169173  monitors_vector_table = (m68k_isr_entry *)0xFFE00000;
     174#endif
    170175
    171176  m68k_set_vbr( monitors_vector_table );
Note: See TracChangeset for help on using the changeset viewer.