Changeset afb60eb in rtems


Ignore:
Timestamp:
Jun 27, 2018, 12:46:06 PM (11 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
694e79a0
Parents:
e43994d
git-author:
Sebastian Huber <sebastian.huber@…> (06/27/18 12:46:06)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/29/18 08:04:38)
Message:

riscv: Remove dead code

Update #3433.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/riscv/include/rtems/score/cpu.h

    re43994d rafb60eb  
    7777#define CPU_STACK_MINIMUM_SIZE 4096
    7878
    79 #define CPU_EXCEPTION_FRAME_SIZE 128
    80 
    8179#elif __riscv_xlen == 64
    8280
     
    8482
    8583#define CPU_STACK_MINIMUM_SIZE 8192
    86 
    87 #define CPU_EXCEPTION_FRAME_SIZE 256
    8884
    8985#endif /* __riscv_xlen */
     
    220216extern void _CPU_Fatal_halt(uint32_t source, uint32_t error) RTEMS_NO_RETURN;
    221217
    222 /* end of Fatal Error manager macros */
    223 
    224218#define CPU_USE_GENERIC_BITFIELD_CODE TRUE
     219
    225220#define CPU_USE_GENERIC_BITFIELD_DATA TRUE
    226221
    227 #if (CPU_USE_GENERIC_BITFIELD_CODE == FALSE)
    228 
    229 #define _CPU_Bitfield_Find_first_bit( _value, _output ) \
    230   { \
    231     (_output) = 0;   /* do something to prevent warnings */ \
    232   }
    233 #endif
    234 
    235 /* end of Bitfield handler macros */
    236 
    237 /*
    238  *  This routine builds the mask which corresponds to the bit fields
    239  *  as searched by _CPU_Bitfield_Find_first_bit().  See the discussion
    240  *  for that routine.
    241  *
    242  */
    243 
    244 #if (CPU_USE_GENERIC_BITFIELD_CODE == FALSE)
    245 
    246 #define _CPU_Priority_Mask( _bit_number ) \
    247     (1 << _bit_number)
    248 
    249 #endif
    250 
    251 #if (CPU_USE_GENERIC_BITFIELD_CODE == FALSE)
    252 
    253 #define _CPU_Priority_bits_index( _priority ) \
    254   (_priority)
    255 
    256 #endif
    257 
    258222#define CPU_MAXIMUM_PROCESSORS 32
    259 
    260 #define CPU_TIMESTAMP_USE_STRUCT_TIMESPEC FALSE
    261 #define CPU_TIMESTAMP_USE_INT64 TRUE
    262 #define CPU_TIMESTAMP_USE_INT64_INLINE FALSE
    263223
    264224typedef struct {
Note: See TracChangeset for help on using the changeset viewer.