Changeset 0fe89f6 in rtems for cpukit/score


Ignore:
Timestamp:
May 14, 2002, 6:31:37 PM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
cbc264e6
Parents:
bd9265d
Message:

2002-05-01 Ralf Corsepius <corsepiu@…>

  • rtems/score/ppc.h: Remove PPC_DEBUG_MODEL.
Location:
cpukit/score/cpu/powerpc
Files:
2 edited

Legend:

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

    rbd9265d r0fe89f6  
     12002-05-01      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * rtems/score/ppc.h: Remove PPC_DEBUG_MODEL.
     4
    152001-05-14      Till Straumann <strauman@slac.stanford.edu>
    26
  • cpukit/score/cpu/powerpc/rtems/score/ppc.h

    rbd9265d r0fe89f6  
    6565 *  unless specifically set by the model definition:
    6666 *
    67  *    + PPC_DEBUG_MODEL          - PPC_DEBUG_MODEL_STANDARD
    6867 *    + PPC_INTERRUPT_MAX        - 16
    6968 *    + PPC_CACHE_ALIGNMENT      - 32
     
    7776 
    7877/*
    79  *  Define the debugging assistance models found in the PPC family.
    80  *
    81  *  Standard:         single step and branch trace
    82  *  Single Step Only: single step only
    83  *  IBM 4xx:          debug exception
    84  */
    85 
    86 #define PPC_DEBUG_MODEL_STANDARD         1
    87 #define PPC_DEBUG_MODEL_SINGLE_STEP_ONLY 2
    88 #define PPC_DEBUG_MODEL_IBM4xx           3
    89 
    90 /*
    9178 *  Define the low power mode models
    9279 *
     
    126113#define PPC_D_CACHE             1024
    127114
    128 #define PPC_DEBUG_MODEL          PPC_DEBUG_MODEL_IBM4xx
    129115#define PPC_HAS_EXCEPTION_PREFIX 0
    130116#define PPC_HAS_EVPR             1
     
    169155#define PPC_I_CACHE             0
    170156#define PPC_D_CACHE             32768
    171 
    172 #define PPC_DEBUG_MODEL PPC_DEBUG_MODEL_SINGLE_STEP_ONLY
    173157
    174158#elif defined(ppc602)
     
    371355#ifndef PPC_ASM
    372356#define PPC_ASM PPC_ASM_ELF
    373 #endif
    374 
    375 /*
    376  *  Use the default debug scheme defined in the architectural specification
    377  *  if another model has not been specified.
    378  */
    379 
    380 #ifndef PPC_DEBUG_MODEL
    381 #define PPC_DEBUG_MODEL PPC_DEBUG_MODEL_STANDARD
    382357#endif
    383358
     
    732707#endif
    733708
    734 /*
    735  *  Interrupt/exception MSR bits set as defined on p. 2-20 in "The Programming
    736  *  Environments" and the manuals for various PPC models.
    737  */
    738 
    739 #if (PPC_DEBUG_MODEL == PPC_DEBUG_MODEL_STANDARD)
    740 #define PPC_MSR_DE       0x000000000 /* bit 22 - debug exception enable */
    741 #define PPC_MSR_BE       0x000000200 /* bit 22 - branch trace enable */
    742 #define PPC_MSR_SE       0x000000400 /* bit 21 - single step trace enable */
    743 #elif (PPC_DEBUG_MODEL == PPC_DEBUG_MODEL_SINGLE_STEP_ONLY)
    744 #define PPC_MSR_DE       0x000000000 /* bit 22 - debug exception enable */
    745 #define PPC_MSR_BE       0x000000200 /* bit 22 - branch trace enable */
    746 #define PPC_MSR_SE       0x000000000 /* bit 21 - single step trace enable */
    747 #elif (PPC_DEBUG_MODEL == PPC_DEBUG_MODEL_IBM4xx)
    748 #define PPC_MSR_DE       0x000000200 /* bit 22 - debug exception enable */
    749 #define PPC_MSR_BE       0x000000000 /* bit 22 - branch trace enable */
    750 #define PPC_MSR_SE       0x000000000 /* bit 21 - single step trace enable */
    751 #else
    752 #error "MSR constants -- unknown PPC_DEBUG_MODEL!!"
    753 #endif
    754 
    755709#define PPC_MSR_ME       0x000001000 /* bit 19 - machine check enable */
    756710#define PPC_MSR_EE       0x000008000 /* bit 16 - external interrupt enable */
Note: See TracChangeset for help on using the changeset viewer.