Changeset 4bbf70bd in rtems


Ignore:
Timestamp:
Sep 19, 2008, 3:52:09 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
af70ed5
Parents:
c01e72b
Message:

2008-09-19 Joel Sherrill <joel.sherrill@…>

  • rtems/score/m68k.h: Move set cacr, acr0, acr1 routines here to get them out of a BSP.
Location:
cpukit/score/cpu/m68k
Files:
2 edited

Legend:

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

    rc01e72b r4bbf70bd  
     12008-09-19      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * rtems/score/m68k.h: Move set cacr, acr0, acr1 routines here to get
     4        them out of a BSP.
     5
    162008-09-11      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • cpukit/score/cpu/m68k/rtems/score/m68k.h

    rc01e72b r4bbf70bd  
    415415
    416416/*
     417 *  Access Control Registers
     418 */
     419#define m68k_set_cacr(_cacr) asm volatile ("movec %0,%%cacr" : : "d" (_cacr))
     420#define m68k_set_acr0(_acr0) asm volatile ("movec %0,%%acr0" : : "d" (_acr0))
     421#define m68k_set_acr1(_acr1) asm volatile ("movec %0,%%acr1" : : "d" (_acr1))
     422
     423/*
    417424 *  The following routine swaps the endian format of an unsigned int.
    418425 *  It must be static because it is referenced indirectly.
Note: See TracChangeset for help on using the changeset viewer.