Ignore:
Timestamp:
Nov 14, 2007, 4:26:00 AM (12 years ago)
Author:
Till Straumann <strauman@…>
Branches:
4.10, 4.11, 4.9, master
Children:
61c9801
Parents:
c89a4e4e
Message:

2007-11-13 Till Straumann <strauman@…>

  • rtems/powerpc/registers.h: Added SPR definitions for BookE DECAR, TCR, TSR.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/powerpc/rtems/powerpc/registers.h

    rc89a4e4e r6ae32a26  
    287287#define SR15    15
    288288
     289#define BOOKE_DECAR     54
     290
     291#define BOOKE_TSR       336
     292#define BOOKE_TSR_ENW           (1<<31)
     293#define BOOKE_TSR_WIS           (1<<30)
     294#define BOOKE_TSR_DIS           (1<<27)
     295#define BOOKE_TSR_FIS           (1<<26)
     296
     297#define BOOKE_TCR       340
     298#define BOOKE_TCR_WP(x)         (((x)&3)<<30)
     299#define BOOKE_TCR_WRC(x)        (((x)&3)<<28)
     300#define BOOKE_TCR_WIE           (1<<27)
     301#define BOOKE_TCR_DIE           (1<<26)
     302#define BOOKE_TCR_FP(x)         (((x)&3)<<24)
     303#define BOOKE_TCR_FIE           (1<<23)
     304#define BOOKE_TCR_ARE           (1<<22)
     305#define BOOKE_TCR_WPEXT(x)      (((x)&0xf)<<17)
     306#define BOOKE_TCR_FPEXT(x)      (((x)&0xf)<<13)
     307
    289308#define _CPU_MSR_GET( _msr_value ) \
    290309  do { \
Note: See TracChangeset for help on using the changeset viewer.