Changeset df4fcaa in rtems


Ignore:
Timestamp:
Sep 8, 2008, 3:19:23 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
a5b6cdd
Parents:
7fa919fc
Message:

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

  • cpu.c: Remove extraneous spaces.
Location:
cpukit/score/cpu
Files:
10 edited

Legend:

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

    r7fa919fc rdf4fcaa  
     12008-09-08      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * cpu.c: Remove extraneous spaces.
     4
    152008-09-07      Ralf Corsépius <ralf.corsepius@rtems.org>
    26
  • cpukit/score/cpu/arm/cpu.c

    r7fa919fc rdf4fcaa  
    147147)
    148148{
    149     the_context->register_sp = (uint32_t  )stack_base + size ;
    150     the_context->register_lr = (uint32_t  )entry_point;
     149    the_context->register_sp = (uint32_t)stack_base + size ;
     150    the_context->register_lr = (uint32_t)entry_point;
    151151    the_context->register_cpsr = new_level | arm_cpu_mode;
    152152}
     
    262262#define GET_I(x)              ((x & 0x02000000) >> 25)
    263263
    264 #define GET_REG(r, ctx)      (((uint32_t   *)ctx)[r])
    265 #define SET_REG(r, ctx, v)   (((uint32_t   *)ctx)[r] = v)
     264#define GET_REG(r, ctx)      (((uint32_t *)ctx)[r])
     265#define SET_REG(r, ctx, v)   (((uint32_t *)ctx)[r] = v)
    266266#define GET_OFFSET(insn)     (insn & 0xfff)
    267267
  • cpukit/score/cpu/bfin/ChangeLog

    r7fa919fc rdf4fcaa  
     12008-09-08      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * cpu.c: Remove extraneous spaces.
     4
    152008-09-05      Ralf Corsépius <ralf.corsepius@rtems.org>
    26
  • cpukit/score/cpu/bfin/cpu.c

    r7fa919fc rdf4fcaa  
    203203{
    204204    uint32_t     stack_high;  /* highest "stack aligned" address */
    205     stack_high = ((uint32_t  )(stack_base) + size);
     205    stack_high = ((uint32_t)(stack_base) + size);
    206206
    207207    the_context->register_sp = stack_high;
  • cpukit/score/cpu/sh/ChangeLog

    r7fa919fc rdf4fcaa  
     12008-09-08      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * cpu.c: Remove extraneous spaces.
     4
    152008-08-21      Ralf Corsépius <ralf.corsepius@rtems.org>
    26
  • cpukit/score/cpu/sh/cpu.c

    r7fa919fc rdf4fcaa  
    234234  int                   _is_fp )
    235235{
    236   _the_context->r15 = (uint32_t  *) ((uint32_t  ) (_stack_base) + (_size) );
     236  _the_context->r15 = (uint32_t *) ((uint32_t) (_stack_base) + (_size) );
    237237#if defined(__sh1__) || defined(__sh2__) || defined(__SH2E__)
    238238  _the_context->sr  = (_isr << 4) & 0x00f0 ;
     
    240240  _the_context->sr  = SH4_SR_MD | ((_isr << 4) & 0x00f0);
    241241#endif
    242   _the_context->pr  = (uint32_t  *) _entry_point ;
     242  _the_context->pr  = (uint32_t *) _entry_point ;
    243243
    244244
  • cpukit/score/cpu/sparc/ChangeLog

    r7fa919fc rdf4fcaa  
     12008-09-08      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * cpu.c: Remove extraneous spaces.
     4
    152008-09-05      Ralf Corsépius <ralf.corsepius@rtems.org>
    26
  • cpukit/score/cpu/sparc/cpu.c

    r7fa919fc rdf4fcaa  
    187187  *slot = _CPU_Trap_slot_template;
    188188
    189   u32_handler = (uint32_t  ) new_handler;
     189  u32_handler = (uint32_t) new_handler;
    190190
    191191  slot->mov_vector_l3 |= vector;
     
    289289     */
    290290 
    291     stack_high = ((uint32_t  )(stack_base) + size);
     291    stack_high = ((uint32_t)(stack_base) + size);
    292292    stack_high &= ~(CPU_STACK_ALIGNMENT - 1);
    293293 
     
    298298     */
    299299 
    300     the_context->o7    = ((uint32_t  ) entry_point) - 8;
     300    the_context->o7    = ((uint32_t) entry_point) - 8;
    301301    the_context->o6_sp = stack_high - CPU_MINIMUM_STACK_FRAME_SIZE;
    302302    the_context->i6_fp = 0;
  • cpukit/score/cpu/unix/ChangeLog

    r7fa919fc rdf4fcaa  
     12008-09-08      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * cpu.c: Remove extraneous spaces.
     4
    152008-09-05      Ralf Corsépius <ralf.corsepius@rtems.org>
    26
  • cpukit/score/cpu/unix/cpu.c

    r7fa919fc rdf4fcaa  
    539539  uint32_t     _the_size;
    540540
    541   jmp_addr = (uint32_t  ) _entry_point;
     541  jmp_addr = (uint32_t) _entry_point;
    542542
    543543  /*
     
    547547   */
    548548
    549   _stack_low = (uint32_t  )(_stack_base) + CPU_STACK_ALIGNMENT - 1;
     549  _stack_low = (uint32_t)(_stack_base) + CPU_STACK_ALIGNMENT - 1;
    550550  _stack_low &= ~(CPU_STACK_ALIGNMENT - 1);
    551551
    552   _stack_high = (uint32_t  )(_stack_base) + _size;
     552  _stack_high = (uint32_t)(_stack_base) + _size;
    553553  _stack_high &= ~(CPU_STACK_ALIGNMENT - 1);
    554554
     
    569569                         _CPU_Context_Default_with_ISRs_disabled;
    570570
    571   addr = (uint32_t   *)_the_context;
     571  addr = (uint32_t *)_the_context;
    572572
    573573#if defined(__hppa__)
    574574  *(addr + RP_OFF) = jmp_addr;
    575   *(addr + SP_OFF) = (uint32_t  )(_stack_low + CPU_FRAME_SIZE);
     575  *(addr + SP_OFF) = (uint32_t)(_stack_low + CPU_FRAME_SIZE);
    576576
    577577  /*
     
    584584  if (jmp_addr & 0x40000000) {
    585585    jmp_addr &= 0xfffffffc;
    586      *(addr + RP_OFF) = *(uint32_t   *)jmp_addr;
     586     *(addr + RP_OFF) = *(uint32_t *)jmp_addr;
    587587  }
    588588#elif defined(__sparc__)
     
    596596
    597597  *(addr + RP_OFF) = jmp_addr + ADDR_ADJ_OFFSET;
    598   *(addr + SP_OFF) = (uint32_t  )(_stack_high - CPU_FRAME_SIZE);
    599   *(addr + FP_OFF) = (uint32_t  )(_stack_high);
     598  *(addr + SP_OFF) = (uint32_t)(_stack_high - CPU_FRAME_SIZE);
     599  *(addr + FP_OFF) = (uint32_t)(_stack_high);
    600600
    601601#elif defined(__i386__)
     
    894894 */
    895895
    896 void _CPU_Fatal_error(uint32_t   error)
     896void _CPU_Fatal_error(uint32_t  error)
    897897{
    898898  setitimer(ITIMER_REAL, 0, 0);
Note: See TracChangeset for help on using the changeset viewer.