Changeset 00b9d09 in rtems


Ignore:
Timestamp:
Jun 7, 2005, 4:44:18 PM (15 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
e36865d
Parents:
44b4cf4
Message:

2005-06-07 Brett Swimley <brett.swimley@…>

PR 803/patch

  • rtems/score/cpu.h, rtems/score/m68k.h: Correct definition of _VBR.
Location:
cpukit/score/cpu/m68k
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/m68k/ChangeLog

    r44b4cf4 r00b9d09  
     12005-06-07      Brett Swimley <brett.swimley@aedbozeman.com>
     2
     3        PR 803/patch
     4        * rtems/score/cpu.h, rtems/score/m68k.h: Correct definition of _VBR.
     5
    162005-05-20      Chris Johns <chrisj@rtems.org>
    27
  • cpukit/score/cpu/m68k/rtems/score/cpu.h

    r44b4cf4 r00b9d09  
    225225SCORE_EXTERN void                   *_CPU_Interrupt_stack_high;
    226226
    227 extern uint32_t                     _VBR[];
     227extern void*                     _VBR;
    228228
    229229#if ( M68K_HAS_VBR == 0 )
  • cpukit/score/cpu/m68k/rtems/score/m68k.h

    r44b4cf4 r00b9d09  
    333333
    334334#elif ( M68K_COLDFIRE_ARCH == 1 )
    335 extern uint32_t                     _VBR[];
    336 #define m68k_get_vbr( _vbr ) _vbr = _VBR
    337 
    338 #define m68k_set_vbr( vbr ) \
     335extern void*                     _VBR;
     336#define m68k_get_vbr( _vbr ) _vbr = &_VBR
     337
     338#define m68k_set_vbr( _vbr ) \
    339339  do { \
    340     asm volatile ( "movec   %0,%%vbr " : : "r" (vbr)); \
    341     _VBR = (void *)vbr; \
     340    asm volatile ( "movec   %0,%%vbr " : : "r" (_vbr)); \
     341    _VBR = (void *)_vbr; \
    342342  } while(0)
    343343 
Note: See TracChangeset for help on using the changeset viewer.